Windows.Media.Playback.MediaPlaybackSession.PlaybackRate

September 11, 2018 ยท View on GitHub

-description

Gets or sets a value representing the current playback rate for the MediaPlaybackSession.

-property-value

The current playback rate for the MediaPlaybackSession.

-remarks

This value is expressed as a ratio of the desired rate to the normal playback rate. For example, a value of 1.5 sets the playback rate to 150% of the original.

The playback rate can't be set to a value greater than 1.0 while a MediaPlaybackItem with CanSkip set to false is playing. Attempting to do so will cause an exception to be thrown.

-examples

-see-also