Dela via


MediaPlaybackType Enum

Definition

Defines values for the types of media playback.

public enum class MediaPlaybackType
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class MediaPlaybackType
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum MediaPlaybackType
var value = Windows.Media.MediaPlaybackType.unknown
Public Enum MediaPlaybackType
Inheritance
MediaPlaybackType
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
Unknown 0

The media type is unknown.

Music 1

The media type is audio music.

Video 2

The media type is video.

Image 3

The media type is an image.

Applies to

See also