MediaPlaybackState Enum
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.
Specifies the playback state of a MediaPlaybackSession.
public enum class MediaPlaybackState
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 196608)]
enum class MediaPlaybackState
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 196608)]
public enum MediaPlaybackState
var value = Windows.Media.Playback.MediaPlaybackState.none
Public Enum MediaPlaybackState
- Inheritance
-
MediaPlaybackState
- Attributes
Windows requirements
Device family |
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v3.0)
|
Fields
Name | Value | Description |
---|---|---|
None | 0 | No current state. |
Opening | 1 | A media item is opening. |
Buffering | 2 | A media item is buffering. |
Playing | 3 | A media item is playing. |
Paused | 4 | Playback of a media item is paused. |