GlobalSystemMediaTransportControlsSession.TryChangeShuffleActiveAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
|