Share via


GlobalSystemMediaTransportControlsSession.TryChangePlaybackRateAsync Method

Definition

Attempts to change the playback rate on the session to the requested value.

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)

Parameters

requestedPlaybackRate
Double

double

The requested playback rate to change to

Returns

True indicates success; False otherwise

Attributes

Windows requirements

App capabilities
globalMediaControl

Applies to