GlobalSystemMediaTransportControlsSession.TryChangePlaybackRateAsync 方法

定义

尝试将会话上的播放速率更改为请求的值。

public:
 virtual IAsyncOperation<bool> ^ TryChangePlaybackRateAsync(double requestedPlaybackRate) = TryChangePlaybackRateAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<bool> TryChangePlaybackRateAsync(double const& requestedPlaybackRate);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<bool> TryChangePlaybackRateAsync(double requestedPlaybackRate);
function tryChangePlaybackRateAsync(requestedPlaybackRate)
Public Function TryChangePlaybackRateAsync (requestedPlaybackRate As Double) As IAsyncOperation(Of Boolean)

参数

requestedPlaybackRate
Double

double

要更改为 的请求播放速率

返回

True 表示成功;否则为 False

属性

Windows 要求

应用功能
globalMediaControl

适用于