Dela via


MediaPlaybackStatus Enum

Definition

Defines values for the status of the media playback.

public enum class MediaPlaybackStatus
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class MediaPlaybackStatus
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum MediaPlaybackStatus
var value = Windows.Media.MediaPlaybackStatus.closed
Public Enum MediaPlaybackStatus
Inheritance
MediaPlaybackStatus
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Fields

Name Value Description
Closed 0

The media is closed.

Changing 1

The media is changing.

Stopped 2

The media is stopped.

Playing 3

The media is playing.

Paused 4

The media is paused.

Applies to

See also