# WARNING: Please don't edit this file. It was generated by Python/WinRT v3.2.1

import enum

import winrt.runtime._internals
import winrt.system
from winrt._winrt_windows_media_playback import (
    BackgroundMediaPlayer,
    CurrentMediaPlaybackItemChangedEventArgs,
    MediaBreak,
    MediaBreakEndedEventArgs,
    MediaBreakManager,
    MediaBreakSchedule,
    MediaBreakSeekedOverEventArgs,
    MediaBreakSkippedEventArgs,
    MediaBreakStartedEventArgs,
    MediaItemDisplayProperties,
    MediaPlaybackAudioTrackList,
    MediaPlaybackCommandManager,
    MediaPlaybackCommandManagerAutoRepeatModeReceivedEventArgs,
    MediaPlaybackCommandManagerCommandBehavior,
    MediaPlaybackCommandManagerFastForwardReceivedEventArgs,
    MediaPlaybackCommandManagerNextReceivedEventArgs,
    MediaPlaybackCommandManagerPauseReceivedEventArgs,
    MediaPlaybackCommandManagerPlayReceivedEventArgs,
    MediaPlaybackCommandManagerPositionReceivedEventArgs,
    MediaPlaybackCommandManagerPreviousReceivedEventArgs,
    MediaPlaybackCommandManagerRateReceivedEventArgs,
    MediaPlaybackCommandManagerRewindReceivedEventArgs,
    MediaPlaybackCommandManagerShuffleReceivedEventArgs,
    MediaPlaybackItem,
    MediaPlaybackItemError,
    MediaPlaybackItemFailedEventArgs,
    MediaPlaybackItemOpenedEventArgs,
    MediaPlaybackList,
    MediaPlaybackSession,
    MediaPlaybackSessionBufferingStartedEventArgs,
    MediaPlaybackSessionOutputDegradationPolicyState,
    MediaPlaybackSphericalVideoProjection,
    MediaPlaybackTimedMetadataTrackList,
    MediaPlaybackVideoTrackList,
    MediaPlayer,
    MediaPlayerDataReceivedEventArgs,
    MediaPlayerFailedEventArgs,
    MediaPlayerRateChangedEventArgs,
    MediaPlayerSurface,
    PlaybackMediaMarker,
    PlaybackMediaMarkerReachedEventArgs,
    PlaybackMediaMarkerSequence,
    TimedMetadataPresentationModeChangedEventArgs,
    _IMediaEnginePlaybackSource,
    IMediaEnginePlaybackSource,
    _IMediaPlaybackSource,
    IMediaPlaybackSource,
)

__all__ = [
    "AutoLoadedDisplayPropertyKind",
    "FailedMediaStreamKind",
    "MediaBreakInsertionMethod",
    "MediaCommandEnablingRule",
    "MediaPlaybackItemChangedReason",
    "MediaPlaybackItemErrorCode",
    "MediaPlaybackSessionVideoConstrictionReason",
    "MediaPlaybackState",
    "MediaPlayerAudioCategory",
    "MediaPlayerAudioDeviceType",
    "MediaPlayerError",
    "MediaPlayerState",
    "SphericalVideoProjectionMode",
    "StereoscopicVideoRenderMode",
    "TimedMetadataTrackPresentationMode",
    "BackgroundMediaPlayer",
    "CurrentMediaPlaybackItemChangedEventArgs",
    "MediaBreak",
    "MediaBreakEndedEventArgs",
    "MediaBreakManager",
    "MediaBreakSchedule",
    "MediaBreakSeekedOverEventArgs",
    "MediaBreakSkippedEventArgs",
    "MediaBreakStartedEventArgs",
    "MediaItemDisplayProperties",
    "MediaPlaybackAudioTrackList",
    "MediaPlaybackCommandManager",
    "MediaPlaybackCommandManagerAutoRepeatModeReceivedEventArgs",
    "MediaPlaybackCommandManagerCommandBehavior",
    "MediaPlaybackCommandManagerFastForwardReceivedEventArgs",
    "MediaPlaybackCommandManagerNextReceivedEventArgs",
    "MediaPlaybackCommandManagerPauseReceivedEventArgs",
    "MediaPlaybackCommandManagerPlayReceivedEventArgs",
    "MediaPlaybackCommandManagerPositionReceivedEventArgs",
    "MediaPlaybackCommandManagerPreviousReceivedEventArgs",
    "MediaPlaybackCommandManagerRateReceivedEventArgs",
    "MediaPlaybackCommandManagerRewindReceivedEventArgs",
    "MediaPlaybackCommandManagerShuffleReceivedEventArgs",
    "MediaPlaybackItem",
    "MediaPlaybackItemError",
    "MediaPlaybackItemFailedEventArgs",
    "MediaPlaybackItemOpenedEventArgs",
    "MediaPlaybackList",
    "MediaPlaybackSession",
    "MediaPlaybackSessionBufferingStartedEventArgs",
    "MediaPlaybackSessionOutputDegradationPolicyState",
    "MediaPlaybackSphericalVideoProjection",
    "MediaPlaybackTimedMetadataTrackList",
    "MediaPlaybackVideoTrackList",
    "MediaPlayer",
    "MediaPlayerDataReceivedEventArgs",
    "MediaPlayerFailedEventArgs",
    "MediaPlayerRateChangedEventArgs",
    "MediaPlayerSurface",
    "PlaybackMediaMarker",
    "PlaybackMediaMarkerReachedEventArgs",
    "PlaybackMediaMarkerSequence",
    "TimedMetadataPresentationModeChangedEventArgs",
    "IMediaEnginePlaybackSource",
    "IMediaPlaybackSource",
]

