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

import enum
import typing
import uuid as _uuid

import winrt.system
from winrt import _winrt_windows_media_capture

__all__ = [
    "AppBroadcastCameraCaptureState",
    "AppBroadcastCameraOverlayLocation",
    "AppBroadcastCameraOverlaySize",
    "AppBroadcastCaptureTargetType",
    "AppBroadcastExitBroadcastModeReason",
    "AppBroadcastMicrophoneCaptureState",
    "AppBroadcastPlugInState",
    "AppBroadcastPreviewState",
    "AppBroadcastSignInResult",
    "AppBroadcastSignInState",
    "AppBroadcastStreamState",
    "AppBroadcastTerminationReason",
    "AppBroadcastVideoEncodingBitrateMode",
    "AppBroadcastVideoEncodingResolutionMode",
    "AppCaptureHistoricalBufferLengthUnit",
    "AppCaptureMetadataPriority",
    "AppCaptureMicrophoneCaptureState",
    "AppCaptureRecordingState",
    "AppCaptureVideoEncodingBitrateMode",
    "AppCaptureVideoEncodingFrameRateMode",
    "AppCaptureVideoEncodingResolutionMode",
    "CameraCaptureUIMaxPhotoResolution",
    "CameraCaptureUIMaxVideoResolution",
    "CameraCaptureUIMode",
    "CameraCaptureUIPhotoFormat",
    "CameraCaptureUIVideoFormat",
    "ForegroundActivationArgument",
    "GameBarCommand",
    "GameBarCommandOrigin",
    "GameBarServicesDisplayMode",
    "GameBarTargetCapturePolicy",
    "KnownVideoProfile",
    "MediaCaptureDeviceExclusiveControlReleaseMode",
    "MediaCaptureDeviceExclusiveControlStatus",
    "MediaCaptureMemoryPreference",
    "MediaCaptureSharingMode",
    "MediaCaptureThermalStatus",
    "MediaCategory",
    "MediaStreamType",
    "PhotoCaptureSource",
    "PowerlineFrequency",
    "StreamingCaptureMode",
    "VideoDeviceCharacteristic",
    "VideoRotation",
    "WhiteBalanceGain",
    "AdvancedCapturedPhoto",
    "AdvancedPhotoCapture",
    "AppBroadcastBackgroundService",
    "AppBroadcastBackgroundServiceSignInInfo",
    "AppBroadcastBackgroundServiceStreamInfo",
    "AppBroadcastCameraCaptureStateChangedEventArgs",
    "AppBroadcastGlobalSettings",
    "AppBroadcastHeartbeatRequestedEventArgs",
    "AppBroadcastManager",
    "AppBroadcastMicrophoneCaptureStateChangedEventArgs",
    "AppBroadcastPlugIn",
    "AppBroadcastPlugInManager",
    "AppBroadcastPlugInStateChangedEventArgs",
    "AppBroadcastPreview",
    "AppBroadcastPreviewStateChangedEventArgs",
    "AppBroadcastPreviewStreamReader",
    "AppBroadcastPreviewStreamVideoFrame",
    "AppBroadcastPreviewStreamVideoHeader",
    "AppBroadcastProviderSettings",
    "AppBroadcastServices",
    "AppBroadcastSignInStateChangedEventArgs",
    "AppBroadcastState",
    "AppBroadcastStreamAudioFrame",
    "AppBroadcastStreamAudioHeader",
    "AppBroadcastStreamReader",
    "AppBroadcastStreamStateChangedEventArgs",
    "AppBroadcastStreamVideoFrame",
    "AppBroadcastStreamVideoHeader",
    "AppBroadcastTriggerDetails",
    "AppBroadcastViewerCountChangedEventArgs",
    "AppCapture",
    "AppCaptureAlternateShortcutKeys",
    "AppCaptureDurationGeneratedEventArgs",
    "AppCaptureFileGeneratedEventArgs",
    "AppCaptureManager",
    "AppCaptureMetadataWriter",
    "AppCaptureMicrophoneCaptureStateChangedEventArgs",
    "AppCaptureRecordOperation",
    "AppCaptureRecordingStateChangedEventArgs",
    "AppCaptureServices",
    "AppCaptureSettings",
    "AppCaptureState",
    "CameraCaptureUI",
    "CameraCaptureUIPhotoCaptureSettings",
    "CameraCaptureUIVideoCaptureSettings",
    "CameraOptionsUI",
    "CapturedFrame",
    "CapturedFrameControlValues",
    "CapturedPhoto",
    "GameBarServices",
    "GameBarServicesCommandEventArgs",
    "GameBarServicesManager",
    "GameBarServicesManagerGameBarServicesCreatedEventArgs",
    "GameBarServicesTargetInfo",
    "LowLagMediaRecording",
    "LowLagPhotoCapture",
    "LowLagPhotoSequenceCapture",
    "MediaCapture",
    "MediaCaptureDeviceExclusiveControlStatusChangedEventArgs",
    "MediaCaptureFailedEventArgs",
    "MediaCaptureFocusChangedEventArgs",
    "MediaCaptureInitializationSettings",
    "MediaCapturePauseResult",
    "MediaCaptureRelativePanelWatcher",
    "MediaCaptureSettings",
    "MediaCaptureStopResult",
    "MediaCaptureVideoProfile",
    "MediaCaptureVideoProfileMediaDescription",
    "OptionalReferencePhotoCapturedEventArgs",
    "PhotoCapturedEventArgs",
    "PhotoConfirmationCapturedEventArgs",
    "ScreenCapture",
    "SourceSuspensionChangedEventArgs",
    "VideoStreamConfiguration",
    "MediaCaptureFailedEventHandler",
    "RecordLimitationExceededEventHandler",
]

