GlobalSystemMediaTransportControlsSession.TryChangeAutoRepeatModeAsync 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 the MediaPlaybackAutoRepeatMode on the session.
public:
virtual IAsyncOperation<bool> ^ TryChangeAutoRepeatModeAsync(MediaPlaybackAutoRepeatMode requestedAutoRepeatMode) = TryChangeAutoRepeatModeAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<bool> TryChangeAutoRepeatModeAsync(MediaPlaybackAutoRepeatMode const& requestedAutoRepeatMode);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<bool> TryChangeAutoRepeatModeAsync(MediaPlaybackAutoRepeatMode requestedAutoRepeatMode);
function tryChangeAutoRepeatModeAsync(requestedAutoRepeatMode)
Public Function TryChangeAutoRepeatModeAsync (requestedAutoRepeatMode As MediaPlaybackAutoRepeatMode) As IAsyncOperation(Of Boolean)
Parameters
- requestedAutoRepeatMode
- MediaPlaybackAutoRepeatMode
The requested auto repeat mode.
Returns
Bool indicating success.
- Attributes
Windows requirements
App capabilities |
globalMediaControl
|