class AutoLoadedDisplayPropertyKind(enum.IntEnum):
    NONE = 0
    MUSIC_OR_VIDEO = 1
    MUSIC = 2
    VIDEO = 3

class FailedMediaStreamKind(enum.IntEnum):
    UNKNOWN = 0
    AUDIO = 1
    VIDEO = 2

class MediaBreakInsertionMethod(enum.IntEnum):
    INTERRUPT = 0
    REPLACE = 1

class MediaCommandEnablingRule(enum.IntEnum):
    AUTO = 0
    ALWAYS = 1
    NEVER = 2

class MediaPlaybackItemChangedReason(enum.IntEnum):
    INITIAL_ITEM = 0
    END_OF_STREAM = 1
    ERROR = 2
    APP_REQUESTED = 3

class MediaPlaybackItemErrorCode(enum.IntEnum):
    NONE = 0
    ABORTED = 1
    NETWORK_ERROR = 2
    DECODE_ERROR = 3
    SOURCE_NOT_SUPPORTED_ERROR = 4
    ENCRYPTION_ERROR = 5

class MediaPlaybackSessionVideoConstrictionReason(enum.IntEnum):
    NONE = 0
    VIRTUAL_MACHINE = 1
    UNSUPPORTED_DISPLAY_ADAPTER = 2
    UNSIGNED_DRIVER = 3
    FRAME_SERVER_ENABLED = 4
    OUTPUT_PROTECTION_FAILED = 5
    UNKNOWN = 6

class MediaPlaybackState(enum.IntEnum):
    NONE = 0
    OPENING = 1
    BUFFERING = 2
    PLAYING = 3
    PAUSED = 4

class MediaPlayerAudioCategory(enum.IntEnum):
    OTHER = 0
    COMMUNICATIONS = 3
    ALERTS = 4
    SOUND_EFFECTS = 5
    GAME_EFFECTS = 6
    GAME_MEDIA = 7
    GAME_CHAT = 8
    SPEECH = 9
    MOVIE = 10
    MEDIA = 11

class MediaPlayerAudioDeviceType(enum.IntEnum):
    CONSOLE = 0
    MULTIMEDIA = 1
    COMMUNICATIONS = 2

class MediaPlayerError(enum.IntEnum):
    UNKNOWN = 0
    ABORTED = 1
    NETWORK_ERROR = 2
    DECODING_ERROR = 3
    SOURCE_NOT_SUPPORTED = 4

class MediaPlayerState(enum.IntEnum):
    CLOSED = 0
    OPENING = 1
    BUFFERING = 2
    PLAYING = 3
    PAUSED = 4
    STOPPED = 5

class SphericalVideoProjectionMode(enum.IntEnum):
    SPHERICAL = 0
    FLAT = 1

class StereoscopicVideoRenderMode(enum.IntEnum):
    MONO = 0
    STEREO = 1

class TimedMetadataTrackPresentationMode(enum.IntEnum):
    DISABLED = 0
    HIDDEN = 1
    APPLICATION_PRESENTED = 2
    PLATFORM_PRESENTED = 3

winrt.runtime._internals.mixin_sequence(MediaPlaybackAudioTrackList)
winrt.runtime._internals.mixin_sequence(MediaPlaybackTimedMetadataTrackList)
winrt.runtime._internals.mixin_sequence(MediaPlaybackVideoTrackList)
