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

import enum

import winrt.system
from winrt._winrt_windows_networking_backgroundtransfer import (
    BackgroundDownloadProgress,
    BackgroundTransferFileRange,
    BackgroundUploadProgress,
    BackgroundDownloader,
    BackgroundTransferCompletionGroup,
    BackgroundTransferCompletionGroupTriggerDetails,
    BackgroundTransferContentPart,
    BackgroundTransferError,
    BackgroundTransferGroup,
    BackgroundTransferRangesDownloadedEventArgs,
    BackgroundUploader,
    ContentPrefetcher,
    DownloadOperation,
    ResponseInformation,
    UnconstrainedTransferRequestResult,
    UploadOperation,
    _IBackgroundTransferBase,
    IBackgroundTransferBase,
    _IBackgroundTransferContentPartFactory,
    IBackgroundTransferContentPartFactory,
    _IBackgroundTransferOperation,
    IBackgroundTransferOperation,
    _IBackgroundTransferOperationPriority,
    IBackgroundTransferOperationPriority,
)

__all__ = [
    "BackgroundTransferBehavior",
    "BackgroundTransferCostPolicy",
    "BackgroundTransferPriority",
    "BackgroundTransferStatus",
    "BackgroundDownloadProgress",
    "BackgroundTransferFileRange",
    "BackgroundUploadProgress",
    "BackgroundDownloader",
    "BackgroundTransferCompletionGroup",
    "BackgroundTransferCompletionGroupTriggerDetails",
    "BackgroundTransferContentPart",
    "BackgroundTransferError",
    "BackgroundTransferGroup",
    "BackgroundTransferRangesDownloadedEventArgs",
    "BackgroundUploader",
    "ContentPrefetcher",
    "DownloadOperation",
    "ResponseInformation",
    "UnconstrainedTransferRequestResult",
    "UploadOperation",
    "IBackgroundTransferBase",
    "IBackgroundTransferContentPartFactory",
    "IBackgroundTransferOperation",
    "IBackgroundTransferOperationPriority",
]

class BackgroundTransferBehavior(enum.IntEnum):
    PARALLEL = 0
    SERIALIZED = 1

class BackgroundTransferCostPolicy(enum.IntEnum):
    DEFAULT = 0
    UNRESTRICTED_ONLY = 1
    ALWAYS = 2

class BackgroundTransferPriority(enum.IntEnum):
    DEFAULT = 0
    HIGH = 1
    LOW = 2

class BackgroundTransferStatus(enum.IntEnum):
    IDLE = 0
    RUNNING = 1
    PAUSED_BY_APPLICATION = 2
    PAUSED_COSTED_NETWORK = 3
    PAUSED_NO_NETWORK = 4
    COMPLETED = 5
    CANCELED = 6
    ERROR = 7
    PAUSED_RECOVERABLE_WEB_ERROR_STATUS = 8
    PAUSED_SYSTEM_POLICY = 32