class AppBroadcastCameraCaptureState(enum.IntEnum):
    STOPPED = 0
    STARTED = 1
    FAILED = 2

class AppBroadcastCameraOverlayLocation(enum.IntEnum):
    TOP_LEFT = 0
    TOP_CENTER = 1
    TOP_RIGHT = 2
    MIDDLE_LEFT = 3
    MIDDLE_CENTER = 4
    MIDDLE_RIGHT = 5
    BOTTOM_LEFT = 6
    BOTTOM_CENTER = 7
    BOTTOM_RIGHT = 8

class AppBroadcastCameraOverlaySize(enum.IntEnum):
    SMALL = 0
    MEDIUM = 1
    LARGE = 2

class AppBroadcastCaptureTargetType(enum.IntEnum):
    APP_VIEW = 0
    ENTIRE_DISPLAY = 1

class AppBroadcastExitBroadcastModeReason(enum.IntEnum):
    NORMAL_EXIT = 0
    USER_CANCELED = 1
    AUTHORIZATION_FAIL = 2
    FOREGROUND_APP_ACTIVATED = 3

class AppBroadcastMicrophoneCaptureState(enum.IntEnum):
    STOPPED = 0
    STARTED = 1
    FAILED = 2

class AppBroadcastPlugInState(enum.IntEnum):
    UNKNOWN = 0
    INITIALIZED = 1
    MICROSOFT_SIGN_IN_REQUIRED = 2
    O_AUTH_SIGN_IN_REQUIRED = 3
    PROVIDER_SIGN_IN_REQUIRED = 4
    IN_BANDWIDTH_TEST = 5
    READY_TO_BROADCAST = 6

class AppBroadcastPreviewState(enum.IntEnum):
    STARTED = 0
    STOPPED = 1
    FAILED = 2

class AppBroadcastSignInResult(enum.IntEnum):
    SUCCESS = 0
    AUTHENTICATION_FAILED = 1
    UNAUTHORIZED = 2
    SERVICE_UNAVAILABLE = 3
    UNKNOWN = 4

class AppBroadcastSignInState(enum.IntEnum):
    NOT_SIGNED_IN = 0
    MICROSOFT_SIGN_IN_IN_PROGRESS = 1
    MICROSOFT_SIGN_IN_COMPLETE = 2
    O_AUTH_SIGN_IN_IN_PROGRESS = 3
    O_AUTH_SIGN_IN_COMPLETE = 4

