# WARNING: Please don't edit this file. It was generated by Python/WinRT v1.0.0-beta.7

import enum

import winsdk

_ns_module = winsdk._import_ns_module("Windows.Media.PlayTo")

try:
    import winsdk.windows.foundation
except ImportError:
    pass

try:
    import winsdk.windows.foundation.collections
except ImportError:
    pass

try:
    import winsdk.windows.storage.streams
except ImportError:
    pass

class PlayToConnectionError(enum.IntEnum):
    NONE = 0
    DEVICE_NOT_RESPONDING = 1
    DEVICE_ERROR = 2
    DEVICE_LOCKED = 3
    PROTECTED_PLAYBACK_FAILED = 4

class PlayToConnectionState(enum.IntEnum):
    DISCONNECTED = 0
    CONNECTED = 1
    RENDERING = 2

_ns_module._register_PlayToConnectionError(PlayToConnectionError)
_ns_module._register_PlayToConnectionState(PlayToConnectionState)

CurrentTimeChangeRequestedEventArgs = _ns_module.CurrentTimeChangeRequestedEventArgs
MuteChangeRequestedEventArgs = _ns_module.MuteChangeRequestedEventArgs
PlayToConnection = _ns_module.PlayToConnection
PlayToConnectionErrorEventArgs = _ns_module.PlayToConnectionErrorEventArgs
PlayToConnectionStateChangedEventArgs = _ns_module.PlayToConnectionStateChangedEventArgs
PlayToConnectionTransferredEventArgs = _ns_module.PlayToConnectionTransferredEventArgs
PlayToManager = _ns_module.PlayToManager
PlayToReceiver = _ns_module.PlayToReceiver
PlayToSource = _ns_module.PlayToSource
PlayToSourceDeferral = _ns_module.PlayToSourceDeferral
PlayToSourceRequest = _ns_module.PlayToSourceRequest
PlayToSourceRequestedEventArgs = _ns_module.PlayToSourceRequestedEventArgs
PlayToSourceSelectedEventArgs = _ns_module.PlayToSourceSelectedEventArgs
PlaybackRateChangeRequestedEventArgs = _ns_module.PlaybackRateChangeRequestedEventArgs
SourceChangeRequestedEventArgs = _ns_module.SourceChangeRequestedEventArgs
VolumeChangeRequestedEventArgs = _ns_module.VolumeChangeRequestedEventArgs
