Windows.Media.Playback.MediaPlaybackSession

September 2, 2020 ยท View on GitHub

-description

Provides information about the state of the current playback session of a MediaPlayer and provides events for responding to changes in playback session state.

-remarks

Get an instance of this class by accessing the PlaybackSession property of a MediaPlayer or the PlaybackSession property of a MediaBreakManager.

For how-to guidance for working with MediaPlayer and playback sessions, see Play audio and video with MediaPlayer.

Version history

Windows versionSDK versionValue added
170315063BufferedRangesChanged
170315063GetBufferedRanges
170315063GetPlayedRanges
170315063GetSeekableRanges
170315063IsMirroring
170315063IsSupportedPlaybackRateRange
170315063PlayedRangesChanged
170315063SeekableRangesChanged
170315063SphericalVideoProjection
170315063SupportedPlaybackRatesChanged
180317134GetOutputDegradationPolicyState
180317134PlaybackRotation

-examples

-see-also

Play audio and video with MediaPlayer