GlobalSystemMediaTransportControlsSession.TryChangeAutoRepeatModeAsync 方法

定义

尝试更改会话上的 MediaPlaybackAutoRepeatMode。

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)

参数

requestedAutoRepeatMode
MediaPlaybackAutoRepeatMode

请求的自动重复模式。

返回

Bool 指示成功。

属性

Windows 要求

应用功能
globalMediaControl

适用于