class AppBroadcastStreamState(enum.IntEnum):
    INITIALIZING = 0
    STREAM_READY = 1
    STARTED = 2
    PAUSED = 3
    TERMINATED = 4

class AppBroadcastTerminationReason(enum.IntEnum):
    NORMAL_TERMINATION = 0
    LOST_CONNECTION_TO_SERVICE = 1
    NO_NETWORK_CONNECTIVITY = 2
    SERVICE_ABORT = 3
    SERVICE_ERROR = 4
    SERVICE_UNAVAILABLE = 5
    INTERNAL_ERROR = 6
    UNSUPPORTED_FORMAT = 7
    BACKGROUND_TASK_TERMINATED = 8
    BACKGROUND_TASK_UNRESPONSIVE = 9

class AppBroadcastVideoEncodingBitrateMode(enum.IntEnum):
    CUSTOM = 0
    AUTO = 1

class AppBroadcastVideoEncodingResolutionMode(enum.IntEnum):
    CUSTOM = 0
    AUTO = 1

class AppCaptureHistoricalBufferLengthUnit(enum.IntEnum):
    MEGABYTES = 0
    SECONDS = 1

class AppCaptureMetadataPriority(enum.IntEnum):
    INFORMATIONAL = 0
    IMPORTANT = 1

class AppCaptureMicrophoneCaptureState(enum.IntEnum):
    STOPPED = 0
    STARTED = 1
    FAILED = 2

class AppCaptureRecordingState(enum.IntEnum):
    IN_PROGRESS = 0
    COMPLETED = 1
    FAILED = 2

class AppCaptureVideoEncodingBitrateMode(enum.IntEnum):
    CUSTOM = 0
    HIGH = 1
    STANDARD = 2

class AppCaptureVideoEncodingFrameRateMode(enum.IntEnum):
    STANDARD = 0
    HIGH = 1

class AppCaptureVideoEncodingResolutionMode(enum.IntEnum):
    CUSTOM = 0
    HIGH = 1
    STANDARD = 2

class CameraCaptureUIMaxPhotoResolution(enum.IntEnum):
    HIGHEST_AVAILABLE = 0
    VERY_SMALL_QVGA = 1
    SMALL_VGA = 2
    MEDIUM_XGA = 3
    LARGE3_M = 4
    VERY_LARGE5_M = 5

class CameraCaptureUIMaxVideoResolution(enum.IntEnum):
    HIGHEST_AVAILABLE = 0
    LOW_DEFINITION = 1
    STANDARD_DEFINITION = 2
    HIGH_DEFINITION = 3

class CameraCaptureUIMode(enum.IntEnum):
    PHOTO_OR_VIDEO = 0
    PHOTO = 1
    VIDEO = 2

class CameraCaptureUIPhotoFormat(enum.IntEnum):
    JPEG = 0
    PNG = 1
    JPEG_X_R = 2

class CameraCaptureUIVideoFormat(enum.IntEnum):
    MP4 = 0
    WMV = 1

class ForegroundActivationArgument(enum.IntEnum):
    SIGN_IN_REQUIRED = 0
    MORE_SETTINGS = 1

class GameBarCommand(enum.IntEnum):
    OPEN_GAME_BAR = 0
    RECORD_HISTORICAL_BUFFER = 1
    TOGGLE_START_STOP_RECORD = 2
    START_RECORD = 3
    STOP_RECORD = 4
    TAKE_SCREENSHOT = 5
    START_BROADCAST = 6
    STOP_BROADCAST = 7
    PAUSE_BROADCAST = 8
    RESUME_BROADCAST = 9
    TOGGLE_START_STOP_BROADCAST = 10
    TOGGLE_MICROPHONE_CAPTURE = 11
    TOGGLE_CAMERA_CAPTURE = 12
    TOGGLE_RECORDING_INDICATOR = 13

class GameBarCommandOrigin(enum.IntEnum):
    SHORTCUT_KEY = 0
    CORTANA = 1
    APP_COMMAND = 2

