GlobalSystemMediaTransportControlsSession.TryChangePlaybackRateAsync 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 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
|