Share via


GlobalSystemMediaTransportControlsSession.TryChangeAutoRepeatModeAsync Method

Definition

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

Applies to