class GameBarServicesDisplayMode(enum.IntEnum):
    WINDOWED = 0
    FULL_SCREEN_EXCLUSIVE = 1

class GameBarTargetCapturePolicy(enum.IntEnum):
    ENABLED_BY_SYSTEM = 0
    ENABLED_BY_USER = 1
    NOT_ENABLED = 2
    PROHIBITED_BY_SYSTEM = 3
    PROHIBITED_BY_PUBLISHER = 4

class KnownVideoProfile(enum.IntEnum):
    VIDEO_RECORDING = 0
    HIGH_QUALITY_PHOTO = 1
    BALANCED_VIDEO_AND_PHOTO = 2
    VIDEO_CONFERENCING = 3
    PHOTO_SEQUENCE = 4
    HIGH_FRAME_RATE = 5
    VARIABLE_PHOTO_SEQUENCE = 6
    HDR_WITH_WCG_VIDEO = 7
    HDR_WITH_WCG_PHOTO = 8
    VIDEO_HDR8 = 9
    COMPRESSED_CAMERA = 10

class MediaCaptureDeviceExclusiveControlReleaseMode(enum.IntEnum):
    ON_DISPOSE = 0
    ON_ALL_STREAMS_STOPPED = 1

class MediaCaptureDeviceExclusiveControlStatus(enum.IntEnum):
    EXCLUSIVE_CONTROL_AVAILABLE = 0
    SHARED_READ_ONLY_AVAILABLE = 1

class MediaCaptureMemoryPreference(enum.IntEnum):
    AUTO = 0
    CPU = 1

class MediaCaptureSharingMode(enum.IntEnum):
    EXCLUSIVE_CONTROL = 0
    SHARED_READ_ONLY = 1

class MediaCaptureThermalStatus(enum.IntEnum):
    NORMAL = 0
    OVERHEATED = 1

class MediaCategory(enum.IntEnum):
    OTHER = 0
    COMMUNICATIONS = 1
    MEDIA = 2
    GAME_CHAT = 3
    SPEECH = 4
    FAR_FIELD_SPEECH = 5
    UNIFORM_SPEECH = 6
    VOICE_TYPING = 7

class MediaStreamType(enum.IntEnum):
    VIDEO_PREVIEW = 0
    VIDEO_RECORD = 1
    AUDIO = 2
    PHOTO = 3
    METADATA = 4

class PhotoCaptureSource(enum.IntEnum):
    AUTO = 0
    VIDEO_PREVIEW = 1
    PHOTO = 2

class PowerlineFrequency(enum.IntEnum):
    DISABLED = 0
    FIFTY_HERTZ = 1
    SIXTY_HERTZ = 2
    AUTO = 3

class StreamingCaptureMode(enum.IntEnum):
    AUDIO_AND_VIDEO = 0
    AUDIO = 1
    VIDEO = 2

class VideoDeviceCharacteristic(enum.IntEnum):
    ALL_STREAMS_INDEPENDENT = 0
    PREVIEW_RECORD_STREAMS_IDENTICAL = 1
    PREVIEW_PHOTO_STREAMS_IDENTICAL = 2
    RECORD_PHOTO_STREAMS_IDENTICAL = 3
    ALL_STREAMS_IDENTICAL = 4

class VideoRotation(enum.IntEnum):
    NONE = 0
    CLOCKWISE90_DEGREES = 1
    CLOCKWISE180_DEGREES = 2
    CLOCKWISE270_DEGREES = 3

