winrt-Windows.Networking.BackgroundTransfer 4!10.0.28000.2705__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- winrt/windows/networking/backgroundtransfer/__init__.py +40 -0
- winrt/windows/networking/backgroundtransfer/__init__.pyi +704 -0
- winrt/windows/networking/backgroundtransfer/_table.pywinrt +0 -0
- winrt/windows/networking/backgroundtransfer/py.typed +0 -0
- winrt_windows_networking_backgroundtransfer-4!10.0.28000.2705.dist-info/METADATA +53 -0
- winrt_windows_networking_backgroundtransfer-4!10.0.28000.2705.dist-info/RECORD +8 -0
- winrt_windows_networking_backgroundtransfer-4!10.0.28000.2705.dist-info/WHEEL +4 -0
- winrt_windows_networking_backgroundtransfer-4!10.0.28000.2705.dist-info/licenses/LICENSE +22 -0
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT
|
|
2
|
+
|
|
3
|
+
import winrt.runtime._internals
|
|
4
|
+
import winrt.system
|
|
5
|
+
|
|
6
|
+
winrt.runtime._internals.load_projection(__spec__)
|
|
7
|
+
|
|
8
|
+
__all__ = [
|
|
9
|
+
"BackgroundTransferBehavior",
|
|
10
|
+
"BackgroundTransferCostPolicy",
|
|
11
|
+
"BackgroundTransferPriority",
|
|
12
|
+
"BackgroundTransferStatus",
|
|
13
|
+
"BackgroundDownloadProgress",
|
|
14
|
+
"BackgroundTransferFileRange",
|
|
15
|
+
"BackgroundUploadProgress",
|
|
16
|
+
"BackgroundDownloader",
|
|
17
|
+
"BackgroundTransferCompletionGroup",
|
|
18
|
+
"BackgroundTransferCompletionGroupTriggerDetails",
|
|
19
|
+
"BackgroundTransferContentPart",
|
|
20
|
+
"BackgroundTransferError",
|
|
21
|
+
"BackgroundTransferGroup",
|
|
22
|
+
"BackgroundTransferRangesDownloadedEventArgs",
|
|
23
|
+
"BackgroundUploader",
|
|
24
|
+
"ContentPrefetcher",
|
|
25
|
+
"DownloadOperation",
|
|
26
|
+
"ResponseInformation",
|
|
27
|
+
"UnconstrainedTransferRequestResult",
|
|
28
|
+
"UploadOperation",
|
|
29
|
+
"IBackgroundTransferBase",
|
|
30
|
+
"IBackgroundTransferContentPartFactory",
|
|
31
|
+
"IBackgroundTransferOperation",
|
|
32
|
+
"IBackgroundTransferOperationPriority",
|
|
33
|
+
]
|
|
34
|
+
|
|
35
|
+
winrt.runtime._internals.alias_method(BackgroundDownloader, "create_download_from_file", "create_download")
|
|
36
|
+
winrt.runtime._internals.alias_static_method(BackgroundDownloader, "get_current_downloads_for_group_async", "get_current_downloads_async")
|
|
37
|
+
winrt.runtime._internals.alias_method(BackgroundUploader, "create_upload_with_form_data_and_auto_boundary_async", "create_upload_async")
|
|
38
|
+
winrt.runtime._internals.alias_method(BackgroundUploader, "create_upload_with_sub_type_and_boundary_async", "create_upload_async")
|
|
39
|
+
winrt.runtime._internals.alias_method(BackgroundUploader, "create_upload_with_sub_type_async", "create_upload_async")
|
|
40
|
+
winrt.runtime._internals.alias_static_method(BackgroundUploader, "get_current_uploads_for_group_async", "get_current_uploads_async")
|
|
@@ -0,0 +1,704 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT
|
|
2
|
+
|
|
3
|
+
import collections.abc as _cabc
|
|
4
|
+
import datetime
|
|
5
|
+
import enum
|
|
6
|
+
import typing
|
|
7
|
+
import uuid as _uuid
|
|
8
|
+
from builtins import property as _property
|
|
9
|
+
from abc import abstractmethod
|
|
10
|
+
from typing_extensions import deprecated
|
|
11
|
+
|
|
12
|
+
import winrt.system
|
|
13
|
+
import winrt.windows.applicationmodel.background as windows_applicationmodel_background
|
|
14
|
+
import winrt.windows.foundation as windows_foundation
|
|
15
|
+
import winrt.windows.foundation.collections as windows_foundation_collections
|
|
16
|
+
import winrt.windows.security.credentials as windows_security_credentials
|
|
17
|
+
import winrt.windows.storage as windows_storage
|
|
18
|
+
import winrt.windows.storage.streams as windows_storage_streams
|
|
19
|
+
import winrt.windows.ui.notifications as windows_ui_notifications
|
|
20
|
+
import winrt.windows.web as windows_web
|
|
21
|
+
|
|
22
|
+
__all__ = [
|
|
23
|
+
"BackgroundTransferBehavior",
|
|
24
|
+
"BackgroundTransferCostPolicy",
|
|
25
|
+
"BackgroundTransferPriority",
|
|
26
|
+
"BackgroundTransferStatus",
|
|
27
|
+
"BackgroundDownloadProgress",
|
|
28
|
+
"BackgroundTransferFileRange",
|
|
29
|
+
"BackgroundUploadProgress",
|
|
30
|
+
"BackgroundDownloader",
|
|
31
|
+
"BackgroundTransferCompletionGroup",
|
|
32
|
+
"BackgroundTransferCompletionGroupTriggerDetails",
|
|
33
|
+
"BackgroundTransferContentPart",
|
|
34
|
+
"BackgroundTransferError",
|
|
35
|
+
"BackgroundTransferGroup",
|
|
36
|
+
"BackgroundTransferRangesDownloadedEventArgs",
|
|
37
|
+
"BackgroundUploader",
|
|
38
|
+
"ContentPrefetcher",
|
|
39
|
+
"DownloadOperation",
|
|
40
|
+
"ResponseInformation",
|
|
41
|
+
"UnconstrainedTransferRequestResult",
|
|
42
|
+
"UploadOperation",
|
|
43
|
+
"IBackgroundTransferBase",
|
|
44
|
+
"IBackgroundTransferContentPartFactory",
|
|
45
|
+
"IBackgroundTransferOperation",
|
|
46
|
+
"IBackgroundTransferOperationPriority",
|
|
47
|
+
]
|
|
48
|
+
|
|
49
|
+
class BackgroundTransferBehavior(enum.IntEnum):
|
|
50
|
+
PARALLEL = 0
|
|
51
|
+
SERIALIZED = 1
|
|
52
|
+
|
|
53
|
+
class BackgroundTransferCostPolicy(enum.IntEnum):
|
|
54
|
+
DEFAULT = 0
|
|
55
|
+
UNRESTRICTED_ONLY = 1
|
|
56
|
+
ALWAYS = 2
|
|
57
|
+
|
|
58
|
+
class BackgroundTransferPriority(enum.IntEnum):
|
|
59
|
+
DEFAULT = 0
|
|
60
|
+
HIGH = 1
|
|
61
|
+
LOW = 2
|
|
62
|
+
|
|
63
|
+
class BackgroundTransferStatus(enum.IntEnum):
|
|
64
|
+
IDLE = 0
|
|
65
|
+
RUNNING = 1
|
|
66
|
+
PAUSED_BY_APPLICATION = 2
|
|
67
|
+
PAUSED_COSTED_NETWORK = 3
|
|
68
|
+
PAUSED_NO_NETWORK = 4
|
|
69
|
+
COMPLETED = 5
|
|
70
|
+
CANCELED = 6
|
|
71
|
+
ERROR = 7
|
|
72
|
+
PAUSED_RECOVERABLE_WEB_ERROR_STATUS = 8
|
|
73
|
+
PAUSED_SYSTEM_POLICY = 32
|
|
74
|
+
|
|
75
|
+
@typing.final
|
|
76
|
+
class BackgroundDownloadProgress:
|
|
77
|
+
__match_args__ = ("bytes_received", "total_bytes_to_receive", "status", "has_response_changed", "has_restarted")
|
|
78
|
+
@_property
|
|
79
|
+
def bytes_received(self) -> winrt.system.UInt64: ...
|
|
80
|
+
@_property
|
|
81
|
+
def total_bytes_to_receive(self) -> winrt.system.UInt64: ...
|
|
82
|
+
@_property
|
|
83
|
+
def status(self) -> BackgroundTransferStatus: ...
|
|
84
|
+
@_property
|
|
85
|
+
def has_response_changed(self) -> bool: ...
|
|
86
|
+
@_property
|
|
87
|
+
def has_restarted(self) -> bool: ...
|
|
88
|
+
def __new__(cls, bytes_received: winrt.system.UInt64 | typing.SupportsIndex = 0, total_bytes_to_receive: winrt.system.UInt64 | typing.SupportsIndex = 0, status: BackgroundTransferStatus = ..., has_response_changed: bool = False, has_restarted: bool = False) -> BackgroundDownloadProgress: ...
|
|
89
|
+
def __replace__(self, /, **changes: typing.Any) -> BackgroundDownloadProgress: ...
|
|
90
|
+
def unpack(self) -> tuple[winrt.system.UInt64, winrt.system.UInt64, BackgroundTransferStatus, bool, bool]: ...
|
|
91
|
+
|
|
92
|
+
@typing.final
|
|
93
|
+
class BackgroundTransferFileRange:
|
|
94
|
+
__match_args__ = ("offset", "length")
|
|
95
|
+
@_property
|
|
96
|
+
def offset(self) -> winrt.system.UInt64: ...
|
|
97
|
+
@_property
|
|
98
|
+
def length(self) -> winrt.system.UInt64: ...
|
|
99
|
+
def __new__(cls, offset: winrt.system.UInt64 | typing.SupportsIndex = 0, length: winrt.system.UInt64 | typing.SupportsIndex = 0) -> BackgroundTransferFileRange: ...
|
|
100
|
+
def __replace__(self, /, **changes: typing.Any) -> BackgroundTransferFileRange: ...
|
|
101
|
+
def unpack(self) -> tuple[winrt.system.UInt64, winrt.system.UInt64]: ...
|
|
102
|
+
|
|
103
|
+
@typing.final
|
|
104
|
+
class BackgroundUploadProgress:
|
|
105
|
+
__match_args__ = ("bytes_received", "bytes_sent", "total_bytes_to_receive", "total_bytes_to_send", "status", "has_response_changed", "has_restarted")
|
|
106
|
+
@_property
|
|
107
|
+
def bytes_received(self) -> winrt.system.UInt64: ...
|
|
108
|
+
@_property
|
|
109
|
+
def bytes_sent(self) -> winrt.system.UInt64: ...
|
|
110
|
+
@_property
|
|
111
|
+
def total_bytes_to_receive(self) -> winrt.system.UInt64: ...
|
|
112
|
+
@_property
|
|
113
|
+
def total_bytes_to_send(self) -> winrt.system.UInt64: ...
|
|
114
|
+
@_property
|
|
115
|
+
def status(self) -> BackgroundTransferStatus: ...
|
|
116
|
+
@_property
|
|
117
|
+
def has_response_changed(self) -> bool: ...
|
|
118
|
+
@_property
|
|
119
|
+
def has_restarted(self) -> bool: ...
|
|
120
|
+
def __new__(cls, bytes_received: winrt.system.UInt64 | typing.SupportsIndex = 0, bytes_sent: winrt.system.UInt64 | typing.SupportsIndex = 0, total_bytes_to_receive: winrt.system.UInt64 | typing.SupportsIndex = 0, total_bytes_to_send: winrt.system.UInt64 | typing.SupportsIndex = 0, status: BackgroundTransferStatus = ..., has_response_changed: bool = False, has_restarted: bool = False) -> BackgroundUploadProgress: ...
|
|
121
|
+
def __replace__(self, /, **changes: typing.Any) -> BackgroundUploadProgress: ...
|
|
122
|
+
def unpack(self) -> tuple[winrt.system.UInt64, winrt.system.UInt64, winrt.system.UInt64, winrt.system.UInt64, BackgroundTransferStatus, bool, bool]: ...
|
|
123
|
+
|
|
124
|
+
@typing.final
|
|
125
|
+
class BackgroundDownloader_Static(winrt.system.Object_Static):
|
|
126
|
+
@typing.overload
|
|
127
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Foundation.Collections.IVectorView`1<Windows.Networking.BackgroundTransfer.DownloadOperation>> Windows.Networking.BackgroundTransfer.BackgroundDownloader::GetCurrentDownloadsAsync()
|
|
128
|
+
def get_current_downloads_async(cls) -> windows_foundation.IAsyncOperation[_cabc.Sequence[DownloadOperation]]: ...
|
|
129
|
+
@typing.overload
|
|
130
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Foundation.Collections.IVectorView`1<Windows.Networking.BackgroundTransfer.DownloadOperation>> Windows.Networking.BackgroundTransfer.BackgroundDownloader::GetCurrentDownloadsAsync(System.String)
|
|
131
|
+
@deprecated("GetCurrentDownloadsAsync(group) may be altered or unavailable for releases after Windows 8.1. Instead, use GetCurrentDownloadsForTransferGroupAsync.")
|
|
132
|
+
def get_current_downloads_async(cls, group: str, /) -> windows_foundation.IAsyncOperation[_cabc.Sequence[DownloadOperation]]: ...
|
|
133
|
+
# Deprecated alias of get_current_downloads_async() for pywinrt v3.x compatibility.
|
|
134
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Foundation.Collections.IVectorView`1<Windows.Networking.BackgroundTransfer.DownloadOperation>> Windows.Networking.BackgroundTransfer.BackgroundDownloader::GetCurrentDownloadsAsync(System.String)
|
|
135
|
+
@deprecated("Use get_current_downloads_async() instead.")
|
|
136
|
+
def get_current_downloads_for_group_async(cls, group: str, /) -> windows_foundation.IAsyncOperation[_cabc.Sequence[DownloadOperation]]: ...
|
|
137
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Foundation.Collections.IVectorView`1<Windows.Networking.BackgroundTransfer.DownloadOperation>> Windows.Networking.BackgroundTransfer.BackgroundDownloader::GetCurrentDownloadsForTransferGroupAsync(Windows.Networking.BackgroundTransfer.BackgroundTransferGroup)
|
|
138
|
+
def get_current_downloads_for_transfer_group_async(cls, group: BackgroundTransferGroup, /) -> windows_foundation.IAsyncOperation[_cabc.Sequence[DownloadOperation]]: ...
|
|
139
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Networking.BackgroundTransfer.UnconstrainedTransferRequestResult> Windows.Networking.BackgroundTransfer.BackgroundDownloader::RequestUnconstrainedDownloadsAsync(Windows.Foundation.Collections.IIterable`1<Windows.Networking.BackgroundTransfer.DownloadOperation>)
|
|
140
|
+
@deprecated("RequestUnconstrainedDownloadsAsync is deprecated and may not work on all platforms. For more info, see MSDN.")
|
|
141
|
+
def request_unconstrained_downloads_async(cls, operations: _cabc.Iterable[DownloadOperation], /) -> windows_foundation.IAsyncOperation[UnconstrainedTransferRequestResult]: ...
|
|
142
|
+
|
|
143
|
+
@typing.final
|
|
144
|
+
class BackgroundDownloader(IBackgroundTransferBase, winrt.system.Object, metaclass=BackgroundDownloader_Static):
|
|
145
|
+
@typing.overload
|
|
146
|
+
def __new__(cls, completion_group: BackgroundTransferCompletionGroup, /) -> typing.Self: ...
|
|
147
|
+
@typing.overload
|
|
148
|
+
def __new__(cls) -> typing.Self: ...
|
|
149
|
+
@typing.overload
|
|
150
|
+
# Windows.Networking.BackgroundTransfer.DownloadOperation Windows.Networking.BackgroundTransfer.BackgroundDownloader::CreateDownload(Windows.Foundation.Uri,Windows.Storage.IStorageFile)
|
|
151
|
+
def create_download(self, uri: windows_foundation.Uri, result_file: windows_storage.IStorageFile, /) -> DownloadOperation: ...
|
|
152
|
+
@typing.overload
|
|
153
|
+
# Windows.Networking.BackgroundTransfer.DownloadOperation Windows.Networking.BackgroundTransfer.BackgroundDownloader::CreateDownload(Windows.Foundation.Uri,Windows.Storage.IStorageFile,Windows.Storage.IStorageFile)
|
|
154
|
+
def create_download(self, uri: windows_foundation.Uri, result_file: windows_storage.IStorageFile, request_body_file: windows_storage.IStorageFile, /) -> DownloadOperation: ...
|
|
155
|
+
# Deprecated alias of create_download() for pywinrt v3.x compatibility.
|
|
156
|
+
# Windows.Networking.BackgroundTransfer.DownloadOperation Windows.Networking.BackgroundTransfer.BackgroundDownloader::CreateDownload(Windows.Foundation.Uri,Windows.Storage.IStorageFile,Windows.Storage.IStorageFile)
|
|
157
|
+
@deprecated("Use create_download() instead.")
|
|
158
|
+
def create_download_from_file(self, uri: windows_foundation.Uri, result_file: windows_storage.IStorageFile, request_body_file: windows_storage.IStorageFile, /) -> DownloadOperation: ...
|
|
159
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Networking.BackgroundTransfer.DownloadOperation> Windows.Networking.BackgroundTransfer.BackgroundDownloader::CreateDownloadAsync(Windows.Foundation.Uri,Windows.Storage.IStorageFile,Windows.Storage.Streams.IInputStream)
|
|
160
|
+
def create_download_async(self, uri: windows_foundation.Uri, result_file: windows_storage.IStorageFile, request_body_stream: windows_storage_streams.IInputStream, /) -> windows_foundation.IAsyncOperation[DownloadOperation]: ...
|
|
161
|
+
# System.Void Windows.Networking.BackgroundTransfer.BackgroundDownloader::SetRequestHeader(System.String,System.String)
|
|
162
|
+
def set_request_header(self, header_name: str, header_value: str, /) -> None: ...
|
|
163
|
+
# Windows.UI.Notifications.ToastNotification Windows.Networking.BackgroundTransfer.BackgroundDownloader::get_FailureToastNotification()
|
|
164
|
+
@_property
|
|
165
|
+
def failure_toast_notification(self) -> windows_ui_notifications.ToastNotification: ...
|
|
166
|
+
# System.Void Windows.Networking.BackgroundTransfer.BackgroundDownloader::put_FailureToastNotification(Windows.UI.Notifications.ToastNotification)
|
|
167
|
+
@failure_toast_notification.setter
|
|
168
|
+
def failure_toast_notification(self, value: windows_ui_notifications.ToastNotification) -> None: ...
|
|
169
|
+
# Windows.UI.Notifications.TileNotification Windows.Networking.BackgroundTransfer.BackgroundDownloader::get_SuccessTileNotification()
|
|
170
|
+
@_property
|
|
171
|
+
def success_tile_notification(self) -> windows_ui_notifications.TileNotification: ...
|
|
172
|
+
# System.Void Windows.Networking.BackgroundTransfer.BackgroundDownloader::put_SuccessTileNotification(Windows.UI.Notifications.TileNotification)
|
|
173
|
+
@success_tile_notification.setter
|
|
174
|
+
def success_tile_notification(self, value: windows_ui_notifications.TileNotification) -> None: ...
|
|
175
|
+
# Windows.UI.Notifications.ToastNotification Windows.Networking.BackgroundTransfer.BackgroundDownloader::get_SuccessToastNotification()
|
|
176
|
+
@_property
|
|
177
|
+
def success_toast_notification(self) -> windows_ui_notifications.ToastNotification: ...
|
|
178
|
+
# System.Void Windows.Networking.BackgroundTransfer.BackgroundDownloader::put_SuccessToastNotification(Windows.UI.Notifications.ToastNotification)
|
|
179
|
+
@success_toast_notification.setter
|
|
180
|
+
def success_toast_notification(self, value: windows_ui_notifications.ToastNotification) -> None: ...
|
|
181
|
+
# Windows.Networking.BackgroundTransfer.BackgroundTransferGroup Windows.Networking.BackgroundTransfer.BackgroundDownloader::get_TransferGroup()
|
|
182
|
+
@_property
|
|
183
|
+
def transfer_group(self) -> BackgroundTransferGroup: ...
|
|
184
|
+
# System.Void Windows.Networking.BackgroundTransfer.BackgroundDownloader::put_TransferGroup(Windows.Networking.BackgroundTransfer.BackgroundTransferGroup)
|
|
185
|
+
@transfer_group.setter
|
|
186
|
+
def transfer_group(self, value: BackgroundTransferGroup) -> None: ...
|
|
187
|
+
# Windows.UI.Notifications.TileNotification Windows.Networking.BackgroundTransfer.BackgroundDownloader::get_FailureTileNotification()
|
|
188
|
+
@_property
|
|
189
|
+
def failure_tile_notification(self) -> windows_ui_notifications.TileNotification: ...
|
|
190
|
+
# System.Void Windows.Networking.BackgroundTransfer.BackgroundDownloader::put_FailureTileNotification(Windows.UI.Notifications.TileNotification)
|
|
191
|
+
@failure_tile_notification.setter
|
|
192
|
+
def failure_tile_notification(self, value: windows_ui_notifications.TileNotification) -> None: ...
|
|
193
|
+
# Windows.Networking.BackgroundTransfer.BackgroundTransferCompletionGroup Windows.Networking.BackgroundTransfer.BackgroundDownloader::get_CompletionGroup()
|
|
194
|
+
@_property
|
|
195
|
+
def completion_group(self) -> BackgroundTransferCompletionGroup: ...
|
|
196
|
+
# Windows.Networking.BackgroundTransfer.BackgroundTransferCostPolicy Windows.Networking.BackgroundTransfer.BackgroundDownloader::get_CostPolicy()
|
|
197
|
+
@_property
|
|
198
|
+
def cost_policy(self) -> BackgroundTransferCostPolicy: ...
|
|
199
|
+
# System.Void Windows.Networking.BackgroundTransfer.BackgroundDownloader::put_CostPolicy(Windows.Networking.BackgroundTransfer.BackgroundTransferCostPolicy)
|
|
200
|
+
@cost_policy.setter
|
|
201
|
+
def cost_policy(self, value: BackgroundTransferCostPolicy) -> None: ...
|
|
202
|
+
# System.String Windows.Networking.BackgroundTransfer.BackgroundDownloader::get_Group()
|
|
203
|
+
@_property
|
|
204
|
+
@deprecated("Group may be altered or unavailable for releases after Windows 8.1. Instead, use TransferGroup.")
|
|
205
|
+
def group(self) -> str: ...
|
|
206
|
+
# System.Void Windows.Networking.BackgroundTransfer.BackgroundDownloader::put_Group(System.String)
|
|
207
|
+
@group.setter
|
|
208
|
+
@deprecated("Group may be altered or unavailable for releases after Windows 8.1. Instead, use TransferGroup.")
|
|
209
|
+
def group(self, value: str) -> None: ...
|
|
210
|
+
# System.String Windows.Networking.BackgroundTransfer.BackgroundDownloader::get_Method()
|
|
211
|
+
@_property
|
|
212
|
+
def method(self) -> str: ...
|
|
213
|
+
# System.Void Windows.Networking.BackgroundTransfer.BackgroundDownloader::put_Method(System.String)
|
|
214
|
+
@method.setter
|
|
215
|
+
def method(self, value: str) -> None: ...
|
|
216
|
+
# Windows.Security.Credentials.PasswordCredential Windows.Networking.BackgroundTransfer.BackgroundDownloader::get_ProxyCredential()
|
|
217
|
+
@_property
|
|
218
|
+
def proxy_credential(self) -> windows_security_credentials.PasswordCredential: ...
|
|
219
|
+
# System.Void Windows.Networking.BackgroundTransfer.BackgroundDownloader::put_ProxyCredential(Windows.Security.Credentials.PasswordCredential)
|
|
220
|
+
@proxy_credential.setter
|
|
221
|
+
def proxy_credential(self, value: windows_security_credentials.PasswordCredential) -> None: ...
|
|
222
|
+
# Windows.Security.Credentials.PasswordCredential Windows.Networking.BackgroundTransfer.BackgroundDownloader::get_ServerCredential()
|
|
223
|
+
@_property
|
|
224
|
+
def server_credential(self) -> windows_security_credentials.PasswordCredential: ...
|
|
225
|
+
# System.Void Windows.Networking.BackgroundTransfer.BackgroundDownloader::put_ServerCredential(Windows.Security.Credentials.PasswordCredential)
|
|
226
|
+
@server_credential.setter
|
|
227
|
+
def server_credential(self, value: windows_security_credentials.PasswordCredential) -> None: ...
|
|
228
|
+
|
|
229
|
+
@typing.final
|
|
230
|
+
class BackgroundTransferCompletionGroup(winrt.system.Object):
|
|
231
|
+
def __new__(cls) -> typing.Self: ...
|
|
232
|
+
# System.Void Windows.Networking.BackgroundTransfer.BackgroundTransferCompletionGroup::Enable()
|
|
233
|
+
def enable(self) -> None: ...
|
|
234
|
+
# System.Boolean Windows.Networking.BackgroundTransfer.BackgroundTransferCompletionGroup::get_IsEnabled()
|
|
235
|
+
@_property
|
|
236
|
+
def is_enabled(self) -> bool: ...
|
|
237
|
+
# Windows.ApplicationModel.Background.IBackgroundTrigger Windows.Networking.BackgroundTransfer.BackgroundTransferCompletionGroup::get_Trigger()
|
|
238
|
+
@_property
|
|
239
|
+
def trigger(self) -> windows_applicationmodel_background.IBackgroundTrigger: ...
|
|
240
|
+
|
|
241
|
+
@typing.final
|
|
242
|
+
class BackgroundTransferCompletionGroupTriggerDetails(winrt.system.Object):
|
|
243
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
244
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
245
|
+
# Windows.Foundation.Collections.IVectorView`1<Windows.Networking.BackgroundTransfer.DownloadOperation> Windows.Networking.BackgroundTransfer.BackgroundTransferCompletionGroupTriggerDetails::get_Downloads()
|
|
246
|
+
@_property
|
|
247
|
+
def downloads(self) -> _cabc.Sequence[DownloadOperation]: ...
|
|
248
|
+
# Windows.Foundation.Collections.IVectorView`1<Windows.Networking.BackgroundTransfer.UploadOperation> Windows.Networking.BackgroundTransfer.BackgroundTransferCompletionGroupTriggerDetails::get_Uploads()
|
|
249
|
+
@_property
|
|
250
|
+
def uploads(self) -> _cabc.Sequence[UploadOperation]: ...
|
|
251
|
+
|
|
252
|
+
@typing.final
|
|
253
|
+
class BackgroundTransferContentPart(winrt.system.Object):
|
|
254
|
+
@typing.overload
|
|
255
|
+
def __new__(cls, name: str, /) -> typing.Self: ...
|
|
256
|
+
@typing.overload
|
|
257
|
+
def __new__(cls, name: str, file_name: str, /) -> typing.Self: ...
|
|
258
|
+
@typing.overload
|
|
259
|
+
def __new__(cls) -> typing.Self: ...
|
|
260
|
+
# System.Void Windows.Networking.BackgroundTransfer.BackgroundTransferContentPart::SetFile(Windows.Storage.IStorageFile)
|
|
261
|
+
def set_file(self, value: windows_storage.IStorageFile, /) -> None: ...
|
|
262
|
+
# System.Void Windows.Networking.BackgroundTransfer.BackgroundTransferContentPart::SetHeader(System.String,System.String)
|
|
263
|
+
def set_header(self, header_name: str, header_value: str, /) -> None: ...
|
|
264
|
+
# System.Void Windows.Networking.BackgroundTransfer.BackgroundTransferContentPart::SetText(System.String)
|
|
265
|
+
def set_text(self, value: str, /) -> None: ...
|
|
266
|
+
|
|
267
|
+
@typing.final
|
|
268
|
+
class BackgroundTransferError_Static(winrt.system.Object_Static):
|
|
269
|
+
# Windows.Web.WebErrorStatus Windows.Networking.BackgroundTransfer.BackgroundTransferError::GetStatus(System.Int32)
|
|
270
|
+
def get_status(cls, hresult: winrt.system.Int32 | typing.SupportsIndex, /) -> windows_web.WebErrorStatus: ...
|
|
271
|
+
|
|
272
|
+
@typing.final
|
|
273
|
+
class BackgroundTransferError(winrt.system.Object, metaclass=BackgroundTransferError_Static):
|
|
274
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
275
|
+
"""A class of static members only, so there is nothing to create."""
|
|
276
|
+
|
|
277
|
+
@typing.final
|
|
278
|
+
class BackgroundTransferGroup_Static(winrt.system.Object_Static):
|
|
279
|
+
# Windows.Networking.BackgroundTransfer.BackgroundTransferGroup Windows.Networking.BackgroundTransfer.BackgroundTransferGroup::CreateGroup(System.String)
|
|
280
|
+
def create_group(cls, name: str, /) -> BackgroundTransferGroup: ...
|
|
281
|
+
|
|
282
|
+
@typing.final
|
|
283
|
+
class BackgroundTransferGroup(winrt.system.Object, metaclass=BackgroundTransferGroup_Static):
|
|
284
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
285
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
286
|
+
# Windows.Networking.BackgroundTransfer.BackgroundTransferBehavior Windows.Networking.BackgroundTransfer.BackgroundTransferGroup::get_TransferBehavior()
|
|
287
|
+
@_property
|
|
288
|
+
def transfer_behavior(self) -> BackgroundTransferBehavior: ...
|
|
289
|
+
# System.Void Windows.Networking.BackgroundTransfer.BackgroundTransferGroup::put_TransferBehavior(Windows.Networking.BackgroundTransfer.BackgroundTransferBehavior)
|
|
290
|
+
@transfer_behavior.setter
|
|
291
|
+
def transfer_behavior(self, value: BackgroundTransferBehavior) -> None: ...
|
|
292
|
+
# System.String Windows.Networking.BackgroundTransfer.BackgroundTransferGroup::get_Name()
|
|
293
|
+
@_property
|
|
294
|
+
def name(self) -> str: ...
|
|
295
|
+
|
|
296
|
+
@typing.final
|
|
297
|
+
class BackgroundTransferRangesDownloadedEventArgs(winrt.system.Object):
|
|
298
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
299
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
300
|
+
# Windows.Foundation.Deferral Windows.Networking.BackgroundTransfer.BackgroundTransferRangesDownloadedEventArgs::GetDeferral()
|
|
301
|
+
def get_deferral(self) -> windows_foundation.Deferral: ...
|
|
302
|
+
# Windows.Foundation.Collections.IVector`1<Windows.Networking.BackgroundTransfer.BackgroundTransferFileRange> Windows.Networking.BackgroundTransfer.BackgroundTransferRangesDownloadedEventArgs::get_AddedRanges()
|
|
303
|
+
@_property
|
|
304
|
+
def added_ranges(self) -> _cabc.MutableSequence[BackgroundTransferFileRange]: ...
|
|
305
|
+
# System.Boolean Windows.Networking.BackgroundTransfer.BackgroundTransferRangesDownloadedEventArgs::get_WasDownloadRestarted()
|
|
306
|
+
@_property
|
|
307
|
+
def was_download_restarted(self) -> bool: ...
|
|
308
|
+
|
|
309
|
+
@typing.final
|
|
310
|
+
class BackgroundUploader_Static(winrt.system.Object_Static):
|
|
311
|
+
@typing.overload
|
|
312
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Foundation.Collections.IVectorView`1<Windows.Networking.BackgroundTransfer.UploadOperation>> Windows.Networking.BackgroundTransfer.BackgroundUploader::GetCurrentUploadsAsync()
|
|
313
|
+
def get_current_uploads_async(cls) -> windows_foundation.IAsyncOperation[_cabc.Sequence[UploadOperation]]: ...
|
|
314
|
+
@typing.overload
|
|
315
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Foundation.Collections.IVectorView`1<Windows.Networking.BackgroundTransfer.UploadOperation>> Windows.Networking.BackgroundTransfer.BackgroundUploader::GetCurrentUploadsAsync(System.String)
|
|
316
|
+
@deprecated("GetCurrentUploadsAsync(group) may be altered or unavailable for releases after Windows 8.1. Instead, use GetCurrentUploadsForTransferGroupAsync.")
|
|
317
|
+
def get_current_uploads_async(cls, group: str, /) -> windows_foundation.IAsyncOperation[_cabc.Sequence[UploadOperation]]: ...
|
|
318
|
+
# Deprecated alias of get_current_uploads_async() for pywinrt v3.x compatibility.
|
|
319
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Foundation.Collections.IVectorView`1<Windows.Networking.BackgroundTransfer.UploadOperation>> Windows.Networking.BackgroundTransfer.BackgroundUploader::GetCurrentUploadsAsync(System.String)
|
|
320
|
+
@deprecated("Use get_current_uploads_async() instead.")
|
|
321
|
+
def get_current_uploads_for_group_async(cls, group: str, /) -> windows_foundation.IAsyncOperation[_cabc.Sequence[UploadOperation]]: ...
|
|
322
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Foundation.Collections.IVectorView`1<Windows.Networking.BackgroundTransfer.UploadOperation>> Windows.Networking.BackgroundTransfer.BackgroundUploader::GetCurrentUploadsForTransferGroupAsync(Windows.Networking.BackgroundTransfer.BackgroundTransferGroup)
|
|
323
|
+
def get_current_uploads_for_transfer_group_async(cls, group: BackgroundTransferGroup, /) -> windows_foundation.IAsyncOperation[_cabc.Sequence[UploadOperation]]: ...
|
|
324
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Networking.BackgroundTransfer.UnconstrainedTransferRequestResult> Windows.Networking.BackgroundTransfer.BackgroundUploader::RequestUnconstrainedUploadsAsync(Windows.Foundation.Collections.IIterable`1<Windows.Networking.BackgroundTransfer.UploadOperation>)
|
|
325
|
+
@deprecated("RequestUnconstrainedUploadsAsync is deprecated and may not work on all platforms. For more info, see MSDN.")
|
|
326
|
+
def request_unconstrained_uploads_async(cls, operations: _cabc.Iterable[UploadOperation], /) -> windows_foundation.IAsyncOperation[UnconstrainedTransferRequestResult]: ...
|
|
327
|
+
|
|
328
|
+
@typing.final
|
|
329
|
+
class BackgroundUploader(IBackgroundTransferBase, winrt.system.Object, metaclass=BackgroundUploader_Static):
|
|
330
|
+
@typing.overload
|
|
331
|
+
def __new__(cls, completion_group: BackgroundTransferCompletionGroup, /) -> typing.Self: ...
|
|
332
|
+
@typing.overload
|
|
333
|
+
def __new__(cls) -> typing.Self: ...
|
|
334
|
+
# Windows.Networking.BackgroundTransfer.UploadOperation Windows.Networking.BackgroundTransfer.BackgroundUploader::CreateUpload(Windows.Foundation.Uri,Windows.Storage.IStorageFile)
|
|
335
|
+
def create_upload(self, uri: windows_foundation.Uri, source_file: windows_storage.IStorageFile, /) -> UploadOperation: ...
|
|
336
|
+
@typing.overload
|
|
337
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Networking.BackgroundTransfer.UploadOperation> Windows.Networking.BackgroundTransfer.BackgroundUploader::CreateUploadAsync(Windows.Foundation.Uri,Windows.Foundation.Collections.IIterable`1<Windows.Networking.BackgroundTransfer.BackgroundTransferContentPart>)
|
|
338
|
+
def create_upload_async(self, uri: windows_foundation.Uri, parts: _cabc.Iterable[BackgroundTransferContentPart], /) -> windows_foundation.IAsyncOperation[UploadOperation]: ...
|
|
339
|
+
@typing.overload
|
|
340
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Networking.BackgroundTransfer.UploadOperation> Windows.Networking.BackgroundTransfer.BackgroundUploader::CreateUploadAsync(Windows.Foundation.Uri,Windows.Foundation.Collections.IIterable`1<Windows.Networking.BackgroundTransfer.BackgroundTransferContentPart>,System.String)
|
|
341
|
+
def create_upload_async(self, uri: windows_foundation.Uri, parts: _cabc.Iterable[BackgroundTransferContentPart], sub_type: str, /) -> windows_foundation.IAsyncOperation[UploadOperation]: ...
|
|
342
|
+
@typing.overload
|
|
343
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Networking.BackgroundTransfer.UploadOperation> Windows.Networking.BackgroundTransfer.BackgroundUploader::CreateUploadAsync(Windows.Foundation.Uri,Windows.Foundation.Collections.IIterable`1<Windows.Networking.BackgroundTransfer.BackgroundTransferContentPart>,System.String,System.String)
|
|
344
|
+
def create_upload_async(self, uri: windows_foundation.Uri, parts: _cabc.Iterable[BackgroundTransferContentPart], sub_type: str, boundary: str, /) -> windows_foundation.IAsyncOperation[UploadOperation]: ...
|
|
345
|
+
# Deprecated alias of create_upload_async() for pywinrt v3.x compatibility.
|
|
346
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Networking.BackgroundTransfer.UploadOperation> Windows.Networking.BackgroundTransfer.BackgroundUploader::CreateUploadAsync(Windows.Foundation.Uri,Windows.Foundation.Collections.IIterable`1<Windows.Networking.BackgroundTransfer.BackgroundTransferContentPart>)
|
|
347
|
+
@deprecated("Use create_upload_async() instead.")
|
|
348
|
+
def create_upload_with_form_data_and_auto_boundary_async(self, uri: windows_foundation.Uri, parts: _cabc.Iterable[BackgroundTransferContentPart], /) -> windows_foundation.IAsyncOperation[UploadOperation]: ...
|
|
349
|
+
# Deprecated alias of create_upload_async() for pywinrt v3.x compatibility.
|
|
350
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Networking.BackgroundTransfer.UploadOperation> Windows.Networking.BackgroundTransfer.BackgroundUploader::CreateUploadAsync(Windows.Foundation.Uri,Windows.Foundation.Collections.IIterable`1<Windows.Networking.BackgroundTransfer.BackgroundTransferContentPart>,System.String,System.String)
|
|
351
|
+
@deprecated("Use create_upload_async() instead.")
|
|
352
|
+
def create_upload_with_sub_type_and_boundary_async(self, uri: windows_foundation.Uri, parts: _cabc.Iterable[BackgroundTransferContentPart], sub_type: str, boundary: str, /) -> windows_foundation.IAsyncOperation[UploadOperation]: ...
|
|
353
|
+
# Deprecated alias of create_upload_async() for pywinrt v3.x compatibility.
|
|
354
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Networking.BackgroundTransfer.UploadOperation> Windows.Networking.BackgroundTransfer.BackgroundUploader::CreateUploadAsync(Windows.Foundation.Uri,Windows.Foundation.Collections.IIterable`1<Windows.Networking.BackgroundTransfer.BackgroundTransferContentPart>,System.String)
|
|
355
|
+
@deprecated("Use create_upload_async() instead.")
|
|
356
|
+
def create_upload_with_sub_type_async(self, uri: windows_foundation.Uri, parts: _cabc.Iterable[BackgroundTransferContentPart], sub_type: str, /) -> windows_foundation.IAsyncOperation[UploadOperation]: ...
|
|
357
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Networking.BackgroundTransfer.UploadOperation> Windows.Networking.BackgroundTransfer.BackgroundUploader::CreateUploadFromStreamAsync(Windows.Foundation.Uri,Windows.Storage.Streams.IInputStream)
|
|
358
|
+
def create_upload_from_stream_async(self, uri: windows_foundation.Uri, source_stream: windows_storage_streams.IInputStream, /) -> windows_foundation.IAsyncOperation[UploadOperation]: ...
|
|
359
|
+
# System.Void Windows.Networking.BackgroundTransfer.BackgroundUploader::SetRequestHeader(System.String,System.String)
|
|
360
|
+
def set_request_header(self, header_name: str, header_value: str, /) -> None: ...
|
|
361
|
+
# Windows.Security.Credentials.PasswordCredential Windows.Networking.BackgroundTransfer.BackgroundUploader::get_ServerCredential()
|
|
362
|
+
@_property
|
|
363
|
+
def server_credential(self) -> windows_security_credentials.PasswordCredential: ...
|
|
364
|
+
# System.Void Windows.Networking.BackgroundTransfer.BackgroundUploader::put_ServerCredential(Windows.Security.Credentials.PasswordCredential)
|
|
365
|
+
@server_credential.setter
|
|
366
|
+
def server_credential(self, value: windows_security_credentials.PasswordCredential) -> None: ...
|
|
367
|
+
# Windows.Security.Credentials.PasswordCredential Windows.Networking.BackgroundTransfer.BackgroundUploader::get_ProxyCredential()
|
|
368
|
+
@_property
|
|
369
|
+
def proxy_credential(self) -> windows_security_credentials.PasswordCredential: ...
|
|
370
|
+
# System.Void Windows.Networking.BackgroundTransfer.BackgroundUploader::put_ProxyCredential(Windows.Security.Credentials.PasswordCredential)
|
|
371
|
+
@proxy_credential.setter
|
|
372
|
+
def proxy_credential(self, value: windows_security_credentials.PasswordCredential) -> None: ...
|
|
373
|
+
# System.String Windows.Networking.BackgroundTransfer.BackgroundUploader::get_Method()
|
|
374
|
+
@_property
|
|
375
|
+
def method(self) -> str: ...
|
|
376
|
+
# System.Void Windows.Networking.BackgroundTransfer.BackgroundUploader::put_Method(System.String)
|
|
377
|
+
@method.setter
|
|
378
|
+
def method(self, value: str) -> None: ...
|
|
379
|
+
# System.String Windows.Networking.BackgroundTransfer.BackgroundUploader::get_Group()
|
|
380
|
+
@_property
|
|
381
|
+
@deprecated("Group may be altered or unavailable for releases after Windows 8.1. Instead, use TransferGroup.")
|
|
382
|
+
def group(self) -> str: ...
|
|
383
|
+
# System.Void Windows.Networking.BackgroundTransfer.BackgroundUploader::put_Group(System.String)
|
|
384
|
+
@group.setter
|
|
385
|
+
@deprecated("Group may be altered or unavailable for releases after Windows 8.1. Instead, use TransferGroup.")
|
|
386
|
+
def group(self, value: str) -> None: ...
|
|
387
|
+
# Windows.Networking.BackgroundTransfer.BackgroundTransferCostPolicy Windows.Networking.BackgroundTransfer.BackgroundUploader::get_CostPolicy()
|
|
388
|
+
@_property
|
|
389
|
+
def cost_policy(self) -> BackgroundTransferCostPolicy: ...
|
|
390
|
+
# System.Void Windows.Networking.BackgroundTransfer.BackgroundUploader::put_CostPolicy(Windows.Networking.BackgroundTransfer.BackgroundTransferCostPolicy)
|
|
391
|
+
@cost_policy.setter
|
|
392
|
+
def cost_policy(self, value: BackgroundTransferCostPolicy) -> None: ...
|
|
393
|
+
# Windows.UI.Notifications.TileNotification Windows.Networking.BackgroundTransfer.BackgroundUploader::get_FailureTileNotification()
|
|
394
|
+
@_property
|
|
395
|
+
def failure_tile_notification(self) -> windows_ui_notifications.TileNotification: ...
|
|
396
|
+
# System.Void Windows.Networking.BackgroundTransfer.BackgroundUploader::put_FailureTileNotification(Windows.UI.Notifications.TileNotification)
|
|
397
|
+
@failure_tile_notification.setter
|
|
398
|
+
def failure_tile_notification(self, value: windows_ui_notifications.TileNotification) -> None: ...
|
|
399
|
+
# Windows.Networking.BackgroundTransfer.BackgroundTransferGroup Windows.Networking.BackgroundTransfer.BackgroundUploader::get_TransferGroup()
|
|
400
|
+
@_property
|
|
401
|
+
def transfer_group(self) -> BackgroundTransferGroup: ...
|
|
402
|
+
# System.Void Windows.Networking.BackgroundTransfer.BackgroundUploader::put_TransferGroup(Windows.Networking.BackgroundTransfer.BackgroundTransferGroup)
|
|
403
|
+
@transfer_group.setter
|
|
404
|
+
def transfer_group(self, value: BackgroundTransferGroup) -> None: ...
|
|
405
|
+
# Windows.UI.Notifications.ToastNotification Windows.Networking.BackgroundTransfer.BackgroundUploader::get_SuccessToastNotification()
|
|
406
|
+
@_property
|
|
407
|
+
def success_toast_notification(self) -> windows_ui_notifications.ToastNotification: ...
|
|
408
|
+
# System.Void Windows.Networking.BackgroundTransfer.BackgroundUploader::put_SuccessToastNotification(Windows.UI.Notifications.ToastNotification)
|
|
409
|
+
@success_toast_notification.setter
|
|
410
|
+
def success_toast_notification(self, value: windows_ui_notifications.ToastNotification) -> None: ...
|
|
411
|
+
# Windows.UI.Notifications.TileNotification Windows.Networking.BackgroundTransfer.BackgroundUploader::get_SuccessTileNotification()
|
|
412
|
+
@_property
|
|
413
|
+
def success_tile_notification(self) -> windows_ui_notifications.TileNotification: ...
|
|
414
|
+
# System.Void Windows.Networking.BackgroundTransfer.BackgroundUploader::put_SuccessTileNotification(Windows.UI.Notifications.TileNotification)
|
|
415
|
+
@success_tile_notification.setter
|
|
416
|
+
def success_tile_notification(self, value: windows_ui_notifications.TileNotification) -> None: ...
|
|
417
|
+
# Windows.UI.Notifications.ToastNotification Windows.Networking.BackgroundTransfer.BackgroundUploader::get_FailureToastNotification()
|
|
418
|
+
@_property
|
|
419
|
+
def failure_toast_notification(self) -> windows_ui_notifications.ToastNotification: ...
|
|
420
|
+
# System.Void Windows.Networking.BackgroundTransfer.BackgroundUploader::put_FailureToastNotification(Windows.UI.Notifications.ToastNotification)
|
|
421
|
+
@failure_toast_notification.setter
|
|
422
|
+
def failure_toast_notification(self, value: windows_ui_notifications.ToastNotification) -> None: ...
|
|
423
|
+
# Windows.Networking.BackgroundTransfer.BackgroundTransferCompletionGroup Windows.Networking.BackgroundTransfer.BackgroundUploader::get_CompletionGroup()
|
|
424
|
+
@_property
|
|
425
|
+
def completion_group(self) -> BackgroundTransferCompletionGroup: ...
|
|
426
|
+
|
|
427
|
+
@typing.final
|
|
428
|
+
class ContentPrefetcher_Static(winrt.system.Object_Static):
|
|
429
|
+
# Windows.Foundation.Uri Windows.Networking.BackgroundTransfer.ContentPrefetcher::get_IndirectContentUri()
|
|
430
|
+
@_property
|
|
431
|
+
def indirect_content_uri(cls) -> windows_foundation.Uri: ...
|
|
432
|
+
# System.Void Windows.Networking.BackgroundTransfer.ContentPrefetcher::put_IndirectContentUri(Windows.Foundation.Uri)
|
|
433
|
+
@indirect_content_uri.setter
|
|
434
|
+
def indirect_content_uri(cls, value: windows_foundation.Uri) -> None: ...
|
|
435
|
+
# Windows.Foundation.Collections.IVector`1<Windows.Foundation.Uri> Windows.Networking.BackgroundTransfer.ContentPrefetcher::get_ContentUris()
|
|
436
|
+
@_property
|
|
437
|
+
def content_uris(cls) -> _cabc.MutableSequence[windows_foundation.Uri]: ...
|
|
438
|
+
# Windows.Foundation.IReference`1<Windows.Foundation.DateTime> Windows.Networking.BackgroundTransfer.ContentPrefetcher::get_LastSuccessfulPrefetchTime()
|
|
439
|
+
@_property
|
|
440
|
+
def last_successful_prefetch_time(cls) -> datetime.datetime | None: ...
|
|
441
|
+
|
|
442
|
+
@typing.final
|
|
443
|
+
class ContentPrefetcher(winrt.system.Object, metaclass=ContentPrefetcher_Static):
|
|
444
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
445
|
+
"""A class of static members only, so there is nothing to create."""
|
|
446
|
+
|
|
447
|
+
@typing.final
|
|
448
|
+
class DownloadOperation(IBackgroundTransferOperationPriority, IBackgroundTransferOperation, winrt.system.Object):
|
|
449
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
450
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
451
|
+
# Windows.Foundation.IAsyncOperationWithProgress`2<Windows.Networking.BackgroundTransfer.DownloadOperation,Windows.Networking.BackgroundTransfer.DownloadOperation> Windows.Networking.BackgroundTransfer.DownloadOperation::AttachAsync()
|
|
452
|
+
def attach_async(self) -> windows_foundation.IAsyncOperationWithProgress[DownloadOperation, DownloadOperation]: ...
|
|
453
|
+
# Windows.Foundation.Collections.IVector`1<Windows.Networking.BackgroundTransfer.BackgroundTransferFileRange> Windows.Networking.BackgroundTransfer.DownloadOperation::GetDownloadedRanges()
|
|
454
|
+
def get_downloaded_ranges(self) -> _cabc.MutableSequence[BackgroundTransferFileRange]: ...
|
|
455
|
+
# Windows.Networking.BackgroundTransfer.ResponseInformation Windows.Networking.BackgroundTransfer.DownloadOperation::GetResponseInformation()
|
|
456
|
+
def get_response_information(self) -> ResponseInformation: ...
|
|
457
|
+
# Windows.Storage.Streams.IRandomAccessStreamReference Windows.Networking.BackgroundTransfer.DownloadOperation::GetResultRandomAccessStreamReference()
|
|
458
|
+
def get_result_random_access_stream_reference(self) -> windows_storage_streams.IRandomAccessStreamReference: ...
|
|
459
|
+
# Windows.Storage.Streams.IInputStream Windows.Networking.BackgroundTransfer.DownloadOperation::GetResultStreamAt(System.UInt64)
|
|
460
|
+
def get_result_stream_at(self, position: winrt.system.UInt64 | typing.SupportsIndex, /) -> windows_storage_streams.IInputStream: ...
|
|
461
|
+
# System.Void Windows.Networking.BackgroundTransfer.DownloadOperation::MakeCurrentInTransferGroup()
|
|
462
|
+
def make_current_in_transfer_group(self) -> None: ...
|
|
463
|
+
# System.Void Windows.Networking.BackgroundTransfer.DownloadOperation::Pause()
|
|
464
|
+
def pause(self) -> None: ...
|
|
465
|
+
# System.Void Windows.Networking.BackgroundTransfer.DownloadOperation::RemoveRequestHeader(System.String)
|
|
466
|
+
def remove_request_header(self, header_name: str, /) -> None: ...
|
|
467
|
+
# System.Void Windows.Networking.BackgroundTransfer.DownloadOperation::Resume()
|
|
468
|
+
def resume(self) -> None: ...
|
|
469
|
+
# System.Void Windows.Networking.BackgroundTransfer.DownloadOperation::SetRequestHeader(System.String,System.String)
|
|
470
|
+
def set_request_header(self, header_name: str, header_value: str, /) -> None: ...
|
|
471
|
+
# Windows.Foundation.IAsyncOperationWithProgress`2<Windows.Networking.BackgroundTransfer.DownloadOperation,Windows.Networking.BackgroundTransfer.DownloadOperation> Windows.Networking.BackgroundTransfer.DownloadOperation::StartAsync()
|
|
472
|
+
def start_async(self) -> windows_foundation.IAsyncOperationWithProgress[DownloadOperation, DownloadOperation]: ...
|
|
473
|
+
# Windows.Foundation.EventRegistrationToken Windows.Networking.BackgroundTransfer.DownloadOperation::add_RangesDownloaded(Windows.Foundation.TypedEventHandler`2<Windows.Networking.BackgroundTransfer.DownloadOperation,Windows.Networking.BackgroundTransfer.BackgroundTransferRangesDownloadedEventArgs>)
|
|
474
|
+
def add_ranges_downloaded(self, event_handler: windows_foundation.TypedEventHandler[DownloadOperation, BackgroundTransferRangesDownloadedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
475
|
+
# System.Void Windows.Networking.BackgroundTransfer.DownloadOperation::remove_RangesDownloaded(Windows.Foundation.EventRegistrationToken)
|
|
476
|
+
def remove_ranges_downloaded(self, event_cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
477
|
+
# Windows.Networking.BackgroundTransfer.BackgroundTransferCostPolicy Windows.Networking.BackgroundTransfer.DownloadOperation::get_CostPolicy()
|
|
478
|
+
@_property
|
|
479
|
+
def cost_policy(self) -> BackgroundTransferCostPolicy: ...
|
|
480
|
+
# System.Void Windows.Networking.BackgroundTransfer.DownloadOperation::put_CostPolicy(Windows.Networking.BackgroundTransfer.BackgroundTransferCostPolicy)
|
|
481
|
+
@cost_policy.setter
|
|
482
|
+
def cost_policy(self, value: BackgroundTransferCostPolicy) -> None: ...
|
|
483
|
+
# Windows.Foundation.Uri Windows.Networking.BackgroundTransfer.DownloadOperation::get_RequestedUri()
|
|
484
|
+
@_property
|
|
485
|
+
def requested_uri(self) -> windows_foundation.Uri: ...
|
|
486
|
+
# System.Void Windows.Networking.BackgroundTransfer.DownloadOperation::put_RequestedUri(Windows.Foundation.Uri)
|
|
487
|
+
@requested_uri.setter
|
|
488
|
+
def requested_uri(self, value: windows_foundation.Uri) -> None: ...
|
|
489
|
+
# System.String Windows.Networking.BackgroundTransfer.DownloadOperation::get_Method()
|
|
490
|
+
@_property
|
|
491
|
+
def method(self) -> str: ...
|
|
492
|
+
# System.String Windows.Networking.BackgroundTransfer.DownloadOperation::get_Group()
|
|
493
|
+
@_property
|
|
494
|
+
@deprecated("Group may be altered or unavailable for releases after Windows 8.1. Instead, use TransferGroup.")
|
|
495
|
+
def group(self) -> str: ...
|
|
496
|
+
# System.Guid Windows.Networking.BackgroundTransfer.DownloadOperation::get_Guid()
|
|
497
|
+
@_property
|
|
498
|
+
def guid(self) -> _uuid.UUID: ...
|
|
499
|
+
# Windows.Networking.BackgroundTransfer.BackgroundTransferPriority Windows.Networking.BackgroundTransfer.DownloadOperation::get_Priority()
|
|
500
|
+
@_property
|
|
501
|
+
def priority(self) -> BackgroundTransferPriority: ...
|
|
502
|
+
# System.Void Windows.Networking.BackgroundTransfer.DownloadOperation::put_Priority(Windows.Networking.BackgroundTransfer.BackgroundTransferPriority)
|
|
503
|
+
@priority.setter
|
|
504
|
+
def priority(self, value: BackgroundTransferPriority) -> None: ...
|
|
505
|
+
# Windows.Networking.BackgroundTransfer.BackgroundDownloadProgress Windows.Networking.BackgroundTransfer.DownloadOperation::get_Progress()
|
|
506
|
+
@_property
|
|
507
|
+
def progress(self) -> BackgroundDownloadProgress: ...
|
|
508
|
+
# Windows.Storage.IStorageFile Windows.Networking.BackgroundTransfer.DownloadOperation::get_ResultFile()
|
|
509
|
+
@_property
|
|
510
|
+
def result_file(self) -> windows_storage.IStorageFile: ...
|
|
511
|
+
# Windows.Networking.BackgroundTransfer.BackgroundTransferGroup Windows.Networking.BackgroundTransfer.DownloadOperation::get_TransferGroup()
|
|
512
|
+
@_property
|
|
513
|
+
def transfer_group(self) -> BackgroundTransferGroup: ...
|
|
514
|
+
# System.Boolean Windows.Networking.BackgroundTransfer.DownloadOperation::get_IsRandomAccessRequired()
|
|
515
|
+
@_property
|
|
516
|
+
def is_random_access_required(self) -> bool: ...
|
|
517
|
+
# System.Void Windows.Networking.BackgroundTransfer.DownloadOperation::put_IsRandomAccessRequired(System.Boolean)
|
|
518
|
+
@is_random_access_required.setter
|
|
519
|
+
def is_random_access_required(self, value: bool) -> None: ...
|
|
520
|
+
# Windows.Foundation.IReference`1<Windows.Web.WebErrorStatus> Windows.Networking.BackgroundTransfer.DownloadOperation::get_CurrentWebErrorStatus()
|
|
521
|
+
@_property
|
|
522
|
+
def current_web_error_status(self) -> windows_web.WebErrorStatus | None: ...
|
|
523
|
+
# Windows.Foundation.Collections.IVector`1<Windows.Web.WebErrorStatus> Windows.Networking.BackgroundTransfer.DownloadOperation::get_RecoverableWebErrorStatuses()
|
|
524
|
+
@_property
|
|
525
|
+
def recoverable_web_error_statuses(self) -> _cabc.MutableSequence[windows_web.WebErrorStatus]: ...
|
|
526
|
+
|
|
527
|
+
@typing.final
|
|
528
|
+
class ResponseInformation(winrt.system.Object):
|
|
529
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
530
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
531
|
+
# Windows.Foundation.Uri Windows.Networking.BackgroundTransfer.ResponseInformation::get_ActualUri()
|
|
532
|
+
@_property
|
|
533
|
+
def actual_uri(self) -> windows_foundation.Uri: ...
|
|
534
|
+
# Windows.Foundation.Collections.IMapView`2<System.String,System.String> Windows.Networking.BackgroundTransfer.ResponseInformation::get_Headers()
|
|
535
|
+
@_property
|
|
536
|
+
def headers(self) -> _cabc.Mapping[str, str]: ...
|
|
537
|
+
# System.Boolean Windows.Networking.BackgroundTransfer.ResponseInformation::get_IsResumable()
|
|
538
|
+
@_property
|
|
539
|
+
def is_resumable(self) -> bool: ...
|
|
540
|
+
# System.UInt32 Windows.Networking.BackgroundTransfer.ResponseInformation::get_StatusCode()
|
|
541
|
+
@_property
|
|
542
|
+
def status_code(self) -> winrt.system.UInt32: ...
|
|
543
|
+
|
|
544
|
+
@typing.final
|
|
545
|
+
@deprecated("UnconstrainedTransferRequestResult is deprecated and may not work on all platforms. For more info, see MSDN.")
|
|
546
|
+
class UnconstrainedTransferRequestResult(winrt.system.Object):
|
|
547
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
548
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
549
|
+
# System.Boolean Windows.Networking.BackgroundTransfer.UnconstrainedTransferRequestResult::get_IsUnconstrained()
|
|
550
|
+
@_property
|
|
551
|
+
@deprecated("IsUnconstrained is deprecated and may not work on all platforms. For more info, see MSDN.")
|
|
552
|
+
def is_unconstrained(self) -> bool: ...
|
|
553
|
+
|
|
554
|
+
@typing.final
|
|
555
|
+
class UploadOperation(IBackgroundTransferOperationPriority, IBackgroundTransferOperation, winrt.system.Object):
|
|
556
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
557
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
558
|
+
# Windows.Foundation.IAsyncOperationWithProgress`2<Windows.Networking.BackgroundTransfer.UploadOperation,Windows.Networking.BackgroundTransfer.UploadOperation> Windows.Networking.BackgroundTransfer.UploadOperation::AttachAsync()
|
|
559
|
+
def attach_async(self) -> windows_foundation.IAsyncOperationWithProgress[UploadOperation, UploadOperation]: ...
|
|
560
|
+
# Windows.Networking.BackgroundTransfer.ResponseInformation Windows.Networking.BackgroundTransfer.UploadOperation::GetResponseInformation()
|
|
561
|
+
def get_response_information(self) -> ResponseInformation: ...
|
|
562
|
+
# Windows.Storage.Streams.IInputStream Windows.Networking.BackgroundTransfer.UploadOperation::GetResultStreamAt(System.UInt64)
|
|
563
|
+
def get_result_stream_at(self, position: winrt.system.UInt64 | typing.SupportsIndex, /) -> windows_storage_streams.IInputStream: ...
|
|
564
|
+
# System.Void Windows.Networking.BackgroundTransfer.UploadOperation::MakeCurrentInTransferGroup()
|
|
565
|
+
def make_current_in_transfer_group(self) -> None: ...
|
|
566
|
+
# System.Void Windows.Networking.BackgroundTransfer.UploadOperation::RemoveRequestHeader(System.String)
|
|
567
|
+
def remove_request_header(self, header_name: str, /) -> None: ...
|
|
568
|
+
# System.Void Windows.Networking.BackgroundTransfer.UploadOperation::SetRequestHeader(System.String,System.String)
|
|
569
|
+
def set_request_header(self, header_name: str, header_value: str, /) -> None: ...
|
|
570
|
+
# Windows.Foundation.IAsyncOperationWithProgress`2<Windows.Networking.BackgroundTransfer.UploadOperation,Windows.Networking.BackgroundTransfer.UploadOperation> Windows.Networking.BackgroundTransfer.UploadOperation::StartAsync()
|
|
571
|
+
def start_async(self) -> windows_foundation.IAsyncOperationWithProgress[UploadOperation, UploadOperation]: ...
|
|
572
|
+
# Windows.Networking.BackgroundTransfer.BackgroundTransferCostPolicy Windows.Networking.BackgroundTransfer.UploadOperation::get_CostPolicy()
|
|
573
|
+
@_property
|
|
574
|
+
def cost_policy(self) -> BackgroundTransferCostPolicy: ...
|
|
575
|
+
# System.Void Windows.Networking.BackgroundTransfer.UploadOperation::put_CostPolicy(Windows.Networking.BackgroundTransfer.BackgroundTransferCostPolicy)
|
|
576
|
+
@cost_policy.setter
|
|
577
|
+
def cost_policy(self, value: BackgroundTransferCostPolicy) -> None: ...
|
|
578
|
+
# System.String Windows.Networking.BackgroundTransfer.UploadOperation::get_Group()
|
|
579
|
+
@_property
|
|
580
|
+
@deprecated("Group may be altered or unavailable for releases after Windows 8.1. Instead, use TransferGroup.")
|
|
581
|
+
def group(self) -> str: ...
|
|
582
|
+
# System.Guid Windows.Networking.BackgroundTransfer.UploadOperation::get_Guid()
|
|
583
|
+
@_property
|
|
584
|
+
def guid(self) -> _uuid.UUID: ...
|
|
585
|
+
# System.String Windows.Networking.BackgroundTransfer.UploadOperation::get_Method()
|
|
586
|
+
@_property
|
|
587
|
+
def method(self) -> str: ...
|
|
588
|
+
# Windows.Foundation.Uri Windows.Networking.BackgroundTransfer.UploadOperation::get_RequestedUri()
|
|
589
|
+
@_property
|
|
590
|
+
def requested_uri(self) -> windows_foundation.Uri: ...
|
|
591
|
+
# Windows.Networking.BackgroundTransfer.BackgroundTransferPriority Windows.Networking.BackgroundTransfer.UploadOperation::get_Priority()
|
|
592
|
+
@_property
|
|
593
|
+
def priority(self) -> BackgroundTransferPriority: ...
|
|
594
|
+
# System.Void Windows.Networking.BackgroundTransfer.UploadOperation::put_Priority(Windows.Networking.BackgroundTransfer.BackgroundTransferPriority)
|
|
595
|
+
@priority.setter
|
|
596
|
+
def priority(self, value: BackgroundTransferPriority) -> None: ...
|
|
597
|
+
# Windows.Networking.BackgroundTransfer.BackgroundUploadProgress Windows.Networking.BackgroundTransfer.UploadOperation::get_Progress()
|
|
598
|
+
@_property
|
|
599
|
+
def progress(self) -> BackgroundUploadProgress: ...
|
|
600
|
+
# Windows.Storage.IStorageFile Windows.Networking.BackgroundTransfer.UploadOperation::get_SourceFile()
|
|
601
|
+
@_property
|
|
602
|
+
def source_file(self) -> windows_storage.IStorageFile: ...
|
|
603
|
+
# Windows.Networking.BackgroundTransfer.BackgroundTransferGroup Windows.Networking.BackgroundTransfer.UploadOperation::get_TransferGroup()
|
|
604
|
+
@_property
|
|
605
|
+
def transfer_group(self) -> BackgroundTransferGroup: ...
|
|
606
|
+
|
|
607
|
+
class IBackgroundTransferBase(winrt.system.Object):
|
|
608
|
+
# System.Void Windows.Networking.BackgroundTransfer.IBackgroundTransferBase::SetRequestHeader(System.String,System.String)
|
|
609
|
+
@abstractmethod
|
|
610
|
+
def set_request_header(self, header_name: str, header_value: str, /) -> None: ...
|
|
611
|
+
# Windows.Networking.BackgroundTransfer.BackgroundTransferCostPolicy Windows.Networking.BackgroundTransfer.IBackgroundTransferBase::get_CostPolicy()
|
|
612
|
+
@_property
|
|
613
|
+
@abstractmethod
|
|
614
|
+
def cost_policy(self) -> BackgroundTransferCostPolicy: ...
|
|
615
|
+
# System.Void Windows.Networking.BackgroundTransfer.IBackgroundTransferBase::put_CostPolicy(Windows.Networking.BackgroundTransfer.BackgroundTransferCostPolicy)
|
|
616
|
+
@cost_policy.setter
|
|
617
|
+
@abstractmethod
|
|
618
|
+
def cost_policy(self, value: BackgroundTransferCostPolicy) -> None: ...
|
|
619
|
+
# System.String Windows.Networking.BackgroundTransfer.IBackgroundTransferBase::get_Group()
|
|
620
|
+
@_property
|
|
621
|
+
@deprecated("Group may be altered or unavailable for releases after Windows 8.1. Instead, use TransferGroup.")
|
|
622
|
+
@abstractmethod
|
|
623
|
+
def group(self) -> str: ...
|
|
624
|
+
# System.Void Windows.Networking.BackgroundTransfer.IBackgroundTransferBase::put_Group(System.String)
|
|
625
|
+
@group.setter
|
|
626
|
+
@deprecated("Group may be altered or unavailable for releases after Windows 8.1. Instead, use TransferGroup.")
|
|
627
|
+
@abstractmethod
|
|
628
|
+
def group(self, value: str) -> None: ...
|
|
629
|
+
# System.String Windows.Networking.BackgroundTransfer.IBackgroundTransferBase::get_Method()
|
|
630
|
+
@_property
|
|
631
|
+
@abstractmethod
|
|
632
|
+
def method(self) -> str: ...
|
|
633
|
+
# System.Void Windows.Networking.BackgroundTransfer.IBackgroundTransferBase::put_Method(System.String)
|
|
634
|
+
@method.setter
|
|
635
|
+
@abstractmethod
|
|
636
|
+
def method(self, value: str) -> None: ...
|
|
637
|
+
# Windows.Security.Credentials.PasswordCredential Windows.Networking.BackgroundTransfer.IBackgroundTransferBase::get_ProxyCredential()
|
|
638
|
+
@_property
|
|
639
|
+
@abstractmethod
|
|
640
|
+
def proxy_credential(self) -> windows_security_credentials.PasswordCredential: ...
|
|
641
|
+
# System.Void Windows.Networking.BackgroundTransfer.IBackgroundTransferBase::put_ProxyCredential(Windows.Security.Credentials.PasswordCredential)
|
|
642
|
+
@proxy_credential.setter
|
|
643
|
+
@abstractmethod
|
|
644
|
+
def proxy_credential(self, value: windows_security_credentials.PasswordCredential) -> None: ...
|
|
645
|
+
# Windows.Security.Credentials.PasswordCredential Windows.Networking.BackgroundTransfer.IBackgroundTransferBase::get_ServerCredential()
|
|
646
|
+
@_property
|
|
647
|
+
@abstractmethod
|
|
648
|
+
def server_credential(self) -> windows_security_credentials.PasswordCredential: ...
|
|
649
|
+
# System.Void Windows.Networking.BackgroundTransfer.IBackgroundTransferBase::put_ServerCredential(Windows.Security.Credentials.PasswordCredential)
|
|
650
|
+
@server_credential.setter
|
|
651
|
+
@abstractmethod
|
|
652
|
+
def server_credential(self, value: windows_security_credentials.PasswordCredential) -> None: ...
|
|
653
|
+
|
|
654
|
+
class IBackgroundTransferContentPartFactory(winrt.system.Object):
|
|
655
|
+
# Windows.Networking.BackgroundTransfer.BackgroundTransferContentPart Windows.Networking.BackgroundTransfer.IBackgroundTransferContentPartFactory::CreateWithName(System.String)
|
|
656
|
+
@abstractmethod
|
|
657
|
+
def create_with_name(self, name: str, /) -> BackgroundTransferContentPart: ...
|
|
658
|
+
# Windows.Networking.BackgroundTransfer.BackgroundTransferContentPart Windows.Networking.BackgroundTransfer.IBackgroundTransferContentPartFactory::CreateWithNameAndFileName(System.String,System.String)
|
|
659
|
+
@abstractmethod
|
|
660
|
+
def create_with_name_and_file_name(self, name: str, file_name: str, /) -> BackgroundTransferContentPart: ...
|
|
661
|
+
|
|
662
|
+
class IBackgroundTransferOperation(winrt.system.Object):
|
|
663
|
+
# Windows.Networking.BackgroundTransfer.ResponseInformation Windows.Networking.BackgroundTransfer.IBackgroundTransferOperation::GetResponseInformation()
|
|
664
|
+
@abstractmethod
|
|
665
|
+
def get_response_information(self) -> ResponseInformation: ...
|
|
666
|
+
# Windows.Storage.Streams.IInputStream Windows.Networking.BackgroundTransfer.IBackgroundTransferOperation::GetResultStreamAt(System.UInt64)
|
|
667
|
+
@abstractmethod
|
|
668
|
+
def get_result_stream_at(self, position: winrt.system.UInt64 | typing.SupportsIndex, /) -> windows_storage_streams.IInputStream: ...
|
|
669
|
+
# Windows.Networking.BackgroundTransfer.BackgroundTransferCostPolicy Windows.Networking.BackgroundTransfer.IBackgroundTransferOperation::get_CostPolicy()
|
|
670
|
+
@_property
|
|
671
|
+
@abstractmethod
|
|
672
|
+
def cost_policy(self) -> BackgroundTransferCostPolicy: ...
|
|
673
|
+
# System.Void Windows.Networking.BackgroundTransfer.IBackgroundTransferOperation::put_CostPolicy(Windows.Networking.BackgroundTransfer.BackgroundTransferCostPolicy)
|
|
674
|
+
@cost_policy.setter
|
|
675
|
+
@abstractmethod
|
|
676
|
+
def cost_policy(self, value: BackgroundTransferCostPolicy) -> None: ...
|
|
677
|
+
# System.String Windows.Networking.BackgroundTransfer.IBackgroundTransferOperation::get_Group()
|
|
678
|
+
@_property
|
|
679
|
+
@deprecated("Group may be altered or unavailable for releases after Windows 8.1. Instead, use TransferGroup.")
|
|
680
|
+
@abstractmethod
|
|
681
|
+
def group(self) -> str: ...
|
|
682
|
+
# System.Guid Windows.Networking.BackgroundTransfer.IBackgroundTransferOperation::get_Guid()
|
|
683
|
+
@_property
|
|
684
|
+
@abstractmethod
|
|
685
|
+
def guid(self) -> _uuid.UUID: ...
|
|
686
|
+
# System.String Windows.Networking.BackgroundTransfer.IBackgroundTransferOperation::get_Method()
|
|
687
|
+
@_property
|
|
688
|
+
@abstractmethod
|
|
689
|
+
def method(self) -> str: ...
|
|
690
|
+
# Windows.Foundation.Uri Windows.Networking.BackgroundTransfer.IBackgroundTransferOperation::get_RequestedUri()
|
|
691
|
+
@_property
|
|
692
|
+
@abstractmethod
|
|
693
|
+
def requested_uri(self) -> windows_foundation.Uri: ...
|
|
694
|
+
|
|
695
|
+
class IBackgroundTransferOperationPriority(winrt.system.Object):
|
|
696
|
+
# Windows.Networking.BackgroundTransfer.BackgroundTransferPriority Windows.Networking.BackgroundTransfer.IBackgroundTransferOperationPriority::get_Priority()
|
|
697
|
+
@_property
|
|
698
|
+
@abstractmethod
|
|
699
|
+
def priority(self) -> BackgroundTransferPriority: ...
|
|
700
|
+
# System.Void Windows.Networking.BackgroundTransfer.IBackgroundTransferOperationPriority::put_Priority(Windows.Networking.BackgroundTransfer.BackgroundTransferPriority)
|
|
701
|
+
@priority.setter
|
|
702
|
+
@abstractmethod
|
|
703
|
+
def priority(self, value: BackgroundTransferPriority) -> None: ...
|
|
704
|
+
|
|
Binary file
|
|
File without changes
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: winrt-Windows.Networking.BackgroundTransfer
|
|
3
|
+
Version: 4!10.0.28000.2705
|
|
4
|
+
Summary: PyWinRT projection of the Windows.Networking.BackgroundTransfer namespace
|
|
5
|
+
Project-URL: Documentation, https://pywinrt.readthedocs.io
|
|
6
|
+
Project-URL: Repository, https://github.com/pywinrt/pywinrt
|
|
7
|
+
Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/projection/winrt/CHANGELOG.md
|
|
8
|
+
License-Expression: MIT
|
|
9
|
+
License-File: LICENSE
|
|
10
|
+
Classifier: Intended Audience :: Developers
|
|
11
|
+
Classifier: Operating System :: Microsoft :: Windows
|
|
12
|
+
Classifier: Programming Language :: Python :: 3
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.15
|
|
18
|
+
Classifier: Programming Language :: Python :: Free Threading :: 2 - Beta
|
|
19
|
+
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
20
|
+
Classifier: Typing :: Typed
|
|
21
|
+
Requires-Python: >=3.11
|
|
22
|
+
Requires-Dist: winrt-runtime<5,>=4.0.0
|
|
23
|
+
Requires-Dist: winrt-windows-foundation-collections>=4!10.0.28000.2705
|
|
24
|
+
Requires-Dist: winrt-windows-foundation>=4!10.0.28000.2705
|
|
25
|
+
Requires-Dist: winrt-windows-storage-streams>=4!10.0.28000.2705
|
|
26
|
+
Provides-Extra: all
|
|
27
|
+
Requires-Dist: winrt-windows-applicationmodel-background[all]>=4!10.0.28000.2705; extra == 'all'
|
|
28
|
+
Requires-Dist: winrt-windows-foundation-collections[all]>=4!10.0.28000.2705; extra == 'all'
|
|
29
|
+
Requires-Dist: winrt-windows-foundation[all]>=4!10.0.28000.2705; extra == 'all'
|
|
30
|
+
Requires-Dist: winrt-windows-security-credentials[all]>=4!10.0.28000.2705; extra == 'all'
|
|
31
|
+
Requires-Dist: winrt-windows-storage-streams[all]>=4!10.0.28000.2705; extra == 'all'
|
|
32
|
+
Requires-Dist: winrt-windows-storage[all]>=4!10.0.28000.2705; extra == 'all'
|
|
33
|
+
Requires-Dist: winrt-windows-ui-notifications[all]>=4!10.0.28000.2705; extra == 'all'
|
|
34
|
+
Requires-Dist: winrt-windows-web[all]>=4!10.0.28000.2705; extra == 'all'
|
|
35
|
+
Description-Content-Type: text/markdown
|
|
36
|
+
|
|
37
|
+
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
38
|
+
|
|
39
|
+
# winrt-Windows.Networking.BackgroundTransfer
|
|
40
|
+
|
|
41
|
+
Windows Runtime (WinRT) APIs for the `Windows.Networking.BackgroundTransfer` namespace.
|
|
42
|
+
|
|
43
|
+
This package provides the `winrt.windows.networking.backgroundtransfer` module.
|
|
44
|
+
|
|
45
|
+
The WinRT APIs in it are those of version 10.0.28000.2705 of the
|
|
46
|
+
`Microsoft.Windows.SDK.CPP` NuGet package.
|
|
47
|
+
|
|
48
|
+
```
|
|
49
|
+
pip install winrt-Windows.Networking.BackgroundTransfer
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
Other WinRT namespaces are packages of their own, so install the package of
|
|
53
|
+
each namespace your code imports from.
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
winrt/windows/networking/backgroundtransfer/__init__.py,sha256=-T7myt3SAUQTIZd91-f2IapoZAD2D2uxgPSJLrMnVr0,1795
|
|
2
|
+
winrt/windows/networking/backgroundtransfer/__init__.pyi,sha256=xWzdnsUOY6c3eecuECE4KTUkwXZ8S5xNFgMRvG2cMiQ,53517
|
|
3
|
+
winrt/windows/networking/backgroundtransfer/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
|
+
winrt/windows/networking/backgroundtransfer/_table.pywinrt,sha256=c0Eg2m_i1K45Djq1xfCOvM6pguXRZ-soqhaFlC8M2BI,67168
|
|
5
|
+
winrt_windows_networking_backgroundtransfer-4!10.0.28000.2705.dist-info/METADATA,sha256=CYxSN1f-DW1YMf6vrbLrKDZoHx-xCNIFIs8lknjwCrU,2603
|
|
6
|
+
winrt_windows_networking_backgroundtransfer-4!10.0.28000.2705.dist-info/WHEEL,sha256=W3fkpkm7-wf9vBI5Z-7s0eWkeM-spu78I8Neb98DeEg,87
|
|
7
|
+
winrt_windows_networking_backgroundtransfer-4!10.0.28000.2705.dist-info/licenses/LICENSE,sha256=dyVKOMqPV0fimbzMhqN3zpg6K6Y2OlekwrdfiZTBm8M,1225
|
|
8
|
+
winrt_windows_networking_backgroundtransfer-4!10.0.28000.2705.dist-info/RECORD,,
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
|
+
Copyright (c) 2021-2026 David Lechner <david@pybricks.com>
|
|
5
|
+
|
|
6
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
7
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
8
|
+
in the Software without restriction, including without limitation the rights
|
|
9
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
10
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
11
|
+
furnished to do so, subject to the following conditions:
|
|
12
|
+
|
|
13
|
+
The above copyright notice and this permission notice shall be included in all
|
|
14
|
+
copies or substantial portions of the Software.
|
|
15
|
+
|
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
17
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
18
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
19
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
20
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
21
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
22
|
+
SOFTWARE
|