MediaPlaybackItemErrorCode MediaPlaybackItemErrorCode MediaPlaybackItemErrorCode MediaPlaybackItemErrorCode MediaPlaybackItemErrorCode Enum

Definition

Specifies the type of error that occurred while opening a MediaPlaybackItem.

public : enum class MediaPlaybackItemErrorCode
enum class winrt::Windows::Media::Playback::MediaPlaybackItemErrorCode : int32_t
public enum MediaPlaybackItemErrorCode
Public Enum MediaPlaybackItemErrorCode
var value = Windows.Media.Playback.MediaPlaybackItemErrorCode.aborted;
Attributes

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Fields

Aborted Aborted Aborted Aborted Aborted 1

Opening of the playback item was aborted.

DecodeError DecodeError DecodeError DecodeError DecodeError 3

An error occurred while decoding the playback item.

EncryptionError EncryptionError EncryptionError EncryptionError EncryptionError 5

An error occurred related to the playback item's encryption.

NetworkError NetworkError NetworkError NetworkError NetworkError 2

A network error occurred while opening the playback item.

None None None None None 0

No error code.

SourceNotSupportedError SourceNotSupportedError SourceNotSupportedError SourceNotSupportedError SourceNotSupportedError 4

The media source of the playback item is not supported.