GlobalSystemMediaTransportControlsSession.TryChangeShuffleActiveAsync Method

Definition

Attempts to change whether the session is actively shuffling or not.

public:
 virtual IAsyncOperation<bool> ^ TryChangeShuffleActiveAsync(bool requestedShuffleState) = TryChangeShuffleActiveAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<bool> TryChangeShuffleActiveAsync(bool const& requestedShuffleState);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<bool> TryChangeShuffleActiveAsync(bool requestedShuffleState);
function tryChangeShuffleActiveAsync(requestedShuffleState)
Public Function TryChangeShuffleActiveAsync (requestedShuffleState As Boolean) As IAsyncOperation(Of Boolean)

Parameters

requestedShuffleState
Boolean

bool

The requested shuffle state to switch to.

Returns

True indicates success; False otherwise

Attributes

Windows requirements

App capabilities
globalMediaControl

Applies to