MediaPlayerState MediaPlayerState MediaPlayerState MediaPlayerState MediaPlayerState Enum

Definition

Indicates the possible states that the player can be in.

Note

MediaPlayerState may be altered or unavailable after Windows 10, version 1607. Use MediaPlaybackState instead.

public : enum class MediaPlayerState
enum class winrt::Windows::Media::Playback::MediaPlayerState : int32_t
public enum MediaPlayerState
Public Enum MediaPlayerState
var value = Windows.Media.Playback.MediaPlayerState.buffering;
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Fields

Buffering Buffering Buffering Buffering Buffering 2

The media player is buffering content.

Closed Closed Closed Closed Closed 0

The media player is closed.

Opening Opening Opening Opening Opening 1

The media player is opening.

Paused Paused Paused Paused Paused 4

The media player is paused.

Playing Playing Playing Playing Playing 3

The media player is playing.

Stopped Stopped Stopped Stopped Stopped 5

Not implemented.