WhiteBalanceGain = _winrt_windows_media_capture.WhiteBalanceGain
AdvancedCapturedPhoto = _winrt_windows_media_capture.AdvancedCapturedPhoto
AdvancedPhotoCapture = _winrt_windows_media_capture.AdvancedPhotoCapture
AppBroadcastBackgroundService = _winrt_windows_media_capture.AppBroadcastBackgroundService
AppBroadcastBackgroundServiceSignInInfo = _winrt_windows_media_capture.AppBroadcastBackgroundServiceSignInInfo
AppBroadcastBackgroundServiceStreamInfo = _winrt_windows_media_capture.AppBroadcastBackgroundServiceStreamInfo
AppBroadcastCameraCaptureStateChangedEventArgs = _winrt_windows_media_capture.AppBroadcastCameraCaptureStateChangedEventArgs
AppBroadcastGlobalSettings = _winrt_windows_media_capture.AppBroadcastGlobalSettings
AppBroadcastHeartbeatRequestedEventArgs = _winrt_windows_media_capture.AppBroadcastHeartbeatRequestedEventArgs
AppBroadcastManager = _winrt_windows_media_capture.AppBroadcastManager
AppBroadcastMicrophoneCaptureStateChangedEventArgs = _winrt_windows_media_capture.AppBroadcastMicrophoneCaptureStateChangedEventArgs
AppBroadcastPlugIn = _winrt_windows_media_capture.AppBroadcastPlugIn
AppBroadcastPlugInManager = _winrt_windows_media_capture.AppBroadcastPlugInManager
AppBroadcastPlugInStateChangedEventArgs = _winrt_windows_media_capture.AppBroadcastPlugInStateChangedEventArgs
AppBroadcastPreview = _winrt_windows_media_capture.AppBroadcastPreview
AppBroadcastPreviewStateChangedEventArgs = _winrt_windows_media_capture.AppBroadcastPreviewStateChangedEventArgs
AppBroadcastPreviewStreamReader = _winrt_windows_media_capture.AppBroadcastPreviewStreamReader
AppBroadcastPreviewStreamVideoFrame = _winrt_windows_media_capture.AppBroadcastPreviewStreamVideoFrame
AppBroadcastPreviewStreamVideoHeader = _winrt_windows_media_capture.AppBroadcastPreviewStreamVideoHeader
AppBroadcastProviderSettings = _winrt_windows_media_capture.AppBroadcastProviderSettings
AppBroadcastServices = _winrt_windows_media_capture.AppBroadcastServices
AppBroadcastSignInStateChangedEventArgs = _winrt_windows_media_capture.AppBroadcastSignInStateChangedEventArgs
AppBroadcastState = _winrt_windows_media_capture.AppBroadcastState
AppBroadcastStreamAudioFrame = _winrt_windows_media_capture.AppBroadcastStreamAudioFrame
AppBroadcastStreamAudioHeader = _winrt_windows_media_capture.AppBroadcastStreamAudioHeader
AppBroadcastStreamReader = _winrt_windows_media_capture.AppBroadcastStreamReader
AppBroadcastStreamStateChangedEventArgs = _winrt_windows_media_capture.AppBroadcastStreamStateChangedEventArgs
AppBroadcastStreamVideoFrame = _winrt_windows_media_capture.AppBroadcastStreamVideoFrame
AppBroadcastStreamVideoHeader = _winrt_windows_media_capture.AppBroadcastStreamVideoHeader
AppBroadcastTriggerDetails = _winrt_windows_media_capture.AppBroadcastTriggerDetails
AppBroadcastViewerCountChangedEventArgs = _winrt_windows_media_capture.AppBroadcastViewerCountChangedEventArgs
AppCapture = _winrt_windows_media_capture.AppCapture
AppCaptureAlternateShortcutKeys = _winrt_windows_media_capture.AppCaptureAlternateShortcutKeys
AppCaptureDurationGeneratedEventArgs = _winrt_windows_media_capture.AppCaptureDurationGeneratedEventArgs
AppCaptureFileGeneratedEventArgs = _winrt_windows_media_capture.AppCaptureFileGeneratedEventArgs
AppCaptureManager = _winrt_windows_media_capture.AppCaptureManager
AppCaptureMetadataWriter = _winrt_windows_media_capture.AppCaptureMetadataWriter
AppCaptureMicrophoneCaptureStateChangedEventArgs = _winrt_windows_media_capture.AppCaptureMicrophoneCaptureStateChangedEventArgs
AppCaptureRecordOperation = _winrt_windows_media_capture.AppCaptureRecordOperation
AppCaptureRecordingStateChangedEventArgs = _winrt_windows_media_capture.AppCaptureRecordingStateChangedEventArgs
AppCaptureServices = _winrt_windows_media_capture.AppCaptureServices
AppCaptureSettings = _winrt_windows_media_capture.AppCaptureSettings
AppCaptureState = _winrt_windows_media_capture.AppCaptureState
CameraCaptureUI = _winrt_windows_media_capture.CameraCaptureUI
CameraCaptureUIPhotoCaptureSettings = _winrt_windows_media_capture.CameraCaptureUIPhotoCaptureSettings
CameraCaptureUIVideoCaptureSettings = _winrt_windows_media_capture.CameraCaptureUIVideoCaptureSettings
CameraOptionsUI = _winrt_windows_media_capture.CameraOptionsUI
CapturedFrame = _winrt_windows_media_capture.CapturedFrame
CapturedFrameControlValues = _winrt_windows_media_capture.CapturedFrameControlValues
CapturedPhoto = _winrt_windows_media_capture.CapturedPhoto
GameBarServices = _winrt_windows_media_capture.GameBarServices
GameBarServicesCommandEventArgs = _winrt_windows_media_capture.GameBarServicesCommandEventArgs
GameBarServicesManager = _winrt_windows_media_capture.GameBarServicesManager
GameBarServicesManagerGameBarServicesCreatedEventArgs = _winrt_windows_media_capture.GameBarServicesManagerGameBarServicesCreatedEventArgs
GameBarServicesTargetInfo = _winrt_windows_media_capture.GameBarServicesTargetInfo
LowLagMediaRecording = _winrt_windows_media_capture.LowLagMediaRecording
LowLagPhotoCapture = _winrt_windows_media_capture.LowLagPhotoCapture
LowLagPhotoSequenceCapture = _winrt_windows_media_capture.LowLagPhotoSequenceCapture
MediaCapture = _winrt_windows_media_capture.MediaCapture
MediaCaptureDeviceExclusiveControlStatusChangedEventArgs = _winrt_windows_media_capture.MediaCaptureDeviceExclusiveControlStatusChangedEventArgs
MediaCaptureFailedEventArgs = _winrt_windows_media_capture.MediaCaptureFailedEventArgs
MediaCaptureFocusChangedEventArgs = _winrt_windows_media_capture.MediaCaptureFocusChangedEventArgs
MediaCaptureInitializationSettings = _winrt_windows_media_capture.MediaCaptureInitializationSettings
MediaCapturePauseResult = _winrt_windows_media_capture.MediaCapturePauseResult
MediaCaptureRelativePanelWatcher = _winrt_windows_media_capture.MediaCaptureRelativePanelWatcher
MediaCaptureSettings = _winrt_windows_media_capture.MediaCaptureSettings
MediaCaptureStopResult = _winrt_windows_media_capture.MediaCaptureStopResult
MediaCaptureVideoProfile = _winrt_windows_media_capture.MediaCaptureVideoProfile
MediaCaptureVideoProfileMediaDescription = _winrt_windows_media_capture.MediaCaptureVideoProfileMediaDescription
OptionalReferencePhotoCapturedEventArgs = _winrt_windows_media_capture.OptionalReferencePhotoCapturedEventArgs
PhotoCapturedEventArgs = _winrt_windows_media_capture.PhotoCapturedEventArgs
PhotoConfirmationCapturedEventArgs = _winrt_windows_media_capture.PhotoConfirmationCapturedEventArgs
ScreenCapture = _winrt_windows_media_capture.ScreenCapture
SourceSuspensionChangedEventArgs = _winrt_windows_media_capture.SourceSuspensionChangedEventArgs
VideoStreamConfiguration = _winrt_windows_media_capture.VideoStreamConfiguration
MediaCaptureFailedEventHandler = typing.Callable[[typing.Optional[MediaCapture], typing.Optional[MediaCaptureFailedEventArgs]], None]
RecordLimitationExceededEventHandler = typing.Callable[[typing.Optional[MediaCapture]], None]
