winrt-Windows.ApplicationModel.Background 2.2.0__cp313-cp313-win_amd64.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/_winrt_windows_applicationmodel_background.cp313-win_amd64.pyd +0 -0
- winrt/_winrt_windows_applicationmodel_background.pyi +851 -0
- winrt/windows/applicationmodel/background/__init__.py +283 -0
- winrt/windows/applicationmodel/background/py.typed +0 -0
- winrt_Windows.ApplicationModel.Background-2.2.0.dist-info/METADATA +42 -0
- winrt_Windows.ApplicationModel.Background-2.2.0.dist-info/RECORD +8 -0
- winrt_Windows.ApplicationModel.Background-2.2.0.dist-info/WHEEL +5 -0
- winrt_Windows.ApplicationModel.Background-2.2.0.dist-info/top_level.txt +1 -0
|
Binary file
|
|
@@ -0,0 +1,851 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
|
|
2
|
+
|
|
3
|
+
import datetime
|
|
4
|
+
import sys
|
|
5
|
+
import types
|
|
6
|
+
import typing
|
|
7
|
+
import uuid as _uuid
|
|
8
|
+
from builtins import property as _property
|
|
9
|
+
|
|
10
|
+
import winrt._winrt
|
|
11
|
+
import winrt.system
|
|
12
|
+
import winrt.windows.applicationmodel.activation as windows_applicationmodel_activation
|
|
13
|
+
import winrt.windows.applicationmodel.calls.background as windows_applicationmodel_calls_background
|
|
14
|
+
import winrt.windows.devices.bluetooth as windows_devices_bluetooth
|
|
15
|
+
import winrt.windows.devices.bluetooth.advertisement as windows_devices_bluetooth_advertisement
|
|
16
|
+
import winrt.windows.devices.bluetooth.background as windows_devices_bluetooth_background
|
|
17
|
+
import winrt.windows.devices.bluetooth.genericattributeprofile as windows_devices_bluetooth_genericattributeprofile
|
|
18
|
+
import winrt.windows.devices.geolocation as windows_devices_geolocation
|
|
19
|
+
import winrt.windows.devices.sensors as windows_devices_sensors
|
|
20
|
+
import winrt.windows.devices.smartcards as windows_devices_smartcards
|
|
21
|
+
import winrt.windows.devices.sms as windows_devices_sms
|
|
22
|
+
import winrt.windows.foundation as windows_foundation
|
|
23
|
+
import winrt.windows.foundation.collections as windows_foundation_collections
|
|
24
|
+
import winrt.windows.networking as windows_networking
|
|
25
|
+
import winrt.windows.networking.sockets as windows_networking_sockets
|
|
26
|
+
import winrt.windows.storage as windows_storage
|
|
27
|
+
import winrt.windows.storage.provider as windows_storage_provider
|
|
28
|
+
import winrt.windows.system as windows_system
|
|
29
|
+
import winrt.windows.ui.notifications as windows_ui_notifications
|
|
30
|
+
|
|
31
|
+
from winrt.windows.applicationmodel.background import AlarmAccessStatus, ApplicationTriggerResult, BackgroundAccessRequestKind, BackgroundAccessStatus, BackgroundTaskCancellationReason, BackgroundTaskThrottleCounter, BackgroundWorkCostValue, CustomSystemEventTriggerRecurrence, DeviceTriggerResult, LocationTriggerType, MediaProcessingTriggerResult, SystemConditionType, SystemTriggerType
|
|
32
|
+
from winrt.windows.applicationmodel.background import BackgroundTaskCanceledEventHandler, BackgroundTaskCompletedEventHandler, BackgroundTaskProgressEventHandler
|
|
33
|
+
|
|
34
|
+
Self = typing.TypeVar('Self')
|
|
35
|
+
|
|
36
|
+
@typing.final
|
|
37
|
+
class ActivitySensorTrigger(winrt.system.Object):
|
|
38
|
+
@staticmethod
|
|
39
|
+
def _from(obj: winrt.system.Object, /) -> ActivitySensorTrigger: ...
|
|
40
|
+
def __new__(cls: typing.Type[ActivitySensorTrigger], report_interval_in_milliseconds: winrt.system.UInt32) -> ActivitySensorTrigger: ...
|
|
41
|
+
@_property
|
|
42
|
+
def minimum_report_interval(self) -> winrt.system.UInt32: ...
|
|
43
|
+
@_property
|
|
44
|
+
def report_interval(self) -> winrt.system.UInt32: ...
|
|
45
|
+
@_property
|
|
46
|
+
def subscribed_activities(self) -> typing.Optional[windows_foundation_collections.IVector[windows_devices_sensors.ActivityType]]: ...
|
|
47
|
+
@_property
|
|
48
|
+
def supported_activities(self) -> typing.Optional[windows_foundation_collections.IVectorView[windows_devices_sensors.ActivityType]]: ...
|
|
49
|
+
|
|
50
|
+
@typing.final
|
|
51
|
+
class AlarmApplicationManager_Static(type):
|
|
52
|
+
def get_access_status(cls) -> AlarmAccessStatus: ...
|
|
53
|
+
def request_access_async(cls) -> windows_foundation.IAsyncOperation[AlarmAccessStatus]: ...
|
|
54
|
+
|
|
55
|
+
@typing.final
|
|
56
|
+
class AlarmApplicationManager(winrt.system.Object, metaclass=AlarmApplicationManager_Static):
|
|
57
|
+
pass
|
|
58
|
+
|
|
59
|
+
@typing.final
|
|
60
|
+
class AppBroadcastTrigger(winrt.system.Object):
|
|
61
|
+
@staticmethod
|
|
62
|
+
def _from(obj: winrt.system.Object, /) -> AppBroadcastTrigger: ...
|
|
63
|
+
def __new__(cls: typing.Type[AppBroadcastTrigger], provider_key: str) -> AppBroadcastTrigger: ...
|
|
64
|
+
@_property
|
|
65
|
+
def provider_info(self) -> typing.Optional[AppBroadcastTriggerProviderInfo]: ...
|
|
66
|
+
@provider_info.setter
|
|
67
|
+
def provider_info(self, value: typing.Optional[AppBroadcastTriggerProviderInfo]) -> None: ...
|
|
68
|
+
|
|
69
|
+
@typing.final
|
|
70
|
+
class AppBroadcastTriggerProviderInfo(winrt.system.Object):
|
|
71
|
+
@staticmethod
|
|
72
|
+
def _from(obj: winrt.system.Object, /) -> AppBroadcastTriggerProviderInfo: ...
|
|
73
|
+
@_property
|
|
74
|
+
def video_key_frame_interval(self) -> datetime.timedelta: ...
|
|
75
|
+
@video_key_frame_interval.setter
|
|
76
|
+
def video_key_frame_interval(self, value: datetime.timedelta) -> None: ...
|
|
77
|
+
@_property
|
|
78
|
+
def max_video_width(self) -> winrt.system.UInt32: ...
|
|
79
|
+
@max_video_width.setter
|
|
80
|
+
def max_video_width(self, value: winrt.system.UInt32) -> None: ...
|
|
81
|
+
@_property
|
|
82
|
+
def max_video_height(self) -> winrt.system.UInt32: ...
|
|
83
|
+
@max_video_height.setter
|
|
84
|
+
def max_video_height(self, value: winrt.system.UInt32) -> None: ...
|
|
85
|
+
@_property
|
|
86
|
+
def max_video_bitrate(self) -> winrt.system.UInt32: ...
|
|
87
|
+
@max_video_bitrate.setter
|
|
88
|
+
def max_video_bitrate(self, value: winrt.system.UInt32) -> None: ...
|
|
89
|
+
@_property
|
|
90
|
+
def logo_resource(self) -> str: ...
|
|
91
|
+
@logo_resource.setter
|
|
92
|
+
def logo_resource(self, value: str) -> None: ...
|
|
93
|
+
@_property
|
|
94
|
+
def display_name_resource(self) -> str: ...
|
|
95
|
+
@display_name_resource.setter
|
|
96
|
+
def display_name_resource(self, value: str) -> None: ...
|
|
97
|
+
|
|
98
|
+
@typing.final
|
|
99
|
+
class ApplicationTrigger(winrt.system.Object):
|
|
100
|
+
@staticmethod
|
|
101
|
+
def _from(obj: winrt.system.Object, /) -> ApplicationTrigger: ...
|
|
102
|
+
def __new__(cls: typing.Type[ApplicationTrigger]) -> ApplicationTrigger: ...
|
|
103
|
+
@typing.overload
|
|
104
|
+
def request_async(self) -> windows_foundation.IAsyncOperation[ApplicationTriggerResult]: ...
|
|
105
|
+
@typing.overload
|
|
106
|
+
def request_async(self, arguments: typing.Optional[windows_foundation_collections.ValueSet], /) -> windows_foundation.IAsyncOperation[ApplicationTriggerResult]: ...
|
|
107
|
+
|
|
108
|
+
@typing.final
|
|
109
|
+
class ApplicationTriggerDetails(winrt.system.Object):
|
|
110
|
+
@staticmethod
|
|
111
|
+
def _from(obj: winrt.system.Object, /) -> ApplicationTriggerDetails: ...
|
|
112
|
+
@_property
|
|
113
|
+
def arguments(self) -> typing.Optional[windows_foundation_collections.ValueSet]: ...
|
|
114
|
+
|
|
115
|
+
@typing.final
|
|
116
|
+
class AppointmentStoreNotificationTrigger(winrt.system.Object):
|
|
117
|
+
@staticmethod
|
|
118
|
+
def _from(obj: winrt.system.Object, /) -> AppointmentStoreNotificationTrigger: ...
|
|
119
|
+
def __new__(cls: typing.Type[AppointmentStoreNotificationTrigger]) -> AppointmentStoreNotificationTrigger: ...
|
|
120
|
+
|
|
121
|
+
@typing.final
|
|
122
|
+
class BackgroundExecutionManager_Static(type):
|
|
123
|
+
@typing.overload
|
|
124
|
+
def get_access_status(cls) -> BackgroundAccessStatus: ...
|
|
125
|
+
@typing.overload
|
|
126
|
+
def get_access_status(cls, application_id: str, /) -> BackgroundAccessStatus: ...
|
|
127
|
+
@typing.overload
|
|
128
|
+
def get_access_status_for_modern_standby(cls) -> BackgroundAccessStatus: ...
|
|
129
|
+
@typing.overload
|
|
130
|
+
def get_access_status_for_modern_standby(cls, application_id: str, /) -> BackgroundAccessStatus: ...
|
|
131
|
+
@typing.overload
|
|
132
|
+
def remove_access(cls) -> None: ...
|
|
133
|
+
@typing.overload
|
|
134
|
+
def remove_access(cls, application_id: str, /) -> None: ...
|
|
135
|
+
@typing.overload
|
|
136
|
+
def request_access_async(cls) -> windows_foundation.IAsyncOperation[BackgroundAccessStatus]: ...
|
|
137
|
+
@typing.overload
|
|
138
|
+
def request_access_async(cls, application_id: str, /) -> windows_foundation.IAsyncOperation[BackgroundAccessStatus]: ...
|
|
139
|
+
def request_access_kind_async(cls, requested_access: BackgroundAccessRequestKind, reason: str, /) -> windows_foundation.IAsyncOperation[bool]: ...
|
|
140
|
+
def request_access_kind_for_modern_standby_async(cls, requested_access: BackgroundAccessRequestKind, reason: str, /) -> windows_foundation.IAsyncOperation[bool]: ...
|
|
141
|
+
|
|
142
|
+
@typing.final
|
|
143
|
+
class BackgroundExecutionManager(winrt.system.Object, metaclass=BackgroundExecutionManager_Static):
|
|
144
|
+
pass
|
|
145
|
+
|
|
146
|
+
@typing.final
|
|
147
|
+
class BackgroundTaskBuilder(winrt.system.Object):
|
|
148
|
+
@staticmethod
|
|
149
|
+
def _from(obj: winrt.system.Object, /) -> BackgroundTaskBuilder: ...
|
|
150
|
+
def __new__(cls: typing.Type[BackgroundTaskBuilder]) -> BackgroundTaskBuilder: ...
|
|
151
|
+
def add_condition(self, condition: typing.Optional[IBackgroundCondition], /) -> None: ...
|
|
152
|
+
def register(self) -> typing.Optional[BackgroundTaskRegistration]: ...
|
|
153
|
+
def set_task_entry_point_clsid(self, task_entry_point: _uuid.UUID, /) -> None: ...
|
|
154
|
+
def set_trigger(self, trigger: typing.Optional[IBackgroundTrigger], /) -> None: ...
|
|
155
|
+
@_property
|
|
156
|
+
def task_entry_point(self) -> str: ...
|
|
157
|
+
@task_entry_point.setter
|
|
158
|
+
def task_entry_point(self, value: str) -> None: ...
|
|
159
|
+
@_property
|
|
160
|
+
def name(self) -> str: ...
|
|
161
|
+
@name.setter
|
|
162
|
+
def name(self, value: str) -> None: ...
|
|
163
|
+
@_property
|
|
164
|
+
def cancel_on_condition_loss(self) -> bool: ...
|
|
165
|
+
@cancel_on_condition_loss.setter
|
|
166
|
+
def cancel_on_condition_loss(self, value: bool) -> None: ...
|
|
167
|
+
@_property
|
|
168
|
+
def is_network_requested(self) -> bool: ...
|
|
169
|
+
@is_network_requested.setter
|
|
170
|
+
def is_network_requested(self, value: bool) -> None: ...
|
|
171
|
+
@_property
|
|
172
|
+
def task_group(self) -> typing.Optional[BackgroundTaskRegistrationGroup]: ...
|
|
173
|
+
@task_group.setter
|
|
174
|
+
def task_group(self, value: typing.Optional[BackgroundTaskRegistrationGroup]) -> None: ...
|
|
175
|
+
|
|
176
|
+
@typing.final
|
|
177
|
+
class BackgroundTaskCompletedEventArgs(winrt.system.Object):
|
|
178
|
+
@staticmethod
|
|
179
|
+
def _from(obj: winrt.system.Object, /) -> BackgroundTaskCompletedEventArgs: ...
|
|
180
|
+
def check_result(self) -> None: ...
|
|
181
|
+
@_property
|
|
182
|
+
def instance_id(self) -> _uuid.UUID: ...
|
|
183
|
+
|
|
184
|
+
@typing.final
|
|
185
|
+
class BackgroundTaskDeferral(winrt.system.Object):
|
|
186
|
+
@staticmethod
|
|
187
|
+
def _from(obj: winrt.system.Object, /) -> BackgroundTaskDeferral: ...
|
|
188
|
+
def complete(self) -> None: ...
|
|
189
|
+
|
|
190
|
+
@typing.final
|
|
191
|
+
class BackgroundTaskProgressEventArgs(winrt.system.Object):
|
|
192
|
+
@staticmethod
|
|
193
|
+
def _from(obj: winrt.system.Object, /) -> BackgroundTaskProgressEventArgs: ...
|
|
194
|
+
@_property
|
|
195
|
+
def instance_id(self) -> _uuid.UUID: ...
|
|
196
|
+
@_property
|
|
197
|
+
def progress(self) -> winrt.system.UInt32: ...
|
|
198
|
+
|
|
199
|
+
@typing.final
|
|
200
|
+
class BackgroundTaskRegistration_Static(type):
|
|
201
|
+
def get_task_group(cls, group_id: str, /) -> typing.Optional[BackgroundTaskRegistrationGroup]: ...
|
|
202
|
+
@_property
|
|
203
|
+
def all_tasks(cls) -> typing.Optional[windows_foundation_collections.IMapView[_uuid.UUID, IBackgroundTaskRegistration]]: ...
|
|
204
|
+
@_property
|
|
205
|
+
def all_task_groups(cls) -> typing.Optional[windows_foundation_collections.IMapView[str, BackgroundTaskRegistrationGroup]]: ...
|
|
206
|
+
|
|
207
|
+
@typing.final
|
|
208
|
+
class BackgroundTaskRegistration(winrt.system.Object, metaclass=BackgroundTaskRegistration_Static):
|
|
209
|
+
@staticmethod
|
|
210
|
+
def _from(obj: winrt.system.Object, /) -> BackgroundTaskRegistration: ...
|
|
211
|
+
def unregister(self, cancel_task: bool, /) -> None: ...
|
|
212
|
+
def add_completed(self, handler: typing.Optional[BackgroundTaskCompletedEventHandler], /) -> windows_foundation.EventRegistrationToken: ...
|
|
213
|
+
def remove_completed(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
214
|
+
def add_progress(self, handler: typing.Optional[BackgroundTaskProgressEventHandler], /) -> windows_foundation.EventRegistrationToken: ...
|
|
215
|
+
def remove_progress(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
216
|
+
@_property
|
|
217
|
+
def name(self) -> str: ...
|
|
218
|
+
@_property
|
|
219
|
+
def task_id(self) -> _uuid.UUID: ...
|
|
220
|
+
@_property
|
|
221
|
+
def trigger(self) -> typing.Optional[IBackgroundTrigger]: ...
|
|
222
|
+
@_property
|
|
223
|
+
def task_group(self) -> typing.Optional[BackgroundTaskRegistrationGroup]: ...
|
|
224
|
+
|
|
225
|
+
@typing.final
|
|
226
|
+
class BackgroundTaskRegistrationGroup(winrt.system.Object):
|
|
227
|
+
@staticmethod
|
|
228
|
+
def _from(obj: winrt.system.Object, /) -> BackgroundTaskRegistrationGroup: ...
|
|
229
|
+
@typing.overload
|
|
230
|
+
def __new__(cls: typing.Type[BackgroundTaskRegistrationGroup], id: str) -> BackgroundTaskRegistrationGroup: ...
|
|
231
|
+
@typing.overload
|
|
232
|
+
def __new__(cls: typing.Type[BackgroundTaskRegistrationGroup], id: str, name: str) -> BackgroundTaskRegistrationGroup: ...
|
|
233
|
+
def add_background_activated(self, handler: windows_foundation.TypedEventHandler[BackgroundTaskRegistrationGroup, windows_applicationmodel_activation.BackgroundActivatedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
234
|
+
def remove_background_activated(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
235
|
+
@_property
|
|
236
|
+
def all_tasks(self) -> typing.Optional[windows_foundation_collections.IMapView[_uuid.UUID, BackgroundTaskRegistration]]: ...
|
|
237
|
+
@_property
|
|
238
|
+
def id(self) -> str: ...
|
|
239
|
+
@_property
|
|
240
|
+
def name(self) -> str: ...
|
|
241
|
+
|
|
242
|
+
@typing.final
|
|
243
|
+
class BackgroundWorkCost_Static(type):
|
|
244
|
+
@_property
|
|
245
|
+
def current_background_work_cost(cls) -> BackgroundWorkCostValue: ...
|
|
246
|
+
|
|
247
|
+
@typing.final
|
|
248
|
+
class BackgroundWorkCost(winrt.system.Object, metaclass=BackgroundWorkCost_Static):
|
|
249
|
+
pass
|
|
250
|
+
|
|
251
|
+
@typing.final
|
|
252
|
+
class BluetoothLEAdvertisementPublisherTrigger(winrt.system.Object):
|
|
253
|
+
@staticmethod
|
|
254
|
+
def _from(obj: winrt.system.Object, /) -> BluetoothLEAdvertisementPublisherTrigger: ...
|
|
255
|
+
def __new__(cls: typing.Type[BluetoothLEAdvertisementPublisherTrigger]) -> BluetoothLEAdvertisementPublisherTrigger: ...
|
|
256
|
+
@_property
|
|
257
|
+
def advertisement(self) -> typing.Optional[windows_devices_bluetooth_advertisement.BluetoothLEAdvertisement]: ...
|
|
258
|
+
@_property
|
|
259
|
+
def use_extended_format(self) -> bool: ...
|
|
260
|
+
@use_extended_format.setter
|
|
261
|
+
def use_extended_format(self, value: bool) -> None: ...
|
|
262
|
+
@_property
|
|
263
|
+
def preferred_transmit_power_level_in_d_bm(self) -> typing.Optional[typing.Optional[winrt.system.Int16]]: ...
|
|
264
|
+
@preferred_transmit_power_level_in_d_bm.setter
|
|
265
|
+
def preferred_transmit_power_level_in_d_bm(self, value: typing.Optional[typing.Optional[winrt.system.Int16]]) -> None: ...
|
|
266
|
+
@_property
|
|
267
|
+
def is_anonymous(self) -> bool: ...
|
|
268
|
+
@is_anonymous.setter
|
|
269
|
+
def is_anonymous(self, value: bool) -> None: ...
|
|
270
|
+
@_property
|
|
271
|
+
def include_transmit_power_level(self) -> bool: ...
|
|
272
|
+
@include_transmit_power_level.setter
|
|
273
|
+
def include_transmit_power_level(self, value: bool) -> None: ...
|
|
274
|
+
|
|
275
|
+
@typing.final
|
|
276
|
+
class BluetoothLEAdvertisementWatcherTrigger(winrt.system.Object):
|
|
277
|
+
@staticmethod
|
|
278
|
+
def _from(obj: winrt.system.Object, /) -> BluetoothLEAdvertisementWatcherTrigger: ...
|
|
279
|
+
def __new__(cls: typing.Type[BluetoothLEAdvertisementWatcherTrigger]) -> BluetoothLEAdvertisementWatcherTrigger: ...
|
|
280
|
+
@_property
|
|
281
|
+
def signal_strength_filter(self) -> typing.Optional[windows_devices_bluetooth.BluetoothSignalStrengthFilter]: ...
|
|
282
|
+
@signal_strength_filter.setter
|
|
283
|
+
def signal_strength_filter(self, value: typing.Optional[windows_devices_bluetooth.BluetoothSignalStrengthFilter]) -> None: ...
|
|
284
|
+
@_property
|
|
285
|
+
def advertisement_filter(self) -> typing.Optional[windows_devices_bluetooth_advertisement.BluetoothLEAdvertisementFilter]: ...
|
|
286
|
+
@advertisement_filter.setter
|
|
287
|
+
def advertisement_filter(self, value: typing.Optional[windows_devices_bluetooth_advertisement.BluetoothLEAdvertisementFilter]) -> None: ...
|
|
288
|
+
@_property
|
|
289
|
+
def max_out_of_range_timeout(self) -> datetime.timedelta: ...
|
|
290
|
+
@_property
|
|
291
|
+
def max_sampling_interval(self) -> datetime.timedelta: ...
|
|
292
|
+
@_property
|
|
293
|
+
def min_out_of_range_timeout(self) -> datetime.timedelta: ...
|
|
294
|
+
@_property
|
|
295
|
+
def min_sampling_interval(self) -> datetime.timedelta: ...
|
|
296
|
+
@_property
|
|
297
|
+
def allow_extended_advertisements(self) -> bool: ...
|
|
298
|
+
@allow_extended_advertisements.setter
|
|
299
|
+
def allow_extended_advertisements(self, value: bool) -> None: ...
|
|
300
|
+
|
|
301
|
+
@typing.final
|
|
302
|
+
class CachedFileUpdaterTrigger(winrt.system.Object):
|
|
303
|
+
@staticmethod
|
|
304
|
+
def _from(obj: winrt.system.Object, /) -> CachedFileUpdaterTrigger: ...
|
|
305
|
+
def __new__(cls: typing.Type[CachedFileUpdaterTrigger]) -> CachedFileUpdaterTrigger: ...
|
|
306
|
+
|
|
307
|
+
@typing.final
|
|
308
|
+
class CachedFileUpdaterTriggerDetails(winrt.system.Object):
|
|
309
|
+
@staticmethod
|
|
310
|
+
def _from(obj: winrt.system.Object, /) -> CachedFileUpdaterTriggerDetails: ...
|
|
311
|
+
@_property
|
|
312
|
+
def can_request_user_input(self) -> bool: ...
|
|
313
|
+
@_property
|
|
314
|
+
def update_request(self) -> typing.Optional[windows_storage_provider.FileUpdateRequest]: ...
|
|
315
|
+
@_property
|
|
316
|
+
def update_target(self) -> windows_storage_provider.CachedFileTarget: ...
|
|
317
|
+
|
|
318
|
+
@typing.final
|
|
319
|
+
class ChatMessageNotificationTrigger(winrt.system.Object):
|
|
320
|
+
@staticmethod
|
|
321
|
+
def _from(obj: winrt.system.Object, /) -> ChatMessageNotificationTrigger: ...
|
|
322
|
+
def __new__(cls: typing.Type[ChatMessageNotificationTrigger]) -> ChatMessageNotificationTrigger: ...
|
|
323
|
+
|
|
324
|
+
@typing.final
|
|
325
|
+
class ChatMessageReceivedNotificationTrigger(winrt.system.Object):
|
|
326
|
+
@staticmethod
|
|
327
|
+
def _from(obj: winrt.system.Object, /) -> ChatMessageReceivedNotificationTrigger: ...
|
|
328
|
+
def __new__(cls: typing.Type[ChatMessageReceivedNotificationTrigger]) -> ChatMessageReceivedNotificationTrigger: ...
|
|
329
|
+
|
|
330
|
+
@typing.final
|
|
331
|
+
class CommunicationBlockingAppSetAsActiveTrigger(winrt.system.Object):
|
|
332
|
+
@staticmethod
|
|
333
|
+
def _from(obj: winrt.system.Object, /) -> CommunicationBlockingAppSetAsActiveTrigger: ...
|
|
334
|
+
def __new__(cls: typing.Type[CommunicationBlockingAppSetAsActiveTrigger]) -> CommunicationBlockingAppSetAsActiveTrigger: ...
|
|
335
|
+
|
|
336
|
+
@typing.final
|
|
337
|
+
class ContactStoreNotificationTrigger(winrt.system.Object):
|
|
338
|
+
@staticmethod
|
|
339
|
+
def _from(obj: winrt.system.Object, /) -> ContactStoreNotificationTrigger: ...
|
|
340
|
+
def __new__(cls: typing.Type[ContactStoreNotificationTrigger]) -> ContactStoreNotificationTrigger: ...
|
|
341
|
+
|
|
342
|
+
@typing.final
|
|
343
|
+
class ContentPrefetchTrigger(winrt.system.Object):
|
|
344
|
+
@staticmethod
|
|
345
|
+
def _from(obj: winrt.system.Object, /) -> ContentPrefetchTrigger: ...
|
|
346
|
+
@typing.overload
|
|
347
|
+
def __new__(cls: typing.Type[ContentPrefetchTrigger], wait_interval: datetime.timedelta) -> ContentPrefetchTrigger: ...
|
|
348
|
+
@typing.overload
|
|
349
|
+
def __new__(cls: typing.Type[ContentPrefetchTrigger]) -> ContentPrefetchTrigger: ...
|
|
350
|
+
@_property
|
|
351
|
+
def wait_interval(self) -> datetime.timedelta: ...
|
|
352
|
+
|
|
353
|
+
@typing.final
|
|
354
|
+
class ConversationalAgentTrigger(winrt.system.Object):
|
|
355
|
+
@staticmethod
|
|
356
|
+
def _from(obj: winrt.system.Object, /) -> ConversationalAgentTrigger: ...
|
|
357
|
+
def __new__(cls: typing.Type[ConversationalAgentTrigger]) -> ConversationalAgentTrigger: ...
|
|
358
|
+
|
|
359
|
+
@typing.final
|
|
360
|
+
class CustomSystemEventTrigger(winrt.system.Object):
|
|
361
|
+
@staticmethod
|
|
362
|
+
def _from(obj: winrt.system.Object, /) -> CustomSystemEventTrigger: ...
|
|
363
|
+
def __new__(cls: typing.Type[CustomSystemEventTrigger], trigger_id: str, recurrence: CustomSystemEventTriggerRecurrence) -> CustomSystemEventTrigger: ...
|
|
364
|
+
@_property
|
|
365
|
+
def recurrence(self) -> CustomSystemEventTriggerRecurrence: ...
|
|
366
|
+
@_property
|
|
367
|
+
def trigger_id(self) -> str: ...
|
|
368
|
+
|
|
369
|
+
@typing.final
|
|
370
|
+
class DeviceConnectionChangeTrigger_Static(type):
|
|
371
|
+
def from_id_async(cls, device_id: str, /) -> windows_foundation.IAsyncOperation[DeviceConnectionChangeTrigger]: ...
|
|
372
|
+
|
|
373
|
+
@typing.final
|
|
374
|
+
class DeviceConnectionChangeTrigger(winrt.system.Object, metaclass=DeviceConnectionChangeTrigger_Static):
|
|
375
|
+
@staticmethod
|
|
376
|
+
def _from(obj: winrt.system.Object, /) -> DeviceConnectionChangeTrigger: ...
|
|
377
|
+
@_property
|
|
378
|
+
def maintain_connection(self) -> bool: ...
|
|
379
|
+
@maintain_connection.setter
|
|
380
|
+
def maintain_connection(self, value: bool) -> None: ...
|
|
381
|
+
@_property
|
|
382
|
+
def can_maintain_connection(self) -> bool: ...
|
|
383
|
+
@_property
|
|
384
|
+
def device_id(self) -> str: ...
|
|
385
|
+
|
|
386
|
+
@typing.final
|
|
387
|
+
class DeviceManufacturerNotificationTrigger(winrt.system.Object):
|
|
388
|
+
@staticmethod
|
|
389
|
+
def _from(obj: winrt.system.Object, /) -> DeviceManufacturerNotificationTrigger: ...
|
|
390
|
+
def __new__(cls: typing.Type[DeviceManufacturerNotificationTrigger], trigger_qualifier: str, one_shot: bool) -> DeviceManufacturerNotificationTrigger: ...
|
|
391
|
+
@_property
|
|
392
|
+
def one_shot(self) -> bool: ...
|
|
393
|
+
@_property
|
|
394
|
+
def trigger_qualifier(self) -> str: ...
|
|
395
|
+
|
|
396
|
+
@typing.final
|
|
397
|
+
class DeviceServicingTrigger(winrt.system.Object):
|
|
398
|
+
@staticmethod
|
|
399
|
+
def _from(obj: winrt.system.Object, /) -> DeviceServicingTrigger: ...
|
|
400
|
+
def __new__(cls: typing.Type[DeviceServicingTrigger]) -> DeviceServicingTrigger: ...
|
|
401
|
+
@typing.overload
|
|
402
|
+
def request_async(self, device_id: str, expected_duration: datetime.timedelta, /) -> windows_foundation.IAsyncOperation[DeviceTriggerResult]: ...
|
|
403
|
+
@typing.overload
|
|
404
|
+
def request_async(self, device_id: str, expected_duration: datetime.timedelta, arguments: str, /) -> windows_foundation.IAsyncOperation[DeviceTriggerResult]: ...
|
|
405
|
+
|
|
406
|
+
@typing.final
|
|
407
|
+
class DeviceUseTrigger(winrt.system.Object):
|
|
408
|
+
@staticmethod
|
|
409
|
+
def _from(obj: winrt.system.Object, /) -> DeviceUseTrigger: ...
|
|
410
|
+
def __new__(cls: typing.Type[DeviceUseTrigger]) -> DeviceUseTrigger: ...
|
|
411
|
+
@typing.overload
|
|
412
|
+
def request_async(self, device_id: str, /) -> windows_foundation.IAsyncOperation[DeviceTriggerResult]: ...
|
|
413
|
+
@typing.overload
|
|
414
|
+
def request_async(self, device_id: str, arguments: str, /) -> windows_foundation.IAsyncOperation[DeviceTriggerResult]: ...
|
|
415
|
+
|
|
416
|
+
@typing.final
|
|
417
|
+
class DeviceWatcherTrigger(winrt.system.Object):
|
|
418
|
+
@staticmethod
|
|
419
|
+
def _from(obj: winrt.system.Object, /) -> DeviceWatcherTrigger: ...
|
|
420
|
+
|
|
421
|
+
@typing.final
|
|
422
|
+
class EmailStoreNotificationTrigger(winrt.system.Object):
|
|
423
|
+
@staticmethod
|
|
424
|
+
def _from(obj: winrt.system.Object, /) -> EmailStoreNotificationTrigger: ...
|
|
425
|
+
def __new__(cls: typing.Type[EmailStoreNotificationTrigger]) -> EmailStoreNotificationTrigger: ...
|
|
426
|
+
|
|
427
|
+
@typing.final
|
|
428
|
+
class GattCharacteristicNotificationTrigger(winrt.system.Object):
|
|
429
|
+
@staticmethod
|
|
430
|
+
def _from(obj: winrt.system.Object, /) -> GattCharacteristicNotificationTrigger: ...
|
|
431
|
+
@typing.overload
|
|
432
|
+
def __new__(cls: typing.Type[GattCharacteristicNotificationTrigger], characteristic: typing.Optional[windows_devices_bluetooth_genericattributeprofile.GattCharacteristic], event_triggering_mode: windows_devices_bluetooth_background.BluetoothEventTriggeringMode) -> GattCharacteristicNotificationTrigger: ...
|
|
433
|
+
@typing.overload
|
|
434
|
+
def __new__(cls: typing.Type[GattCharacteristicNotificationTrigger], characteristic: typing.Optional[windows_devices_bluetooth_genericattributeprofile.GattCharacteristic]) -> GattCharacteristicNotificationTrigger: ...
|
|
435
|
+
@_property
|
|
436
|
+
def characteristic(self) -> typing.Optional[windows_devices_bluetooth_genericattributeprofile.GattCharacteristic]: ...
|
|
437
|
+
@_property
|
|
438
|
+
def event_triggering_mode(self) -> windows_devices_bluetooth_background.BluetoothEventTriggeringMode: ...
|
|
439
|
+
|
|
440
|
+
@typing.final
|
|
441
|
+
class GattServiceProviderTrigger_Static(type):
|
|
442
|
+
def create_async(cls, trigger_id: str, service_uuid: _uuid.UUID, /) -> windows_foundation.IAsyncOperation[GattServiceProviderTriggerResult]: ...
|
|
443
|
+
|
|
444
|
+
@typing.final
|
|
445
|
+
class GattServiceProviderTrigger(winrt.system.Object, metaclass=GattServiceProviderTrigger_Static):
|
|
446
|
+
@staticmethod
|
|
447
|
+
def _from(obj: winrt.system.Object, /) -> GattServiceProviderTrigger: ...
|
|
448
|
+
@_property
|
|
449
|
+
def advertising_parameters(self) -> typing.Optional[windows_devices_bluetooth_genericattributeprofile.GattServiceProviderAdvertisingParameters]: ...
|
|
450
|
+
@advertising_parameters.setter
|
|
451
|
+
def advertising_parameters(self, value: typing.Optional[windows_devices_bluetooth_genericattributeprofile.GattServiceProviderAdvertisingParameters]) -> None: ...
|
|
452
|
+
@_property
|
|
453
|
+
def service(self) -> typing.Optional[windows_devices_bluetooth_genericattributeprofile.GattLocalService]: ...
|
|
454
|
+
@_property
|
|
455
|
+
def trigger_id(self) -> str: ...
|
|
456
|
+
|
|
457
|
+
@typing.final
|
|
458
|
+
class GattServiceProviderTriggerResult(winrt.system.Object):
|
|
459
|
+
@staticmethod
|
|
460
|
+
def _from(obj: winrt.system.Object, /) -> GattServiceProviderTriggerResult: ...
|
|
461
|
+
@_property
|
|
462
|
+
def error(self) -> windows_devices_bluetooth.BluetoothError: ...
|
|
463
|
+
@_property
|
|
464
|
+
def trigger(self) -> typing.Optional[GattServiceProviderTrigger]: ...
|
|
465
|
+
|
|
466
|
+
@typing.final
|
|
467
|
+
class GeovisitTrigger(winrt.system.Object):
|
|
468
|
+
@staticmethod
|
|
469
|
+
def _from(obj: winrt.system.Object, /) -> GeovisitTrigger: ...
|
|
470
|
+
def __new__(cls: typing.Type[GeovisitTrigger]) -> GeovisitTrigger: ...
|
|
471
|
+
@_property
|
|
472
|
+
def monitoring_scope(self) -> windows_devices_geolocation.VisitMonitoringScope: ...
|
|
473
|
+
@monitoring_scope.setter
|
|
474
|
+
def monitoring_scope(self, value: windows_devices_geolocation.VisitMonitoringScope) -> None: ...
|
|
475
|
+
|
|
476
|
+
@typing.final
|
|
477
|
+
class LocationTrigger(winrt.system.Object):
|
|
478
|
+
@staticmethod
|
|
479
|
+
def _from(obj: winrt.system.Object, /) -> LocationTrigger: ...
|
|
480
|
+
def __new__(cls: typing.Type[LocationTrigger], trigger_type: LocationTriggerType) -> LocationTrigger: ...
|
|
481
|
+
@_property
|
|
482
|
+
def trigger_type(self) -> LocationTriggerType: ...
|
|
483
|
+
|
|
484
|
+
@typing.final
|
|
485
|
+
class MaintenanceTrigger(winrt.system.Object):
|
|
486
|
+
@staticmethod
|
|
487
|
+
def _from(obj: winrt.system.Object, /) -> MaintenanceTrigger: ...
|
|
488
|
+
def __new__(cls: typing.Type[MaintenanceTrigger], freshness_time: winrt.system.UInt32, one_shot: bool) -> MaintenanceTrigger: ...
|
|
489
|
+
@_property
|
|
490
|
+
def freshness_time(self) -> winrt.system.UInt32: ...
|
|
491
|
+
@_property
|
|
492
|
+
def one_shot(self) -> bool: ...
|
|
493
|
+
|
|
494
|
+
@typing.final
|
|
495
|
+
class MediaProcessingTrigger(winrt.system.Object):
|
|
496
|
+
@staticmethod
|
|
497
|
+
def _from(obj: winrt.system.Object, /) -> MediaProcessingTrigger: ...
|
|
498
|
+
def __new__(cls: typing.Type[MediaProcessingTrigger]) -> MediaProcessingTrigger: ...
|
|
499
|
+
@typing.overload
|
|
500
|
+
def request_async(self) -> windows_foundation.IAsyncOperation[MediaProcessingTriggerResult]: ...
|
|
501
|
+
@typing.overload
|
|
502
|
+
def request_async(self, arguments: typing.Optional[windows_foundation_collections.ValueSet], /) -> windows_foundation.IAsyncOperation[MediaProcessingTriggerResult]: ...
|
|
503
|
+
|
|
504
|
+
@typing.final
|
|
505
|
+
class MobileBroadbandDeviceServiceNotificationTrigger(winrt.system.Object):
|
|
506
|
+
@staticmethod
|
|
507
|
+
def _from(obj: winrt.system.Object, /) -> MobileBroadbandDeviceServiceNotificationTrigger: ...
|
|
508
|
+
def __new__(cls: typing.Type[MobileBroadbandDeviceServiceNotificationTrigger]) -> MobileBroadbandDeviceServiceNotificationTrigger: ...
|
|
509
|
+
|
|
510
|
+
@typing.final
|
|
511
|
+
class MobileBroadbandPcoDataChangeTrigger(winrt.system.Object):
|
|
512
|
+
@staticmethod
|
|
513
|
+
def _from(obj: winrt.system.Object, /) -> MobileBroadbandPcoDataChangeTrigger: ...
|
|
514
|
+
def __new__(cls: typing.Type[MobileBroadbandPcoDataChangeTrigger]) -> MobileBroadbandPcoDataChangeTrigger: ...
|
|
515
|
+
|
|
516
|
+
@typing.final
|
|
517
|
+
class MobileBroadbandPinLockStateChangeTrigger(winrt.system.Object):
|
|
518
|
+
@staticmethod
|
|
519
|
+
def _from(obj: winrt.system.Object, /) -> MobileBroadbandPinLockStateChangeTrigger: ...
|
|
520
|
+
def __new__(cls: typing.Type[MobileBroadbandPinLockStateChangeTrigger]) -> MobileBroadbandPinLockStateChangeTrigger: ...
|
|
521
|
+
|
|
522
|
+
@typing.final
|
|
523
|
+
class MobileBroadbandRadioStateChangeTrigger(winrt.system.Object):
|
|
524
|
+
@staticmethod
|
|
525
|
+
def _from(obj: winrt.system.Object, /) -> MobileBroadbandRadioStateChangeTrigger: ...
|
|
526
|
+
def __new__(cls: typing.Type[MobileBroadbandRadioStateChangeTrigger]) -> MobileBroadbandRadioStateChangeTrigger: ...
|
|
527
|
+
|
|
528
|
+
@typing.final
|
|
529
|
+
class MobileBroadbandRegistrationStateChangeTrigger(winrt.system.Object):
|
|
530
|
+
@staticmethod
|
|
531
|
+
def _from(obj: winrt.system.Object, /) -> MobileBroadbandRegistrationStateChangeTrigger: ...
|
|
532
|
+
def __new__(cls: typing.Type[MobileBroadbandRegistrationStateChangeTrigger]) -> MobileBroadbandRegistrationStateChangeTrigger: ...
|
|
533
|
+
|
|
534
|
+
@typing.final
|
|
535
|
+
class NetworkOperatorDataUsageTrigger(winrt.system.Object):
|
|
536
|
+
@staticmethod
|
|
537
|
+
def _from(obj: winrt.system.Object, /) -> NetworkOperatorDataUsageTrigger: ...
|
|
538
|
+
def __new__(cls: typing.Type[NetworkOperatorDataUsageTrigger]) -> NetworkOperatorDataUsageTrigger: ...
|
|
539
|
+
|
|
540
|
+
@typing.final
|
|
541
|
+
class NetworkOperatorHotspotAuthenticationTrigger(winrt.system.Object):
|
|
542
|
+
@staticmethod
|
|
543
|
+
def _from(obj: winrt.system.Object, /) -> NetworkOperatorHotspotAuthenticationTrigger: ...
|
|
544
|
+
def __new__(cls: typing.Type[NetworkOperatorHotspotAuthenticationTrigger]) -> NetworkOperatorHotspotAuthenticationTrigger: ...
|
|
545
|
+
|
|
546
|
+
@typing.final
|
|
547
|
+
class NetworkOperatorNotificationTrigger(winrt.system.Object):
|
|
548
|
+
@staticmethod
|
|
549
|
+
def _from(obj: winrt.system.Object, /) -> NetworkOperatorNotificationTrigger: ...
|
|
550
|
+
def __new__(cls: typing.Type[NetworkOperatorNotificationTrigger], network_account_id: str) -> NetworkOperatorNotificationTrigger: ...
|
|
551
|
+
@_property
|
|
552
|
+
def network_account_id(self) -> str: ...
|
|
553
|
+
|
|
554
|
+
@typing.final
|
|
555
|
+
class PaymentAppCanMakePaymentTrigger(winrt.system.Object):
|
|
556
|
+
@staticmethod
|
|
557
|
+
def _from(obj: winrt.system.Object, /) -> PaymentAppCanMakePaymentTrigger: ...
|
|
558
|
+
def __new__(cls: typing.Type[PaymentAppCanMakePaymentTrigger]) -> PaymentAppCanMakePaymentTrigger: ...
|
|
559
|
+
|
|
560
|
+
@typing.final
|
|
561
|
+
class PhoneTrigger(winrt.system.Object):
|
|
562
|
+
@staticmethod
|
|
563
|
+
def _from(obj: winrt.system.Object, /) -> PhoneTrigger: ...
|
|
564
|
+
def __new__(cls: typing.Type[PhoneTrigger], type: windows_applicationmodel_calls_background.PhoneTriggerType, one_shot: bool) -> PhoneTrigger: ...
|
|
565
|
+
@_property
|
|
566
|
+
def one_shot(self) -> bool: ...
|
|
567
|
+
@_property
|
|
568
|
+
def trigger_type(self) -> windows_applicationmodel_calls_background.PhoneTriggerType: ...
|
|
569
|
+
|
|
570
|
+
@typing.final
|
|
571
|
+
class PushNotificationTrigger(winrt.system.Object):
|
|
572
|
+
@staticmethod
|
|
573
|
+
def _from(obj: winrt.system.Object, /) -> PushNotificationTrigger: ...
|
|
574
|
+
@typing.overload
|
|
575
|
+
def __new__(cls: typing.Type[PushNotificationTrigger], application_id: str) -> PushNotificationTrigger: ...
|
|
576
|
+
@typing.overload
|
|
577
|
+
def __new__(cls: typing.Type[PushNotificationTrigger]) -> PushNotificationTrigger: ...
|
|
578
|
+
|
|
579
|
+
@typing.final
|
|
580
|
+
class RcsEndUserMessageAvailableTrigger(winrt.system.Object):
|
|
581
|
+
@staticmethod
|
|
582
|
+
def _from(obj: winrt.system.Object, /) -> RcsEndUserMessageAvailableTrigger: ...
|
|
583
|
+
def __new__(cls: typing.Type[RcsEndUserMessageAvailableTrigger]) -> RcsEndUserMessageAvailableTrigger: ...
|
|
584
|
+
|
|
585
|
+
@typing.final
|
|
586
|
+
class RfcommConnectionTrigger(winrt.system.Object):
|
|
587
|
+
@staticmethod
|
|
588
|
+
def _from(obj: winrt.system.Object, /) -> RfcommConnectionTrigger: ...
|
|
589
|
+
def __new__(cls: typing.Type[RfcommConnectionTrigger]) -> RfcommConnectionTrigger: ...
|
|
590
|
+
@_property
|
|
591
|
+
def remote_host_name(self) -> typing.Optional[windows_networking.HostName]: ...
|
|
592
|
+
@remote_host_name.setter
|
|
593
|
+
def remote_host_name(self, value: typing.Optional[windows_networking.HostName]) -> None: ...
|
|
594
|
+
@_property
|
|
595
|
+
def protection_level(self) -> windows_networking_sockets.SocketProtectionLevel: ...
|
|
596
|
+
@protection_level.setter
|
|
597
|
+
def protection_level(self, value: windows_networking_sockets.SocketProtectionLevel) -> None: ...
|
|
598
|
+
@_property
|
|
599
|
+
def allow_multiple_connections(self) -> bool: ...
|
|
600
|
+
@allow_multiple_connections.setter
|
|
601
|
+
def allow_multiple_connections(self, value: bool) -> None: ...
|
|
602
|
+
@_property
|
|
603
|
+
def inbound_connection(self) -> typing.Optional[windows_devices_bluetooth_background.RfcommInboundConnectionInformation]: ...
|
|
604
|
+
@_property
|
|
605
|
+
def outbound_connection(self) -> typing.Optional[windows_devices_bluetooth_background.RfcommOutboundConnectionInformation]: ...
|
|
606
|
+
|
|
607
|
+
@typing.final
|
|
608
|
+
class SecondaryAuthenticationFactorAuthenticationTrigger(winrt.system.Object):
|
|
609
|
+
@staticmethod
|
|
610
|
+
def _from(obj: winrt.system.Object, /) -> SecondaryAuthenticationFactorAuthenticationTrigger: ...
|
|
611
|
+
def __new__(cls: typing.Type[SecondaryAuthenticationFactorAuthenticationTrigger]) -> SecondaryAuthenticationFactorAuthenticationTrigger: ...
|
|
612
|
+
|
|
613
|
+
@typing.final
|
|
614
|
+
class SensorDataThresholdTrigger(winrt.system.Object):
|
|
615
|
+
@staticmethod
|
|
616
|
+
def _from(obj: winrt.system.Object, /) -> SensorDataThresholdTrigger: ...
|
|
617
|
+
def __new__(cls: typing.Type[SensorDataThresholdTrigger], threshold: typing.Optional[windows_devices_sensors.ISensorDataThreshold]) -> SensorDataThresholdTrigger: ...
|
|
618
|
+
|
|
619
|
+
@typing.final
|
|
620
|
+
class SmartCardTrigger(winrt.system.Object):
|
|
621
|
+
@staticmethod
|
|
622
|
+
def _from(obj: winrt.system.Object, /) -> SmartCardTrigger: ...
|
|
623
|
+
def __new__(cls: typing.Type[SmartCardTrigger], trigger_type: windows_devices_smartcards.SmartCardTriggerType) -> SmartCardTrigger: ...
|
|
624
|
+
@_property
|
|
625
|
+
def trigger_type(self) -> windows_devices_smartcards.SmartCardTriggerType: ...
|
|
626
|
+
|
|
627
|
+
@typing.final
|
|
628
|
+
class SmsMessageReceivedTrigger(winrt.system.Object):
|
|
629
|
+
@staticmethod
|
|
630
|
+
def _from(obj: winrt.system.Object, /) -> SmsMessageReceivedTrigger: ...
|
|
631
|
+
def __new__(cls: typing.Type[SmsMessageReceivedTrigger], filter_rules: typing.Optional[windows_devices_sms.SmsFilterRules]) -> SmsMessageReceivedTrigger: ...
|
|
632
|
+
|
|
633
|
+
@typing.final
|
|
634
|
+
class SocketActivityTrigger(winrt.system.Object):
|
|
635
|
+
@staticmethod
|
|
636
|
+
def _from(obj: winrt.system.Object, /) -> SocketActivityTrigger: ...
|
|
637
|
+
def __new__(cls: typing.Type[SocketActivityTrigger]) -> SocketActivityTrigger: ...
|
|
638
|
+
@_property
|
|
639
|
+
def is_wake_from_low_power_supported(self) -> bool: ...
|
|
640
|
+
|
|
641
|
+
@typing.final
|
|
642
|
+
class StorageLibraryChangeTrackerTrigger(winrt.system.Object):
|
|
643
|
+
@staticmethod
|
|
644
|
+
def _from(obj: winrt.system.Object, /) -> StorageLibraryChangeTrackerTrigger: ...
|
|
645
|
+
def __new__(cls: typing.Type[StorageLibraryChangeTrackerTrigger], tracker: typing.Optional[windows_storage.StorageLibraryChangeTracker]) -> StorageLibraryChangeTrackerTrigger: ...
|
|
646
|
+
|
|
647
|
+
@typing.final
|
|
648
|
+
class StorageLibraryContentChangedTrigger_Static(type):
|
|
649
|
+
def create(cls, storage_library: typing.Optional[windows_storage.StorageLibrary], /) -> typing.Optional[StorageLibraryContentChangedTrigger]: ...
|
|
650
|
+
def create_from_libraries(cls, storage_libraries: typing.Iterable[windows_storage.StorageLibrary], /) -> typing.Optional[StorageLibraryContentChangedTrigger]: ...
|
|
651
|
+
|
|
652
|
+
@typing.final
|
|
653
|
+
class StorageLibraryContentChangedTrigger(winrt.system.Object, metaclass=StorageLibraryContentChangedTrigger_Static):
|
|
654
|
+
@staticmethod
|
|
655
|
+
def _from(obj: winrt.system.Object, /) -> StorageLibraryContentChangedTrigger: ...
|
|
656
|
+
|
|
657
|
+
@typing.final
|
|
658
|
+
class SystemCondition(winrt.system.Object):
|
|
659
|
+
@staticmethod
|
|
660
|
+
def _from(obj: winrt.system.Object, /) -> SystemCondition: ...
|
|
661
|
+
def __new__(cls: typing.Type[SystemCondition], condition_type: SystemConditionType) -> SystemCondition: ...
|
|
662
|
+
@_property
|
|
663
|
+
def condition_type(self) -> SystemConditionType: ...
|
|
664
|
+
|
|
665
|
+
@typing.final
|
|
666
|
+
class SystemTrigger(winrt.system.Object):
|
|
667
|
+
@staticmethod
|
|
668
|
+
def _from(obj: winrt.system.Object, /) -> SystemTrigger: ...
|
|
669
|
+
def __new__(cls: typing.Type[SystemTrigger], trigger_type: SystemTriggerType, one_shot: bool) -> SystemTrigger: ...
|
|
670
|
+
@_property
|
|
671
|
+
def one_shot(self) -> bool: ...
|
|
672
|
+
@_property
|
|
673
|
+
def trigger_type(self) -> SystemTriggerType: ...
|
|
674
|
+
|
|
675
|
+
@typing.final
|
|
676
|
+
class TetheringEntitlementCheckTrigger(winrt.system.Object):
|
|
677
|
+
@staticmethod
|
|
678
|
+
def _from(obj: winrt.system.Object, /) -> TetheringEntitlementCheckTrigger: ...
|
|
679
|
+
def __new__(cls: typing.Type[TetheringEntitlementCheckTrigger]) -> TetheringEntitlementCheckTrigger: ...
|
|
680
|
+
|
|
681
|
+
@typing.final
|
|
682
|
+
class TimeTrigger(winrt.system.Object):
|
|
683
|
+
@staticmethod
|
|
684
|
+
def _from(obj: winrt.system.Object, /) -> TimeTrigger: ...
|
|
685
|
+
def __new__(cls: typing.Type[TimeTrigger], freshness_time: winrt.system.UInt32, one_shot: bool) -> TimeTrigger: ...
|
|
686
|
+
@_property
|
|
687
|
+
def freshness_time(self) -> winrt.system.UInt32: ...
|
|
688
|
+
@_property
|
|
689
|
+
def one_shot(self) -> bool: ...
|
|
690
|
+
|
|
691
|
+
@typing.final
|
|
692
|
+
class ToastNotificationActionTrigger(winrt.system.Object):
|
|
693
|
+
@staticmethod
|
|
694
|
+
def _from(obj: winrt.system.Object, /) -> ToastNotificationActionTrigger: ...
|
|
695
|
+
@typing.overload
|
|
696
|
+
def __new__(cls: typing.Type[ToastNotificationActionTrigger], application_id: str) -> ToastNotificationActionTrigger: ...
|
|
697
|
+
@typing.overload
|
|
698
|
+
def __new__(cls: typing.Type[ToastNotificationActionTrigger]) -> ToastNotificationActionTrigger: ...
|
|
699
|
+
|
|
700
|
+
@typing.final
|
|
701
|
+
class ToastNotificationHistoryChangedTrigger(winrt.system.Object):
|
|
702
|
+
@staticmethod
|
|
703
|
+
def _from(obj: winrt.system.Object, /) -> ToastNotificationHistoryChangedTrigger: ...
|
|
704
|
+
@typing.overload
|
|
705
|
+
def __new__(cls: typing.Type[ToastNotificationHistoryChangedTrigger], application_id: str) -> ToastNotificationHistoryChangedTrigger: ...
|
|
706
|
+
@typing.overload
|
|
707
|
+
def __new__(cls: typing.Type[ToastNotificationHistoryChangedTrigger]) -> ToastNotificationHistoryChangedTrigger: ...
|
|
708
|
+
|
|
709
|
+
@typing.final
|
|
710
|
+
class UserNotificationChangedTrigger(winrt.system.Object):
|
|
711
|
+
@staticmethod
|
|
712
|
+
def _from(obj: winrt.system.Object, /) -> UserNotificationChangedTrigger: ...
|
|
713
|
+
def __new__(cls: typing.Type[UserNotificationChangedTrigger], notification_kinds: windows_ui_notifications.NotificationKinds) -> UserNotificationChangedTrigger: ...
|
|
714
|
+
|
|
715
|
+
@typing.final
|
|
716
|
+
class WiFiOnDemandHotspotConnectTrigger(winrt.system.Object):
|
|
717
|
+
@staticmethod
|
|
718
|
+
def _from(obj: winrt.system.Object, /) -> WiFiOnDemandHotspotConnectTrigger: ...
|
|
719
|
+
def __new__(cls: typing.Type[WiFiOnDemandHotspotConnectTrigger]) -> WiFiOnDemandHotspotConnectTrigger: ...
|
|
720
|
+
|
|
721
|
+
@typing.final
|
|
722
|
+
class WiFiOnDemandHotspotUpdateMetadataTrigger(winrt.system.Object):
|
|
723
|
+
@staticmethod
|
|
724
|
+
def _from(obj: winrt.system.Object, /) -> WiFiOnDemandHotspotUpdateMetadataTrigger: ...
|
|
725
|
+
def __new__(cls: typing.Type[WiFiOnDemandHotspotUpdateMetadataTrigger]) -> WiFiOnDemandHotspotUpdateMetadataTrigger: ...
|
|
726
|
+
|
|
727
|
+
@typing.final
|
|
728
|
+
class IBackgroundCondition(winrt.system.Object):
|
|
729
|
+
@staticmethod
|
|
730
|
+
def _from(obj: winrt.system.Object, /) -> IBackgroundCondition: ...
|
|
731
|
+
|
|
732
|
+
@typing.final
|
|
733
|
+
class IBackgroundTask(winrt.system.Object):
|
|
734
|
+
@staticmethod
|
|
735
|
+
def _from(obj: winrt.system.Object, /) -> IBackgroundTask: ...
|
|
736
|
+
def run(self, task_instance: typing.Optional[IBackgroundTaskInstance], /) -> None: ...
|
|
737
|
+
|
|
738
|
+
@typing.final
|
|
739
|
+
class IBackgroundTaskInstance(winrt.system.Object):
|
|
740
|
+
@staticmethod
|
|
741
|
+
def _from(obj: winrt.system.Object, /) -> IBackgroundTaskInstance: ...
|
|
742
|
+
def get_deferral(self) -> typing.Optional[BackgroundTaskDeferral]: ...
|
|
743
|
+
def add_canceled(self, cancel_handler: typing.Optional[BackgroundTaskCanceledEventHandler], /) -> windows_foundation.EventRegistrationToken: ...
|
|
744
|
+
def remove_canceled(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
745
|
+
@_property
|
|
746
|
+
def instance_id(self) -> _uuid.UUID: ...
|
|
747
|
+
@_property
|
|
748
|
+
def progress(self) -> winrt.system.UInt32: ...
|
|
749
|
+
@progress.setter
|
|
750
|
+
def progress(self, value: winrt.system.UInt32) -> None: ...
|
|
751
|
+
@_property
|
|
752
|
+
def suspended_count(self) -> winrt.system.UInt32: ...
|
|
753
|
+
@_property
|
|
754
|
+
def task(self) -> typing.Optional[BackgroundTaskRegistration]: ...
|
|
755
|
+
@_property
|
|
756
|
+
def trigger_details(self) -> typing.Optional[winrt.system.Object]: ...
|
|
757
|
+
|
|
758
|
+
@typing.final
|
|
759
|
+
class IBackgroundTaskInstance2(winrt.system.Object):
|
|
760
|
+
@staticmethod
|
|
761
|
+
def _from(obj: winrt.system.Object, /) -> IBackgroundTaskInstance2: ...
|
|
762
|
+
def get_deferral(self) -> typing.Optional[BackgroundTaskDeferral]: ...
|
|
763
|
+
def get_throttle_count(self, counter: BackgroundTaskThrottleCounter, /) -> winrt.system.UInt32: ...
|
|
764
|
+
def add_canceled(self, cancel_handler: typing.Optional[BackgroundTaskCanceledEventHandler], /) -> windows_foundation.EventRegistrationToken: ...
|
|
765
|
+
def remove_canceled(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
766
|
+
@_property
|
|
767
|
+
def instance_id(self) -> _uuid.UUID: ...
|
|
768
|
+
@_property
|
|
769
|
+
def progress(self) -> winrt.system.UInt32: ...
|
|
770
|
+
@progress.setter
|
|
771
|
+
def progress(self, value: winrt.system.UInt32) -> None: ...
|
|
772
|
+
@_property
|
|
773
|
+
def suspended_count(self) -> winrt.system.UInt32: ...
|
|
774
|
+
@_property
|
|
775
|
+
def task(self) -> typing.Optional[BackgroundTaskRegistration]: ...
|
|
776
|
+
@_property
|
|
777
|
+
def trigger_details(self) -> typing.Optional[winrt.system.Object]: ...
|
|
778
|
+
|
|
779
|
+
@typing.final
|
|
780
|
+
class IBackgroundTaskInstance4(winrt.system.Object):
|
|
781
|
+
@staticmethod
|
|
782
|
+
def _from(obj: winrt.system.Object, /) -> IBackgroundTaskInstance4: ...
|
|
783
|
+
def get_deferral(self) -> typing.Optional[BackgroundTaskDeferral]: ...
|
|
784
|
+
def add_canceled(self, cancel_handler: typing.Optional[BackgroundTaskCanceledEventHandler], /) -> windows_foundation.EventRegistrationToken: ...
|
|
785
|
+
def remove_canceled(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
786
|
+
@_property
|
|
787
|
+
def user(self) -> typing.Optional[windows_system.User]: ...
|
|
788
|
+
@_property
|
|
789
|
+
def instance_id(self) -> _uuid.UUID: ...
|
|
790
|
+
@_property
|
|
791
|
+
def progress(self) -> winrt.system.UInt32: ...
|
|
792
|
+
@progress.setter
|
|
793
|
+
def progress(self, value: winrt.system.UInt32) -> None: ...
|
|
794
|
+
@_property
|
|
795
|
+
def suspended_count(self) -> winrt.system.UInt32: ...
|
|
796
|
+
@_property
|
|
797
|
+
def task(self) -> typing.Optional[BackgroundTaskRegistration]: ...
|
|
798
|
+
@_property
|
|
799
|
+
def trigger_details(self) -> typing.Optional[winrt.system.Object]: ...
|
|
800
|
+
|
|
801
|
+
@typing.final
|
|
802
|
+
class IBackgroundTaskRegistration(winrt.system.Object):
|
|
803
|
+
@staticmethod
|
|
804
|
+
def _from(obj: winrt.system.Object, /) -> IBackgroundTaskRegistration: ...
|
|
805
|
+
def unregister(self, cancel_task: bool, /) -> None: ...
|
|
806
|
+
def add_completed(self, handler: typing.Optional[BackgroundTaskCompletedEventHandler], /) -> windows_foundation.EventRegistrationToken: ...
|
|
807
|
+
def remove_completed(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
808
|
+
def add_progress(self, handler: typing.Optional[BackgroundTaskProgressEventHandler], /) -> windows_foundation.EventRegistrationToken: ...
|
|
809
|
+
def remove_progress(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
810
|
+
@_property
|
|
811
|
+
def name(self) -> str: ...
|
|
812
|
+
@_property
|
|
813
|
+
def task_id(self) -> _uuid.UUID: ...
|
|
814
|
+
|
|
815
|
+
@typing.final
|
|
816
|
+
class IBackgroundTaskRegistration2(winrt.system.Object):
|
|
817
|
+
@staticmethod
|
|
818
|
+
def _from(obj: winrt.system.Object, /) -> IBackgroundTaskRegistration2: ...
|
|
819
|
+
def unregister(self, cancel_task: bool, /) -> None: ...
|
|
820
|
+
def add_completed(self, handler: typing.Optional[BackgroundTaskCompletedEventHandler], /) -> windows_foundation.EventRegistrationToken: ...
|
|
821
|
+
def remove_completed(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
822
|
+
def add_progress(self, handler: typing.Optional[BackgroundTaskProgressEventHandler], /) -> windows_foundation.EventRegistrationToken: ...
|
|
823
|
+
def remove_progress(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
824
|
+
@_property
|
|
825
|
+
def trigger(self) -> typing.Optional[IBackgroundTrigger]: ...
|
|
826
|
+
@_property
|
|
827
|
+
def name(self) -> str: ...
|
|
828
|
+
@_property
|
|
829
|
+
def task_id(self) -> _uuid.UUID: ...
|
|
830
|
+
|
|
831
|
+
@typing.final
|
|
832
|
+
class IBackgroundTaskRegistration3(winrt.system.Object):
|
|
833
|
+
@staticmethod
|
|
834
|
+
def _from(obj: winrt.system.Object, /) -> IBackgroundTaskRegistration3: ...
|
|
835
|
+
def unregister(self, cancel_task: bool, /) -> None: ...
|
|
836
|
+
def add_completed(self, handler: typing.Optional[BackgroundTaskCompletedEventHandler], /) -> windows_foundation.EventRegistrationToken: ...
|
|
837
|
+
def remove_completed(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
838
|
+
def add_progress(self, handler: typing.Optional[BackgroundTaskProgressEventHandler], /) -> windows_foundation.EventRegistrationToken: ...
|
|
839
|
+
def remove_progress(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
840
|
+
@_property
|
|
841
|
+
def task_group(self) -> typing.Optional[BackgroundTaskRegistrationGroup]: ...
|
|
842
|
+
@_property
|
|
843
|
+
def name(self) -> str: ...
|
|
844
|
+
@_property
|
|
845
|
+
def task_id(self) -> _uuid.UUID: ...
|
|
846
|
+
|
|
847
|
+
@typing.final
|
|
848
|
+
class IBackgroundTrigger(winrt.system.Object):
|
|
849
|
+
@staticmethod
|
|
850
|
+
def _from(obj: winrt.system.Object, /) -> IBackgroundTrigger: ...
|
|
851
|
+
|
|
@@ -0,0 +1,283 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
|
|
2
|
+
|
|
3
|
+
import enum
|
|
4
|
+
import typing
|
|
5
|
+
import uuid as _uuid
|
|
6
|
+
|
|
7
|
+
import winrt.system
|
|
8
|
+
from winrt import _winrt_windows_applicationmodel_background
|
|
9
|
+
|
|
10
|
+
__all__ = [
|
|
11
|
+
"AlarmAccessStatus",
|
|
12
|
+
"ApplicationTriggerResult",
|
|
13
|
+
"BackgroundAccessRequestKind",
|
|
14
|
+
"BackgroundAccessStatus",
|
|
15
|
+
"BackgroundTaskCancellationReason",
|
|
16
|
+
"BackgroundTaskThrottleCounter",
|
|
17
|
+
"BackgroundWorkCostValue",
|
|
18
|
+
"CustomSystemEventTriggerRecurrence",
|
|
19
|
+
"DeviceTriggerResult",
|
|
20
|
+
"LocationTriggerType",
|
|
21
|
+
"MediaProcessingTriggerResult",
|
|
22
|
+
"SystemConditionType",
|
|
23
|
+
"SystemTriggerType",
|
|
24
|
+
"ActivitySensorTrigger",
|
|
25
|
+
"AlarmApplicationManager",
|
|
26
|
+
"AppBroadcastTrigger",
|
|
27
|
+
"AppBroadcastTriggerProviderInfo",
|
|
28
|
+
"ApplicationTrigger",
|
|
29
|
+
"ApplicationTriggerDetails",
|
|
30
|
+
"AppointmentStoreNotificationTrigger",
|
|
31
|
+
"BackgroundExecutionManager",
|
|
32
|
+
"BackgroundTaskBuilder",
|
|
33
|
+
"BackgroundTaskCompletedEventArgs",
|
|
34
|
+
"BackgroundTaskDeferral",
|
|
35
|
+
"BackgroundTaskProgressEventArgs",
|
|
36
|
+
"BackgroundTaskRegistration",
|
|
37
|
+
"BackgroundTaskRegistrationGroup",
|
|
38
|
+
"BackgroundWorkCost",
|
|
39
|
+
"BluetoothLEAdvertisementPublisherTrigger",
|
|
40
|
+
"BluetoothLEAdvertisementWatcherTrigger",
|
|
41
|
+
"CachedFileUpdaterTrigger",
|
|
42
|
+
"CachedFileUpdaterTriggerDetails",
|
|
43
|
+
"ChatMessageNotificationTrigger",
|
|
44
|
+
"ChatMessageReceivedNotificationTrigger",
|
|
45
|
+
"CommunicationBlockingAppSetAsActiveTrigger",
|
|
46
|
+
"ContactStoreNotificationTrigger",
|
|
47
|
+
"ContentPrefetchTrigger",
|
|
48
|
+
"ConversationalAgentTrigger",
|
|
49
|
+
"CustomSystemEventTrigger",
|
|
50
|
+
"DeviceConnectionChangeTrigger",
|
|
51
|
+
"DeviceManufacturerNotificationTrigger",
|
|
52
|
+
"DeviceServicingTrigger",
|
|
53
|
+
"DeviceUseTrigger",
|
|
54
|
+
"DeviceWatcherTrigger",
|
|
55
|
+
"EmailStoreNotificationTrigger",
|
|
56
|
+
"GattCharacteristicNotificationTrigger",
|
|
57
|
+
"GattServiceProviderTrigger",
|
|
58
|
+
"GattServiceProviderTriggerResult",
|
|
59
|
+
"GeovisitTrigger",
|
|
60
|
+
"LocationTrigger",
|
|
61
|
+
"MaintenanceTrigger",
|
|
62
|
+
"MediaProcessingTrigger",
|
|
63
|
+
"MobileBroadbandDeviceServiceNotificationTrigger",
|
|
64
|
+
"MobileBroadbandPcoDataChangeTrigger",
|
|
65
|
+
"MobileBroadbandPinLockStateChangeTrigger",
|
|
66
|
+
"MobileBroadbandRadioStateChangeTrigger",
|
|
67
|
+
"MobileBroadbandRegistrationStateChangeTrigger",
|
|
68
|
+
"NetworkOperatorDataUsageTrigger",
|
|
69
|
+
"NetworkOperatorHotspotAuthenticationTrigger",
|
|
70
|
+
"NetworkOperatorNotificationTrigger",
|
|
71
|
+
"PaymentAppCanMakePaymentTrigger",
|
|
72
|
+
"PhoneTrigger",
|
|
73
|
+
"PushNotificationTrigger",
|
|
74
|
+
"RcsEndUserMessageAvailableTrigger",
|
|
75
|
+
"RfcommConnectionTrigger",
|
|
76
|
+
"SecondaryAuthenticationFactorAuthenticationTrigger",
|
|
77
|
+
"SensorDataThresholdTrigger",
|
|
78
|
+
"SmartCardTrigger",
|
|
79
|
+
"SmsMessageReceivedTrigger",
|
|
80
|
+
"SocketActivityTrigger",
|
|
81
|
+
"StorageLibraryChangeTrackerTrigger",
|
|
82
|
+
"StorageLibraryContentChangedTrigger",
|
|
83
|
+
"SystemCondition",
|
|
84
|
+
"SystemTrigger",
|
|
85
|
+
"TetheringEntitlementCheckTrigger",
|
|
86
|
+
"TimeTrigger",
|
|
87
|
+
"ToastNotificationActionTrigger",
|
|
88
|
+
"ToastNotificationHistoryChangedTrigger",
|
|
89
|
+
"UserNotificationChangedTrigger",
|
|
90
|
+
"WiFiOnDemandHotspotConnectTrigger",
|
|
91
|
+
"WiFiOnDemandHotspotUpdateMetadataTrigger",
|
|
92
|
+
"IBackgroundCondition",
|
|
93
|
+
"IBackgroundTask",
|
|
94
|
+
"IBackgroundTaskInstance",
|
|
95
|
+
"IBackgroundTaskInstance2",
|
|
96
|
+
"IBackgroundTaskInstance4",
|
|
97
|
+
"IBackgroundTaskRegistration",
|
|
98
|
+
"IBackgroundTaskRegistration2",
|
|
99
|
+
"IBackgroundTaskRegistration3",
|
|
100
|
+
"IBackgroundTrigger",
|
|
101
|
+
"BackgroundTaskCanceledEventHandler",
|
|
102
|
+
"BackgroundTaskCompletedEventHandler",
|
|
103
|
+
"BackgroundTaskProgressEventHandler",
|
|
104
|
+
]
|
|
105
|
+
|
|
106
|
+
class AlarmAccessStatus(enum.IntEnum):
|
|
107
|
+
UNSPECIFIED = 0
|
|
108
|
+
ALLOWED_WITH_WAKEUP_CAPABILITY = 1
|
|
109
|
+
ALLOWED_WITHOUT_WAKEUP_CAPABILITY = 2
|
|
110
|
+
DENIED = 3
|
|
111
|
+
|
|
112
|
+
class ApplicationTriggerResult(enum.IntEnum):
|
|
113
|
+
ALLOWED = 0
|
|
114
|
+
CURRENTLY_RUNNING = 1
|
|
115
|
+
DISABLED_BY_POLICY = 2
|
|
116
|
+
UNKNOWN_ERROR = 3
|
|
117
|
+
|
|
118
|
+
class BackgroundAccessRequestKind(enum.IntEnum):
|
|
119
|
+
ALWAYS_ALLOWED = 0
|
|
120
|
+
ALLOWED_SUBJECT_TO_SYSTEM_POLICY = 1
|
|
121
|
+
|
|
122
|
+
class BackgroundAccessStatus(enum.IntEnum):
|
|
123
|
+
UNSPECIFIED = 0
|
|
124
|
+
ALLOWED_WITH_ALWAYS_ON_REAL_TIME_CONNECTIVITY = 1
|
|
125
|
+
ALLOWED_MAY_USE_ACTIVE_REAL_TIME_CONNECTIVITY = 2
|
|
126
|
+
DENIED = 3
|
|
127
|
+
ALWAYS_ALLOWED = 4
|
|
128
|
+
ALLOWED_SUBJECT_TO_SYSTEM_POLICY = 5
|
|
129
|
+
DENIED_BY_SYSTEM_POLICY = 6
|
|
130
|
+
DENIED_BY_USER = 7
|
|
131
|
+
|
|
132
|
+
class BackgroundTaskCancellationReason(enum.IntEnum):
|
|
133
|
+
ABORT = 0
|
|
134
|
+
TERMINATING = 1
|
|
135
|
+
LOGGING_OFF = 2
|
|
136
|
+
SERVICING_UPDATE = 3
|
|
137
|
+
IDLE_TASK = 4
|
|
138
|
+
UNINSTALL = 5
|
|
139
|
+
CONDITION_LOSS = 6
|
|
140
|
+
SYSTEM_POLICY = 7
|
|
141
|
+
QUIET_HOURS_ENTERED = 8
|
|
142
|
+
EXECUTION_TIME_EXCEEDED = 9
|
|
143
|
+
RESOURCE_REVOCATION = 10
|
|
144
|
+
ENERGY_SAVER = 11
|
|
145
|
+
|
|
146
|
+
class BackgroundTaskThrottleCounter(enum.IntEnum):
|
|
147
|
+
ALL = 0
|
|
148
|
+
CPU = 1
|
|
149
|
+
NETWORK = 2
|
|
150
|
+
|
|
151
|
+
class BackgroundWorkCostValue(enum.IntEnum):
|
|
152
|
+
LOW = 0
|
|
153
|
+
MEDIUM = 1
|
|
154
|
+
HIGH = 2
|
|
155
|
+
|
|
156
|
+
class CustomSystemEventTriggerRecurrence(enum.IntEnum):
|
|
157
|
+
ONCE = 0
|
|
158
|
+
ALWAYS = 1
|
|
159
|
+
|
|
160
|
+
class DeviceTriggerResult(enum.IntEnum):
|
|
161
|
+
ALLOWED = 0
|
|
162
|
+
DENIED_BY_USER = 1
|
|
163
|
+
DENIED_BY_SYSTEM = 2
|
|
164
|
+
LOW_BATTERY = 3
|
|
165
|
+
|
|
166
|
+
class LocationTriggerType(enum.IntEnum):
|
|
167
|
+
GEOFENCE = 0
|
|
168
|
+
|
|
169
|
+
class MediaProcessingTriggerResult(enum.IntEnum):
|
|
170
|
+
ALLOWED = 0
|
|
171
|
+
CURRENTLY_RUNNING = 1
|
|
172
|
+
DISABLED_BY_POLICY = 2
|
|
173
|
+
UNKNOWN_ERROR = 3
|
|
174
|
+
|
|
175
|
+
class SystemConditionType(enum.IntEnum):
|
|
176
|
+
INVALID = 0
|
|
177
|
+
USER_PRESENT = 1
|
|
178
|
+
USER_NOT_PRESENT = 2
|
|
179
|
+
INTERNET_AVAILABLE = 3
|
|
180
|
+
INTERNET_NOT_AVAILABLE = 4
|
|
181
|
+
SESSION_CONNECTED = 5
|
|
182
|
+
SESSION_DISCONNECTED = 6
|
|
183
|
+
FREE_NETWORK_AVAILABLE = 7
|
|
184
|
+
BACKGROUND_WORK_COST_NOT_HIGH = 8
|
|
185
|
+
|
|
186
|
+
class SystemTriggerType(enum.IntEnum):
|
|
187
|
+
INVALID = 0
|
|
188
|
+
SMS_RECEIVED = 1
|
|
189
|
+
USER_PRESENT = 2
|
|
190
|
+
USER_AWAY = 3
|
|
191
|
+
NETWORK_STATE_CHANGE = 4
|
|
192
|
+
CONTROL_CHANNEL_RESET = 5
|
|
193
|
+
INTERNET_AVAILABLE = 6
|
|
194
|
+
SESSION_CONNECTED = 7
|
|
195
|
+
SERVICING_COMPLETE = 8
|
|
196
|
+
LOCK_SCREEN_APPLICATION_ADDED = 9
|
|
197
|
+
LOCK_SCREEN_APPLICATION_REMOVED = 10
|
|
198
|
+
TIME_ZONE_CHANGE = 11
|
|
199
|
+
ONLINE_ID_CONNECTED_STATE_CHANGE = 12
|
|
200
|
+
BACKGROUND_WORK_COST_CHANGE = 13
|
|
201
|
+
POWER_STATE_CHANGE = 14
|
|
202
|
+
DEFAULT_SIGN_IN_ACCOUNT_CHANGE = 15
|
|
203
|
+
|
|
204
|
+
ActivitySensorTrigger = _winrt_windows_applicationmodel_background.ActivitySensorTrigger
|
|
205
|
+
AlarmApplicationManager = _winrt_windows_applicationmodel_background.AlarmApplicationManager
|
|
206
|
+
AppBroadcastTrigger = _winrt_windows_applicationmodel_background.AppBroadcastTrigger
|
|
207
|
+
AppBroadcastTriggerProviderInfo = _winrt_windows_applicationmodel_background.AppBroadcastTriggerProviderInfo
|
|
208
|
+
ApplicationTrigger = _winrt_windows_applicationmodel_background.ApplicationTrigger
|
|
209
|
+
ApplicationTriggerDetails = _winrt_windows_applicationmodel_background.ApplicationTriggerDetails
|
|
210
|
+
AppointmentStoreNotificationTrigger = _winrt_windows_applicationmodel_background.AppointmentStoreNotificationTrigger
|
|
211
|
+
BackgroundExecutionManager = _winrt_windows_applicationmodel_background.BackgroundExecutionManager
|
|
212
|
+
BackgroundTaskBuilder = _winrt_windows_applicationmodel_background.BackgroundTaskBuilder
|
|
213
|
+
BackgroundTaskCompletedEventArgs = _winrt_windows_applicationmodel_background.BackgroundTaskCompletedEventArgs
|
|
214
|
+
BackgroundTaskDeferral = _winrt_windows_applicationmodel_background.BackgroundTaskDeferral
|
|
215
|
+
BackgroundTaskProgressEventArgs = _winrt_windows_applicationmodel_background.BackgroundTaskProgressEventArgs
|
|
216
|
+
BackgroundTaskRegistration = _winrt_windows_applicationmodel_background.BackgroundTaskRegistration
|
|
217
|
+
BackgroundTaskRegistrationGroup = _winrt_windows_applicationmodel_background.BackgroundTaskRegistrationGroup
|
|
218
|
+
BackgroundWorkCost = _winrt_windows_applicationmodel_background.BackgroundWorkCost
|
|
219
|
+
BluetoothLEAdvertisementPublisherTrigger = _winrt_windows_applicationmodel_background.BluetoothLEAdvertisementPublisherTrigger
|
|
220
|
+
BluetoothLEAdvertisementWatcherTrigger = _winrt_windows_applicationmodel_background.BluetoothLEAdvertisementWatcherTrigger
|
|
221
|
+
CachedFileUpdaterTrigger = _winrt_windows_applicationmodel_background.CachedFileUpdaterTrigger
|
|
222
|
+
CachedFileUpdaterTriggerDetails = _winrt_windows_applicationmodel_background.CachedFileUpdaterTriggerDetails
|
|
223
|
+
ChatMessageNotificationTrigger = _winrt_windows_applicationmodel_background.ChatMessageNotificationTrigger
|
|
224
|
+
ChatMessageReceivedNotificationTrigger = _winrt_windows_applicationmodel_background.ChatMessageReceivedNotificationTrigger
|
|
225
|
+
CommunicationBlockingAppSetAsActiveTrigger = _winrt_windows_applicationmodel_background.CommunicationBlockingAppSetAsActiveTrigger
|
|
226
|
+
ContactStoreNotificationTrigger = _winrt_windows_applicationmodel_background.ContactStoreNotificationTrigger
|
|
227
|
+
ContentPrefetchTrigger = _winrt_windows_applicationmodel_background.ContentPrefetchTrigger
|
|
228
|
+
ConversationalAgentTrigger = _winrt_windows_applicationmodel_background.ConversationalAgentTrigger
|
|
229
|
+
CustomSystemEventTrigger = _winrt_windows_applicationmodel_background.CustomSystemEventTrigger
|
|
230
|
+
DeviceConnectionChangeTrigger = _winrt_windows_applicationmodel_background.DeviceConnectionChangeTrigger
|
|
231
|
+
DeviceManufacturerNotificationTrigger = _winrt_windows_applicationmodel_background.DeviceManufacturerNotificationTrigger
|
|
232
|
+
DeviceServicingTrigger = _winrt_windows_applicationmodel_background.DeviceServicingTrigger
|
|
233
|
+
DeviceUseTrigger = _winrt_windows_applicationmodel_background.DeviceUseTrigger
|
|
234
|
+
DeviceWatcherTrigger = _winrt_windows_applicationmodel_background.DeviceWatcherTrigger
|
|
235
|
+
EmailStoreNotificationTrigger = _winrt_windows_applicationmodel_background.EmailStoreNotificationTrigger
|
|
236
|
+
GattCharacteristicNotificationTrigger = _winrt_windows_applicationmodel_background.GattCharacteristicNotificationTrigger
|
|
237
|
+
GattServiceProviderTrigger = _winrt_windows_applicationmodel_background.GattServiceProviderTrigger
|
|
238
|
+
GattServiceProviderTriggerResult = _winrt_windows_applicationmodel_background.GattServiceProviderTriggerResult
|
|
239
|
+
GeovisitTrigger = _winrt_windows_applicationmodel_background.GeovisitTrigger
|
|
240
|
+
LocationTrigger = _winrt_windows_applicationmodel_background.LocationTrigger
|
|
241
|
+
MaintenanceTrigger = _winrt_windows_applicationmodel_background.MaintenanceTrigger
|
|
242
|
+
MediaProcessingTrigger = _winrt_windows_applicationmodel_background.MediaProcessingTrigger
|
|
243
|
+
MobileBroadbandDeviceServiceNotificationTrigger = _winrt_windows_applicationmodel_background.MobileBroadbandDeviceServiceNotificationTrigger
|
|
244
|
+
MobileBroadbandPcoDataChangeTrigger = _winrt_windows_applicationmodel_background.MobileBroadbandPcoDataChangeTrigger
|
|
245
|
+
MobileBroadbandPinLockStateChangeTrigger = _winrt_windows_applicationmodel_background.MobileBroadbandPinLockStateChangeTrigger
|
|
246
|
+
MobileBroadbandRadioStateChangeTrigger = _winrt_windows_applicationmodel_background.MobileBroadbandRadioStateChangeTrigger
|
|
247
|
+
MobileBroadbandRegistrationStateChangeTrigger = _winrt_windows_applicationmodel_background.MobileBroadbandRegistrationStateChangeTrigger
|
|
248
|
+
NetworkOperatorDataUsageTrigger = _winrt_windows_applicationmodel_background.NetworkOperatorDataUsageTrigger
|
|
249
|
+
NetworkOperatorHotspotAuthenticationTrigger = _winrt_windows_applicationmodel_background.NetworkOperatorHotspotAuthenticationTrigger
|
|
250
|
+
NetworkOperatorNotificationTrigger = _winrt_windows_applicationmodel_background.NetworkOperatorNotificationTrigger
|
|
251
|
+
PaymentAppCanMakePaymentTrigger = _winrt_windows_applicationmodel_background.PaymentAppCanMakePaymentTrigger
|
|
252
|
+
PhoneTrigger = _winrt_windows_applicationmodel_background.PhoneTrigger
|
|
253
|
+
PushNotificationTrigger = _winrt_windows_applicationmodel_background.PushNotificationTrigger
|
|
254
|
+
RcsEndUserMessageAvailableTrigger = _winrt_windows_applicationmodel_background.RcsEndUserMessageAvailableTrigger
|
|
255
|
+
RfcommConnectionTrigger = _winrt_windows_applicationmodel_background.RfcommConnectionTrigger
|
|
256
|
+
SecondaryAuthenticationFactorAuthenticationTrigger = _winrt_windows_applicationmodel_background.SecondaryAuthenticationFactorAuthenticationTrigger
|
|
257
|
+
SensorDataThresholdTrigger = _winrt_windows_applicationmodel_background.SensorDataThresholdTrigger
|
|
258
|
+
SmartCardTrigger = _winrt_windows_applicationmodel_background.SmartCardTrigger
|
|
259
|
+
SmsMessageReceivedTrigger = _winrt_windows_applicationmodel_background.SmsMessageReceivedTrigger
|
|
260
|
+
SocketActivityTrigger = _winrt_windows_applicationmodel_background.SocketActivityTrigger
|
|
261
|
+
StorageLibraryChangeTrackerTrigger = _winrt_windows_applicationmodel_background.StorageLibraryChangeTrackerTrigger
|
|
262
|
+
StorageLibraryContentChangedTrigger = _winrt_windows_applicationmodel_background.StorageLibraryContentChangedTrigger
|
|
263
|
+
SystemCondition = _winrt_windows_applicationmodel_background.SystemCondition
|
|
264
|
+
SystemTrigger = _winrt_windows_applicationmodel_background.SystemTrigger
|
|
265
|
+
TetheringEntitlementCheckTrigger = _winrt_windows_applicationmodel_background.TetheringEntitlementCheckTrigger
|
|
266
|
+
TimeTrigger = _winrt_windows_applicationmodel_background.TimeTrigger
|
|
267
|
+
ToastNotificationActionTrigger = _winrt_windows_applicationmodel_background.ToastNotificationActionTrigger
|
|
268
|
+
ToastNotificationHistoryChangedTrigger = _winrt_windows_applicationmodel_background.ToastNotificationHistoryChangedTrigger
|
|
269
|
+
UserNotificationChangedTrigger = _winrt_windows_applicationmodel_background.UserNotificationChangedTrigger
|
|
270
|
+
WiFiOnDemandHotspotConnectTrigger = _winrt_windows_applicationmodel_background.WiFiOnDemandHotspotConnectTrigger
|
|
271
|
+
WiFiOnDemandHotspotUpdateMetadataTrigger = _winrt_windows_applicationmodel_background.WiFiOnDemandHotspotUpdateMetadataTrigger
|
|
272
|
+
IBackgroundCondition = _winrt_windows_applicationmodel_background.IBackgroundCondition
|
|
273
|
+
IBackgroundTask = _winrt_windows_applicationmodel_background.IBackgroundTask
|
|
274
|
+
IBackgroundTaskInstance = _winrt_windows_applicationmodel_background.IBackgroundTaskInstance
|
|
275
|
+
IBackgroundTaskInstance2 = _winrt_windows_applicationmodel_background.IBackgroundTaskInstance2
|
|
276
|
+
IBackgroundTaskInstance4 = _winrt_windows_applicationmodel_background.IBackgroundTaskInstance4
|
|
277
|
+
IBackgroundTaskRegistration = _winrt_windows_applicationmodel_background.IBackgroundTaskRegistration
|
|
278
|
+
IBackgroundTaskRegistration2 = _winrt_windows_applicationmodel_background.IBackgroundTaskRegistration2
|
|
279
|
+
IBackgroundTaskRegistration3 = _winrt_windows_applicationmodel_background.IBackgroundTaskRegistration3
|
|
280
|
+
IBackgroundTrigger = _winrt_windows_applicationmodel_background.IBackgroundTrigger
|
|
281
|
+
BackgroundTaskCanceledEventHandler = typing.Callable[[typing.Optional[IBackgroundTaskInstance], BackgroundTaskCancellationReason], None]
|
|
282
|
+
BackgroundTaskCompletedEventHandler = typing.Callable[[typing.Optional[BackgroundTaskRegistration], typing.Optional[BackgroundTaskCompletedEventArgs]], None]
|
|
283
|
+
BackgroundTaskProgressEventHandler = typing.Callable[[typing.Optional[BackgroundTaskRegistration], typing.Optional[BackgroundTaskProgressEventArgs]], None]
|
|
File without changes
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: winrt-Windows.ApplicationModel.Background
|
|
3
|
+
Version: 2.2.0
|
|
4
|
+
Summary: Python projection of Windows Runtime (WinRT) APIs
|
|
5
|
+
License: MIT
|
|
6
|
+
Project-URL: Documentation, https://pywinrt.readthedocs.io
|
|
7
|
+
Project-URL: Repository, https://github.com/pywinrt/pywinrt
|
|
8
|
+
Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md
|
|
9
|
+
Classifier: Operating System :: Microsoft :: Windows
|
|
10
|
+
Classifier: Programming Language :: Python :: 3
|
|
11
|
+
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
12
|
+
Classifier: Intended Audience :: Developers
|
|
13
|
+
Requires-Python: <3.14,>=3.9
|
|
14
|
+
Description-Content-Type: text/markdown
|
|
15
|
+
Requires-Dist: winrt-runtime ==2.2.0
|
|
16
|
+
Provides-Extra: all
|
|
17
|
+
Requires-Dist: winrt-Windows.ApplicationModel.Activation[all] ==2.2.0 ; extra == 'all'
|
|
18
|
+
Requires-Dist: winrt-Windows.ApplicationModel.Calls.Background[all] ==2.2.0 ; extra == 'all'
|
|
19
|
+
Requires-Dist: winrt-Windows.Devices.Bluetooth[all] ==2.2.0 ; extra == 'all'
|
|
20
|
+
Requires-Dist: winrt-Windows.Devices.Bluetooth.Advertisement[all] ==2.2.0 ; extra == 'all'
|
|
21
|
+
Requires-Dist: winrt-Windows.Devices.Bluetooth.Background[all] ==2.2.0 ; extra == 'all'
|
|
22
|
+
Requires-Dist: winrt-Windows.Devices.Bluetooth.GenericAttributeProfile[all] ==2.2.0 ; extra == 'all'
|
|
23
|
+
Requires-Dist: winrt-Windows.Devices.Geolocation[all] ==2.2.0 ; extra == 'all'
|
|
24
|
+
Requires-Dist: winrt-Windows.Devices.Sensors[all] ==2.2.0 ; extra == 'all'
|
|
25
|
+
Requires-Dist: winrt-Windows.Devices.SmartCards[all] ==2.2.0 ; extra == 'all'
|
|
26
|
+
Requires-Dist: winrt-Windows.Devices.Sms[all] ==2.2.0 ; extra == 'all'
|
|
27
|
+
Requires-Dist: winrt-Windows.Foundation[all] ==2.2.0 ; extra == 'all'
|
|
28
|
+
Requires-Dist: winrt-Windows.Foundation.Collections[all] ==2.2.0 ; extra == 'all'
|
|
29
|
+
Requires-Dist: winrt-Windows.Networking[all] ==2.2.0 ; extra == 'all'
|
|
30
|
+
Requires-Dist: winrt-Windows.Networking.Sockets[all] ==2.2.0 ; extra == 'all'
|
|
31
|
+
Requires-Dist: winrt-Windows.Storage[all] ==2.2.0 ; extra == 'all'
|
|
32
|
+
Requires-Dist: winrt-Windows.Storage.Provider[all] ==2.2.0 ; extra == 'all'
|
|
33
|
+
Requires-Dist: winrt-Windows.System[all] ==2.2.0 ; extra == 'all'
|
|
34
|
+
Requires-Dist: winrt-Windows.UI.Notifications[all] ==2.2.0 ; extra == 'all'
|
|
35
|
+
|
|
36
|
+
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
37
|
+
|
|
38
|
+
# winrt-Windows.ApplicationModel.Background
|
|
39
|
+
|
|
40
|
+
Windows Runtime (WinRT) APIs for for the `Windows.ApplicationModel.Background` namespace.
|
|
41
|
+
|
|
42
|
+
This package provides the `winrt.windows.applicationmodel.background` module.
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
winrt/_winrt_windows_applicationmodel_background.cp313-win_amd64.pyd,sha256=5J84gaKP8mxpwvV8-5rCMGQvjhMl2lCOnwzFcTXOsk8,593920
|
|
2
|
+
winrt/_winrt_windows_applicationmodel_background.pyi,sha256=xAguhSRmT89OnQeOO48_6Cgw1oFIkghSIjUUXTBQ-HU,42152
|
|
3
|
+
winrt/windows/applicationmodel/background/__init__.py,sha256=g_P4ey408Jpb1CCyiN1PnyUcCDUEkr-ZqKqrHbtGYig,14279
|
|
4
|
+
winrt/windows/applicationmodel/background/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
|
+
winrt_Windows.ApplicationModel.Background-2.2.0.dist-info/METADATA,sha256=TRCHHrR1b8OjgwZim4borV5OC8diFuiJJkxhtFPiTIk,2463
|
|
6
|
+
winrt_Windows.ApplicationModel.Background-2.2.0.dist-info/WHEEL,sha256=CdxowNJ2RPRCxUxJWAQ4R_o8uA51cjotGywc47Ht6wA,101
|
|
7
|
+
winrt_Windows.ApplicationModel.Background-2.2.0.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
|
|
8
|
+
winrt_Windows.ApplicationModel.Background-2.2.0.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
winrt
|