winrt-Windows.ApplicationModel.Background 3.2.1__cp314-cp314-win32.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.cp314-win32.pyd +0 -0
- winrt/_winrt_windows_applicationmodel_background.pyi +909 -0
- winrt/windows/applicationmodel/background/__init__.py +300 -0
- winrt/windows/applicationmodel/background/py.typed +0 -0
- winrt_windows_applicationmodel_background-3.2.1.dist-info/METADATA +42 -0
- winrt_windows_applicationmodel_background-3.2.1.dist-info/RECORD +8 -0
- winrt_windows_applicationmodel_background-3.2.1.dist-info/WHEEL +5 -0
- winrt_windows_applicationmodel_background-3.2.1.dist-info/top_level.txt +1 -0
|
Binary file
|
|
@@ -0,0 +1,909 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v3.2.1
|
|
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
|
+
from abc import abstractmethod
|
|
10
|
+
|
|
11
|
+
import winrt._winrt
|
|
12
|
+
import winrt.system
|
|
13
|
+
import winrt.windows.applicationmodel.activation as windows_applicationmodel_activation
|
|
14
|
+
import winrt.windows.applicationmodel.calls.background as windows_applicationmodel_calls_background
|
|
15
|
+
import winrt.windows.devices.bluetooth as windows_devices_bluetooth
|
|
16
|
+
import winrt.windows.devices.bluetooth.advertisement as windows_devices_bluetooth_advertisement
|
|
17
|
+
import winrt.windows.devices.bluetooth.background as windows_devices_bluetooth_background
|
|
18
|
+
import winrt.windows.devices.bluetooth.genericattributeprofile as windows_devices_bluetooth_genericattributeprofile
|
|
19
|
+
import winrt.windows.devices.geolocation as windows_devices_geolocation
|
|
20
|
+
import winrt.windows.devices.sensors as windows_devices_sensors
|
|
21
|
+
import winrt.windows.devices.smartcards as windows_devices_smartcards
|
|
22
|
+
import winrt.windows.devices.sms as windows_devices_sms
|
|
23
|
+
import winrt.windows.foundation as windows_foundation
|
|
24
|
+
import winrt.windows.foundation.collections as windows_foundation_collections
|
|
25
|
+
import winrt.windows.networking as windows_networking
|
|
26
|
+
import winrt.windows.networking.sockets as windows_networking_sockets
|
|
27
|
+
import winrt.windows.storage as windows_storage
|
|
28
|
+
import winrt.windows.storage.provider as windows_storage_provider
|
|
29
|
+
import winrt.windows.system as windows_system
|
|
30
|
+
import winrt.windows.ui.notifications as windows_ui_notifications
|
|
31
|
+
|
|
32
|
+
from winrt.windows.applicationmodel.background import AlarmAccessStatus, ApplicationTriggerResult, BackgroundAccessRequestKind, BackgroundAccessStatus, BackgroundTaskCancellationReason, BackgroundTaskThrottleCounter, BackgroundWorkCostValue, CustomSystemEventTriggerRecurrence, DeviceTriggerResult, EnergyUseLevel, LocationTriggerType, MediaProcessingTriggerResult, SystemConditionType, SystemTriggerType
|
|
33
|
+
from winrt.windows.applicationmodel.background import BackgroundTaskCanceledEventHandler, BackgroundTaskCompletedEventHandler, BackgroundTaskProgressEventHandler
|
|
34
|
+
|
|
35
|
+
Self = typing.TypeVar('Self')
|
|
36
|
+
|
|
37
|
+
@typing.final
|
|
38
|
+
class ActivitySensorTrigger(winrt.system.Object, IBackgroundTrigger):
|
|
39
|
+
def __new__(cls: typing.Type[Self], report_interval_in_milliseconds: winrt.system.UInt32) -> Self: ...
|
|
40
|
+
# System.UInt32 Windows.ApplicationModel.Background.ActivitySensorTrigger::get_MinimumReportInterval()
|
|
41
|
+
@_property
|
|
42
|
+
def minimum_report_interval(self) -> winrt.system.UInt32: ...
|
|
43
|
+
# System.UInt32 Windows.ApplicationModel.Background.ActivitySensorTrigger::get_ReportInterval()
|
|
44
|
+
@_property
|
|
45
|
+
def report_interval(self) -> winrt.system.UInt32: ...
|
|
46
|
+
# Windows.Foundation.Collections.IVector`1<Windows.Devices.Sensors.ActivityType> Windows.ApplicationModel.Background.ActivitySensorTrigger::get_SubscribedActivities()
|
|
47
|
+
@_property
|
|
48
|
+
def subscribed_activities(self) -> typing.MutableSequence[windows_devices_sensors.ActivityType]: ...
|
|
49
|
+
# Windows.Foundation.Collections.IVectorView`1<Windows.Devices.Sensors.ActivityType> Windows.ApplicationModel.Background.ActivitySensorTrigger::get_SupportedActivities()
|
|
50
|
+
@_property
|
|
51
|
+
def supported_activities(self) -> typing.Sequence[windows_devices_sensors.ActivityType]: ...
|
|
52
|
+
|
|
53
|
+
@typing.final
|
|
54
|
+
class AlarmApplicationManager_Static(winrt._winrt.IInspectable_Static):
|
|
55
|
+
# Windows.ApplicationModel.Background.AlarmAccessStatus Windows.ApplicationModel.Background.AlarmApplicationManager::GetAccessStatus()
|
|
56
|
+
def get_access_status(cls) -> AlarmAccessStatus: ...
|
|
57
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.ApplicationModel.Background.AlarmAccessStatus> Windows.ApplicationModel.Background.AlarmApplicationManager::RequestAccessAsync()
|
|
58
|
+
def request_access_async(cls) -> windows_foundation.IAsyncOperation[AlarmAccessStatus]: ...
|
|
59
|
+
|
|
60
|
+
@typing.final
|
|
61
|
+
class AlarmApplicationManager(winrt.system.Object, metaclass=AlarmApplicationManager_Static):
|
|
62
|
+
pass
|
|
63
|
+
|
|
64
|
+
@typing.final
|
|
65
|
+
class AppBroadcastTrigger(winrt.system.Object, IBackgroundTrigger):
|
|
66
|
+
def __new__(cls: typing.Type[Self], provider_key: str) -> Self: ...
|
|
67
|
+
# Windows.ApplicationModel.Background.AppBroadcastTriggerProviderInfo Windows.ApplicationModel.Background.AppBroadcastTrigger::get_ProviderInfo()
|
|
68
|
+
@_property
|
|
69
|
+
def provider_info(self) -> AppBroadcastTriggerProviderInfo: ...
|
|
70
|
+
# System.Void Windows.ApplicationModel.Background.AppBroadcastTrigger::put_ProviderInfo(Windows.ApplicationModel.Background.AppBroadcastTriggerProviderInfo)
|
|
71
|
+
@provider_info.setter
|
|
72
|
+
def provider_info(self, value: AppBroadcastTriggerProviderInfo) -> None: ...
|
|
73
|
+
|
|
74
|
+
@typing.final
|
|
75
|
+
class AppBroadcastTriggerProviderInfo(winrt.system.Object):
|
|
76
|
+
# Windows.Foundation.TimeSpan Windows.ApplicationModel.Background.AppBroadcastTriggerProviderInfo::get_VideoKeyFrameInterval()
|
|
77
|
+
@_property
|
|
78
|
+
def video_key_frame_interval(self) -> datetime.timedelta: ...
|
|
79
|
+
# System.Void Windows.ApplicationModel.Background.AppBroadcastTriggerProviderInfo::put_VideoKeyFrameInterval(Windows.Foundation.TimeSpan)
|
|
80
|
+
@video_key_frame_interval.setter
|
|
81
|
+
def video_key_frame_interval(self, value: datetime.timedelta) -> None: ...
|
|
82
|
+
# System.UInt32 Windows.ApplicationModel.Background.AppBroadcastTriggerProviderInfo::get_MaxVideoWidth()
|
|
83
|
+
@_property
|
|
84
|
+
def max_video_width(self) -> winrt.system.UInt32: ...
|
|
85
|
+
# System.Void Windows.ApplicationModel.Background.AppBroadcastTriggerProviderInfo::put_MaxVideoWidth(System.UInt32)
|
|
86
|
+
@max_video_width.setter
|
|
87
|
+
def max_video_width(self, value: winrt.system.UInt32) -> None: ...
|
|
88
|
+
# System.UInt32 Windows.ApplicationModel.Background.AppBroadcastTriggerProviderInfo::get_MaxVideoHeight()
|
|
89
|
+
@_property
|
|
90
|
+
def max_video_height(self) -> winrt.system.UInt32: ...
|
|
91
|
+
# System.Void Windows.ApplicationModel.Background.AppBroadcastTriggerProviderInfo::put_MaxVideoHeight(System.UInt32)
|
|
92
|
+
@max_video_height.setter
|
|
93
|
+
def max_video_height(self, value: winrt.system.UInt32) -> None: ...
|
|
94
|
+
# System.UInt32 Windows.ApplicationModel.Background.AppBroadcastTriggerProviderInfo::get_MaxVideoBitrate()
|
|
95
|
+
@_property
|
|
96
|
+
def max_video_bitrate(self) -> winrt.system.UInt32: ...
|
|
97
|
+
# System.Void Windows.ApplicationModel.Background.AppBroadcastTriggerProviderInfo::put_MaxVideoBitrate(System.UInt32)
|
|
98
|
+
@max_video_bitrate.setter
|
|
99
|
+
def max_video_bitrate(self, value: winrt.system.UInt32) -> None: ...
|
|
100
|
+
# System.String Windows.ApplicationModel.Background.AppBroadcastTriggerProviderInfo::get_LogoResource()
|
|
101
|
+
@_property
|
|
102
|
+
def logo_resource(self) -> str: ...
|
|
103
|
+
# System.Void Windows.ApplicationModel.Background.AppBroadcastTriggerProviderInfo::put_LogoResource(System.String)
|
|
104
|
+
@logo_resource.setter
|
|
105
|
+
def logo_resource(self, value: str) -> None: ...
|
|
106
|
+
# System.String Windows.ApplicationModel.Background.AppBroadcastTriggerProviderInfo::get_DisplayNameResource()
|
|
107
|
+
@_property
|
|
108
|
+
def display_name_resource(self) -> str: ...
|
|
109
|
+
# System.Void Windows.ApplicationModel.Background.AppBroadcastTriggerProviderInfo::put_DisplayNameResource(System.String)
|
|
110
|
+
@display_name_resource.setter
|
|
111
|
+
def display_name_resource(self, value: str) -> None: ...
|
|
112
|
+
|
|
113
|
+
@typing.final
|
|
114
|
+
class ApplicationTrigger(winrt.system.Object, IBackgroundTrigger):
|
|
115
|
+
def __new__(cls: typing.Type[Self]) -> Self: ...
|
|
116
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.ApplicationModel.Background.ApplicationTriggerResult> Windows.ApplicationModel.Background.ApplicationTrigger::RequestAsync()
|
|
117
|
+
def request_async(self) -> windows_foundation.IAsyncOperation[ApplicationTriggerResult]: ...
|
|
118
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.ApplicationModel.Background.ApplicationTriggerResult> Windows.ApplicationModel.Background.ApplicationTrigger::RequestAsync(Windows.Foundation.Collections.ValueSet)
|
|
119
|
+
def request_async_with_arguments(self, arguments: windows_foundation_collections.ValueSet, /) -> windows_foundation.IAsyncOperation[ApplicationTriggerResult]: ...
|
|
120
|
+
|
|
121
|
+
@typing.final
|
|
122
|
+
class ApplicationTriggerDetails(winrt.system.Object):
|
|
123
|
+
# Windows.Foundation.Collections.ValueSet Windows.ApplicationModel.Background.ApplicationTriggerDetails::get_Arguments()
|
|
124
|
+
@_property
|
|
125
|
+
def arguments(self) -> windows_foundation_collections.ValueSet: ...
|
|
126
|
+
|
|
127
|
+
@typing.final
|
|
128
|
+
class AppointmentStoreNotificationTrigger(winrt.system.Object, IBackgroundTrigger):
|
|
129
|
+
def __new__(cls: typing.Type[Self]) -> Self: ...
|
|
130
|
+
|
|
131
|
+
@typing.final
|
|
132
|
+
class BackgroundExecutionManager_Static(winrt._winrt.IInspectable_Static):
|
|
133
|
+
# Windows.ApplicationModel.Background.BackgroundAccessStatus Windows.ApplicationModel.Background.BackgroundExecutionManager::GetAccessStatus()
|
|
134
|
+
def get_access_status(cls) -> BackgroundAccessStatus: ...
|
|
135
|
+
# Windows.ApplicationModel.Background.BackgroundAccessStatus Windows.ApplicationModel.Background.BackgroundExecutionManager::GetAccessStatus(System.String)
|
|
136
|
+
def get_access_status_for_application(cls, application_id: str, /) -> BackgroundAccessStatus: ...
|
|
137
|
+
# Windows.ApplicationModel.Background.BackgroundAccessStatus Windows.ApplicationModel.Background.BackgroundExecutionManager::GetAccessStatusForModernStandby()
|
|
138
|
+
def get_access_status_for_modern_standby(cls) -> BackgroundAccessStatus: ...
|
|
139
|
+
# Windows.ApplicationModel.Background.BackgroundAccessStatus Windows.ApplicationModel.Background.BackgroundExecutionManager::GetAccessStatusForModernStandby(System.String)
|
|
140
|
+
def get_access_status_for_modern_standby_for_application(cls, application_id: str, /) -> BackgroundAccessStatus: ...
|
|
141
|
+
# System.Void Windows.ApplicationModel.Background.BackgroundExecutionManager::RemoveAccess()
|
|
142
|
+
def remove_access(cls) -> None: ...
|
|
143
|
+
# System.Void Windows.ApplicationModel.Background.BackgroundExecutionManager::RemoveAccess(System.String)
|
|
144
|
+
def remove_access_for_application(cls, application_id: str, /) -> None: ...
|
|
145
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.ApplicationModel.Background.BackgroundAccessStatus> Windows.ApplicationModel.Background.BackgroundExecutionManager::RequestAccessAsync()
|
|
146
|
+
def request_access_async(cls) -> windows_foundation.IAsyncOperation[BackgroundAccessStatus]: ...
|
|
147
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.ApplicationModel.Background.BackgroundAccessStatus> Windows.ApplicationModel.Background.BackgroundExecutionManager::RequestAccessAsync(System.String)
|
|
148
|
+
def request_access_for_application_async(cls, application_id: str, /) -> windows_foundation.IAsyncOperation[BackgroundAccessStatus]: ...
|
|
149
|
+
# Windows.Foundation.IAsyncOperation`1<System.Boolean> Windows.ApplicationModel.Background.BackgroundExecutionManager::RequestAccessKindAsync(Windows.ApplicationModel.Background.BackgroundAccessRequestKind,System.String)
|
|
150
|
+
def request_access_kind_async(cls, requested_access: BackgroundAccessRequestKind, reason: str, /) -> windows_foundation.IAsyncOperation[bool]: ...
|
|
151
|
+
# Windows.Foundation.IAsyncOperation`1<System.Boolean> Windows.ApplicationModel.Background.BackgroundExecutionManager::RequestAccessKindForModernStandbyAsync(Windows.ApplicationModel.Background.BackgroundAccessRequestKind,System.String)
|
|
152
|
+
def request_access_kind_for_modern_standby_async(cls, requested_access: BackgroundAccessRequestKind, reason: str, /) -> windows_foundation.IAsyncOperation[bool]: ...
|
|
153
|
+
|
|
154
|
+
@typing.final
|
|
155
|
+
class BackgroundExecutionManager(winrt.system.Object, metaclass=BackgroundExecutionManager_Static):
|
|
156
|
+
pass
|
|
157
|
+
|
|
158
|
+
@typing.final
|
|
159
|
+
class BackgroundTaskBuilder_Static(winrt._winrt.IInspectable_Static):
|
|
160
|
+
# System.Boolean Windows.ApplicationModel.Background.BackgroundTaskBuilder::get_IsRunningTaskInStandbySupported()
|
|
161
|
+
@_property
|
|
162
|
+
def is_running_task_in_standby_supported(cls) -> bool: ...
|
|
163
|
+
|
|
164
|
+
@typing.final
|
|
165
|
+
class BackgroundTaskBuilder(winrt.system.Object, metaclass=BackgroundTaskBuilder_Static):
|
|
166
|
+
def __new__(cls: typing.Type[Self]) -> Self: ...
|
|
167
|
+
# System.Void Windows.ApplicationModel.Background.BackgroundTaskBuilder::AddCondition(Windows.ApplicationModel.Background.IBackgroundCondition)
|
|
168
|
+
def add_condition(self, condition: IBackgroundCondition, /) -> None: ...
|
|
169
|
+
@typing.overload
|
|
170
|
+
# Windows.ApplicationModel.Background.BackgroundTaskRegistration Windows.ApplicationModel.Background.BackgroundTaskBuilder::Register()
|
|
171
|
+
def register(self) -> BackgroundTaskRegistration: ...
|
|
172
|
+
@typing.overload
|
|
173
|
+
# Windows.ApplicationModel.Background.BackgroundTaskRegistration Windows.ApplicationModel.Background.BackgroundTaskBuilder::Register(System.String)
|
|
174
|
+
def register(self, task_name: str, /) -> BackgroundTaskRegistration: ...
|
|
175
|
+
# System.Void Windows.ApplicationModel.Background.BackgroundTaskBuilder::SetTaskEntryPointClsid(System.Guid)
|
|
176
|
+
def set_task_entry_point_clsid(self, task_entry_point: _uuid.UUID, /) -> None: ...
|
|
177
|
+
# System.Void Windows.ApplicationModel.Background.BackgroundTaskBuilder::SetTrigger(Windows.ApplicationModel.Background.IBackgroundTrigger)
|
|
178
|
+
def set_trigger(self, trigger: IBackgroundTrigger, /) -> None: ...
|
|
179
|
+
# System.Boolean Windows.ApplicationModel.Background.BackgroundTaskBuilder::Validate()
|
|
180
|
+
def validate(self) -> bool: ...
|
|
181
|
+
# System.String Windows.ApplicationModel.Background.BackgroundTaskBuilder::get_TaskEntryPoint()
|
|
182
|
+
@_property
|
|
183
|
+
def task_entry_point(self) -> str: ...
|
|
184
|
+
# System.Void Windows.ApplicationModel.Background.BackgroundTaskBuilder::put_TaskEntryPoint(System.String)
|
|
185
|
+
@task_entry_point.setter
|
|
186
|
+
def task_entry_point(self, value: str) -> None: ...
|
|
187
|
+
# System.String Windows.ApplicationModel.Background.BackgroundTaskBuilder::get_Name()
|
|
188
|
+
@_property
|
|
189
|
+
def name(self) -> str: ...
|
|
190
|
+
# System.Void Windows.ApplicationModel.Background.BackgroundTaskBuilder::put_Name(System.String)
|
|
191
|
+
@name.setter
|
|
192
|
+
def name(self, value: str) -> None: ...
|
|
193
|
+
# System.Boolean Windows.ApplicationModel.Background.BackgroundTaskBuilder::get_CancelOnConditionLoss()
|
|
194
|
+
@_property
|
|
195
|
+
def cancel_on_condition_loss(self) -> bool: ...
|
|
196
|
+
# System.Void Windows.ApplicationModel.Background.BackgroundTaskBuilder::put_CancelOnConditionLoss(System.Boolean)
|
|
197
|
+
@cancel_on_condition_loss.setter
|
|
198
|
+
def cancel_on_condition_loss(self, value: bool) -> None: ...
|
|
199
|
+
# System.Boolean Windows.ApplicationModel.Background.BackgroundTaskBuilder::get_IsNetworkRequested()
|
|
200
|
+
@_property
|
|
201
|
+
def is_network_requested(self) -> bool: ...
|
|
202
|
+
# System.Void Windows.ApplicationModel.Background.BackgroundTaskBuilder::put_IsNetworkRequested(System.Boolean)
|
|
203
|
+
@is_network_requested.setter
|
|
204
|
+
def is_network_requested(self, value: bool) -> None: ...
|
|
205
|
+
# Windows.ApplicationModel.Background.BackgroundTaskRegistrationGroup Windows.ApplicationModel.Background.BackgroundTaskBuilder::get_TaskGroup()
|
|
206
|
+
@_property
|
|
207
|
+
def task_group(self) -> BackgroundTaskRegistrationGroup: ...
|
|
208
|
+
# System.Void Windows.ApplicationModel.Background.BackgroundTaskBuilder::put_TaskGroup(Windows.ApplicationModel.Background.BackgroundTaskRegistrationGroup)
|
|
209
|
+
@task_group.setter
|
|
210
|
+
def task_group(self, value: BackgroundTaskRegistrationGroup) -> None: ...
|
|
211
|
+
# System.Boolean Windows.ApplicationModel.Background.BackgroundTaskBuilder::get_AllowRunningTaskInStandby()
|
|
212
|
+
@_property
|
|
213
|
+
def allow_running_task_in_standby(self) -> bool: ...
|
|
214
|
+
# System.Void Windows.ApplicationModel.Background.BackgroundTaskBuilder::put_AllowRunningTaskInStandby(System.Boolean)
|
|
215
|
+
@allow_running_task_in_standby.setter
|
|
216
|
+
def allow_running_task_in_standby(self, value: bool) -> None: ...
|
|
217
|
+
|
|
218
|
+
@typing.final
|
|
219
|
+
class BackgroundTaskCompletedEventArgs(winrt.system.Object):
|
|
220
|
+
# System.Void Windows.ApplicationModel.Background.BackgroundTaskCompletedEventArgs::CheckResult()
|
|
221
|
+
def check_result(self) -> None: ...
|
|
222
|
+
# System.Guid Windows.ApplicationModel.Background.BackgroundTaskCompletedEventArgs::get_InstanceId()
|
|
223
|
+
@_property
|
|
224
|
+
def instance_id(self) -> _uuid.UUID: ...
|
|
225
|
+
|
|
226
|
+
@typing.final
|
|
227
|
+
class BackgroundTaskDeferral(winrt.system.Object):
|
|
228
|
+
# System.Void Windows.ApplicationModel.Background.BackgroundTaskDeferral::Complete()
|
|
229
|
+
def complete(self) -> None: ...
|
|
230
|
+
|
|
231
|
+
@typing.final
|
|
232
|
+
class BackgroundTaskProgressEventArgs(winrt.system.Object):
|
|
233
|
+
# System.Guid Windows.ApplicationModel.Background.BackgroundTaskProgressEventArgs::get_InstanceId()
|
|
234
|
+
@_property
|
|
235
|
+
def instance_id(self) -> _uuid.UUID: ...
|
|
236
|
+
# System.UInt32 Windows.ApplicationModel.Background.BackgroundTaskProgressEventArgs::get_Progress()
|
|
237
|
+
@_property
|
|
238
|
+
def progress(self) -> winrt.system.UInt32: ...
|
|
239
|
+
|
|
240
|
+
@typing.final
|
|
241
|
+
class BackgroundTaskRegistration_Static(winrt._winrt.IInspectable_Static):
|
|
242
|
+
# Windows.ApplicationModel.Background.BackgroundTaskRegistrationGroup Windows.ApplicationModel.Background.BackgroundTaskRegistration::GetTaskGroup(System.String)
|
|
243
|
+
def get_task_group(cls, group_id: str, /) -> BackgroundTaskRegistrationGroup: ...
|
|
244
|
+
# Windows.Foundation.Collections.IMapView`2<System.Guid,Windows.ApplicationModel.Background.IBackgroundTaskRegistration> Windows.ApplicationModel.Background.BackgroundTaskRegistration::get_AllTasks()
|
|
245
|
+
@_property
|
|
246
|
+
def all_tasks(cls) -> typing.Mapping[_uuid.UUID, IBackgroundTaskRegistration]: ...
|
|
247
|
+
# Windows.Foundation.Collections.IMapView`2<System.String,Windows.ApplicationModel.Background.BackgroundTaskRegistrationGroup> Windows.ApplicationModel.Background.BackgroundTaskRegistration::get_AllTaskGroups()
|
|
248
|
+
@_property
|
|
249
|
+
def all_task_groups(cls) -> typing.Mapping[str, BackgroundTaskRegistrationGroup]: ...
|
|
250
|
+
|
|
251
|
+
@typing.final
|
|
252
|
+
class BackgroundTaskRegistration(winrt.system.Object, IBackgroundTaskRegistration3, IBackgroundTaskRegistration2, IBackgroundTaskRegistration, metaclass=BackgroundTaskRegistration_Static):
|
|
253
|
+
# System.Void Windows.ApplicationModel.Background.BackgroundTaskRegistration::Unregister(System.Boolean)
|
|
254
|
+
def unregister(self, cancel_task: bool, /) -> None: ...
|
|
255
|
+
# Windows.Foundation.EventRegistrationToken Windows.ApplicationModel.Background.BackgroundTaskRegistration::add_Completed(Windows.ApplicationModel.Background.BackgroundTaskCompletedEventHandler)
|
|
256
|
+
def add_completed(self, handler: BackgroundTaskCompletedEventHandler, /) -> windows_foundation.EventRegistrationToken: ...
|
|
257
|
+
# System.Void Windows.ApplicationModel.Background.BackgroundTaskRegistration::remove_Completed(Windows.Foundation.EventRegistrationToken)
|
|
258
|
+
def remove_completed(self, cookie: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
|
|
259
|
+
# Windows.Foundation.EventRegistrationToken Windows.ApplicationModel.Background.BackgroundTaskRegistration::add_Progress(Windows.ApplicationModel.Background.BackgroundTaskProgressEventHandler)
|
|
260
|
+
def add_progress(self, handler: BackgroundTaskProgressEventHandler, /) -> windows_foundation.EventRegistrationToken: ...
|
|
261
|
+
# System.Void Windows.ApplicationModel.Background.BackgroundTaskRegistration::remove_Progress(Windows.Foundation.EventRegistrationToken)
|
|
262
|
+
def remove_progress(self, cookie: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
|
|
263
|
+
# System.String Windows.ApplicationModel.Background.BackgroundTaskRegistration::get_Name()
|
|
264
|
+
@_property
|
|
265
|
+
def name(self) -> str: ...
|
|
266
|
+
# System.Guid Windows.ApplicationModel.Background.BackgroundTaskRegistration::get_TaskId()
|
|
267
|
+
@_property
|
|
268
|
+
def task_id(self) -> _uuid.UUID: ...
|
|
269
|
+
# Windows.ApplicationModel.Background.IBackgroundTrigger Windows.ApplicationModel.Background.BackgroundTaskRegistration::get_Trigger()
|
|
270
|
+
@_property
|
|
271
|
+
def trigger(self) -> IBackgroundTrigger: ...
|
|
272
|
+
# Windows.ApplicationModel.Background.BackgroundTaskRegistrationGroup Windows.ApplicationModel.Background.BackgroundTaskRegistration::get_TaskGroup()
|
|
273
|
+
@_property
|
|
274
|
+
def task_group(self) -> BackgroundTaskRegistrationGroup: ...
|
|
275
|
+
# System.Double Windows.ApplicationModel.Background.BackgroundTaskRegistration::get_AppEnergyUsePredictionContribution()
|
|
276
|
+
@_property
|
|
277
|
+
def app_energy_use_prediction_contribution(self) -> winrt.system.Double: ...
|
|
278
|
+
# Windows.Foundation.DateTime Windows.ApplicationModel.Background.BackgroundTaskRegistration::get_TaskLastThrottledInStandbyTimestamp()
|
|
279
|
+
@_property
|
|
280
|
+
def task_last_throttled_in_standby_timestamp(self) -> datetime.datetime: ...
|
|
281
|
+
|
|
282
|
+
@typing.final
|
|
283
|
+
class BackgroundTaskRegistrationGroup(winrt.system.Object):
|
|
284
|
+
@typing.overload
|
|
285
|
+
def __new__(cls: typing.Type[Self], id: str) -> Self: ...
|
|
286
|
+
@typing.overload
|
|
287
|
+
def __new__(cls: typing.Type[Self], id: str, name: str) -> Self: ...
|
|
288
|
+
# Windows.Foundation.EventRegistrationToken Windows.ApplicationModel.Background.BackgroundTaskRegistrationGroup::add_BackgroundActivated(Windows.Foundation.TypedEventHandler`2<Windows.ApplicationModel.Background.BackgroundTaskRegistrationGroup,Windows.ApplicationModel.Activation.BackgroundActivatedEventArgs>)
|
|
289
|
+
def add_background_activated(self, handler: windows_foundation.TypedEventHandler[BackgroundTaskRegistrationGroup, windows_applicationmodel_activation.BackgroundActivatedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
290
|
+
# System.Void Windows.ApplicationModel.Background.BackgroundTaskRegistrationGroup::remove_BackgroundActivated(Windows.Foundation.EventRegistrationToken)
|
|
291
|
+
def remove_background_activated(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
|
|
292
|
+
# Windows.Foundation.Collections.IMapView`2<System.Guid,Windows.ApplicationModel.Background.BackgroundTaskRegistration> Windows.ApplicationModel.Background.BackgroundTaskRegistrationGroup::get_AllTasks()
|
|
293
|
+
@_property
|
|
294
|
+
def all_tasks(self) -> typing.Mapping[_uuid.UUID, BackgroundTaskRegistration]: ...
|
|
295
|
+
# System.String Windows.ApplicationModel.Background.BackgroundTaskRegistrationGroup::get_Id()
|
|
296
|
+
@_property
|
|
297
|
+
def id(self) -> str: ...
|
|
298
|
+
# System.String Windows.ApplicationModel.Background.BackgroundTaskRegistrationGroup::get_Name()
|
|
299
|
+
@_property
|
|
300
|
+
def name(self) -> str: ...
|
|
301
|
+
|
|
302
|
+
@typing.final
|
|
303
|
+
class BackgroundWorkCost_Static(winrt._winrt.IInspectable_Static):
|
|
304
|
+
# Windows.ApplicationModel.Background.BackgroundWorkCostValue Windows.ApplicationModel.Background.BackgroundWorkCost::get_CurrentBackgroundWorkCost()
|
|
305
|
+
@_property
|
|
306
|
+
def current_background_work_cost(cls) -> BackgroundWorkCostValue: ...
|
|
307
|
+
# Windows.ApplicationModel.Background.EnergyUseLevel Windows.ApplicationModel.Background.BackgroundWorkCost::get_AppEnergyUseLevel()
|
|
308
|
+
@_property
|
|
309
|
+
def app_energy_use_level(cls) -> EnergyUseLevel: ...
|
|
310
|
+
# Windows.ApplicationModel.Background.EnergyUseLevel Windows.ApplicationModel.Background.BackgroundWorkCost::get_AppEnergyUsePrediction()
|
|
311
|
+
@_property
|
|
312
|
+
def app_energy_use_prediction(cls) -> EnergyUseLevel: ...
|
|
313
|
+
# Windows.Foundation.DateTime Windows.ApplicationModel.Background.BackgroundWorkCost::get_AppLastThrottledInStandbyTimestamp()
|
|
314
|
+
@_property
|
|
315
|
+
def app_last_throttled_in_standby_timestamp(cls) -> datetime.datetime: ...
|
|
316
|
+
|
|
317
|
+
@typing.final
|
|
318
|
+
class BackgroundWorkCost(winrt.system.Object, metaclass=BackgroundWorkCost_Static):
|
|
319
|
+
pass
|
|
320
|
+
|
|
321
|
+
@typing.final
|
|
322
|
+
class BluetoothLEAdvertisementPublisherTrigger(winrt.system.Object, IBackgroundTrigger):
|
|
323
|
+
def __new__(cls: typing.Type[Self]) -> Self: ...
|
|
324
|
+
# Windows.Devices.Bluetooth.Advertisement.BluetoothLEAdvertisement Windows.ApplicationModel.Background.BluetoothLEAdvertisementPublisherTrigger::get_Advertisement()
|
|
325
|
+
@_property
|
|
326
|
+
def advertisement(self) -> windows_devices_bluetooth_advertisement.BluetoothLEAdvertisement: ...
|
|
327
|
+
# System.Boolean Windows.ApplicationModel.Background.BluetoothLEAdvertisementPublisherTrigger::get_UseExtendedFormat()
|
|
328
|
+
@_property
|
|
329
|
+
def use_extended_format(self) -> bool: ...
|
|
330
|
+
# System.Void Windows.ApplicationModel.Background.BluetoothLEAdvertisementPublisherTrigger::put_UseExtendedFormat(System.Boolean)
|
|
331
|
+
@use_extended_format.setter
|
|
332
|
+
def use_extended_format(self, value: bool) -> None: ...
|
|
333
|
+
# Windows.Foundation.IReference`1<System.Int16> Windows.ApplicationModel.Background.BluetoothLEAdvertisementPublisherTrigger::get_PreferredTransmitPowerLevelInDBm()
|
|
334
|
+
@_property
|
|
335
|
+
def preferred_transmit_power_level_in_dbm(self) -> typing.Optional[winrt.system.Int16]: ...
|
|
336
|
+
# System.Void Windows.ApplicationModel.Background.BluetoothLEAdvertisementPublisherTrigger::put_PreferredTransmitPowerLevelInDBm(Windows.Foundation.IReference`1<System.Int16>)
|
|
337
|
+
@preferred_transmit_power_level_in_dbm.setter
|
|
338
|
+
def preferred_transmit_power_level_in_dbm(self, value: typing.Optional[winrt.system.Int16]) -> None: ...
|
|
339
|
+
# System.Boolean Windows.ApplicationModel.Background.BluetoothLEAdvertisementPublisherTrigger::get_IsAnonymous()
|
|
340
|
+
@_property
|
|
341
|
+
def is_anonymous(self) -> bool: ...
|
|
342
|
+
# System.Void Windows.ApplicationModel.Background.BluetoothLEAdvertisementPublisherTrigger::put_IsAnonymous(System.Boolean)
|
|
343
|
+
@is_anonymous.setter
|
|
344
|
+
def is_anonymous(self, value: bool) -> None: ...
|
|
345
|
+
# System.Boolean Windows.ApplicationModel.Background.BluetoothLEAdvertisementPublisherTrigger::get_IncludeTransmitPowerLevel()
|
|
346
|
+
@_property
|
|
347
|
+
def include_transmit_power_level(self) -> bool: ...
|
|
348
|
+
# System.Void Windows.ApplicationModel.Background.BluetoothLEAdvertisementPublisherTrigger::put_IncludeTransmitPowerLevel(System.Boolean)
|
|
349
|
+
@include_transmit_power_level.setter
|
|
350
|
+
def include_transmit_power_level(self, value: bool) -> None: ...
|
|
351
|
+
# Windows.Devices.Bluetooth.Advertisement.BluetoothLEAdvertisementPhyType Windows.ApplicationModel.Background.BluetoothLEAdvertisementPublisherTrigger::get_SecondaryPhy()
|
|
352
|
+
@_property
|
|
353
|
+
def secondary_phy(self) -> windows_devices_bluetooth_advertisement.BluetoothLEAdvertisementPhyType: ...
|
|
354
|
+
# System.Void Windows.ApplicationModel.Background.BluetoothLEAdvertisementPublisherTrigger::put_SecondaryPhy(Windows.Devices.Bluetooth.Advertisement.BluetoothLEAdvertisementPhyType)
|
|
355
|
+
@secondary_phy.setter
|
|
356
|
+
def secondary_phy(self, value: windows_devices_bluetooth_advertisement.BluetoothLEAdvertisementPhyType) -> None: ...
|
|
357
|
+
# Windows.Devices.Bluetooth.Advertisement.BluetoothLEAdvertisementPhyType Windows.ApplicationModel.Background.BluetoothLEAdvertisementPublisherTrigger::get_PrimaryPhy()
|
|
358
|
+
@_property
|
|
359
|
+
def primary_phy(self) -> windows_devices_bluetooth_advertisement.BluetoothLEAdvertisementPhyType: ...
|
|
360
|
+
# System.Void Windows.ApplicationModel.Background.BluetoothLEAdvertisementPublisherTrigger::put_PrimaryPhy(Windows.Devices.Bluetooth.Advertisement.BluetoothLEAdvertisementPhyType)
|
|
361
|
+
@primary_phy.setter
|
|
362
|
+
def primary_phy(self, value: windows_devices_bluetooth_advertisement.BluetoothLEAdvertisementPhyType) -> None: ...
|
|
363
|
+
|
|
364
|
+
@typing.final
|
|
365
|
+
class BluetoothLEAdvertisementWatcherTrigger(winrt.system.Object, IBackgroundTrigger):
|
|
366
|
+
def __new__(cls: typing.Type[Self]) -> Self: ...
|
|
367
|
+
# Windows.Devices.Bluetooth.BluetoothSignalStrengthFilter Windows.ApplicationModel.Background.BluetoothLEAdvertisementWatcherTrigger::get_SignalStrengthFilter()
|
|
368
|
+
@_property
|
|
369
|
+
def signal_strength_filter(self) -> windows_devices_bluetooth.BluetoothSignalStrengthFilter: ...
|
|
370
|
+
# System.Void Windows.ApplicationModel.Background.BluetoothLEAdvertisementWatcherTrigger::put_SignalStrengthFilter(Windows.Devices.Bluetooth.BluetoothSignalStrengthFilter)
|
|
371
|
+
@signal_strength_filter.setter
|
|
372
|
+
def signal_strength_filter(self, value: windows_devices_bluetooth.BluetoothSignalStrengthFilter) -> None: ...
|
|
373
|
+
# Windows.Devices.Bluetooth.Advertisement.BluetoothLEAdvertisementFilter Windows.ApplicationModel.Background.BluetoothLEAdvertisementWatcherTrigger::get_AdvertisementFilter()
|
|
374
|
+
@_property
|
|
375
|
+
def advertisement_filter(self) -> windows_devices_bluetooth_advertisement.BluetoothLEAdvertisementFilter: ...
|
|
376
|
+
# System.Void Windows.ApplicationModel.Background.BluetoothLEAdvertisementWatcherTrigger::put_AdvertisementFilter(Windows.Devices.Bluetooth.Advertisement.BluetoothLEAdvertisementFilter)
|
|
377
|
+
@advertisement_filter.setter
|
|
378
|
+
def advertisement_filter(self, value: windows_devices_bluetooth_advertisement.BluetoothLEAdvertisementFilter) -> None: ...
|
|
379
|
+
# Windows.Foundation.TimeSpan Windows.ApplicationModel.Background.BluetoothLEAdvertisementWatcherTrigger::get_MaxOutOfRangeTimeout()
|
|
380
|
+
@_property
|
|
381
|
+
def max_out_of_range_timeout(self) -> datetime.timedelta: ...
|
|
382
|
+
# Windows.Foundation.TimeSpan Windows.ApplicationModel.Background.BluetoothLEAdvertisementWatcherTrigger::get_MaxSamplingInterval()
|
|
383
|
+
@_property
|
|
384
|
+
def max_sampling_interval(self) -> datetime.timedelta: ...
|
|
385
|
+
# Windows.Foundation.TimeSpan Windows.ApplicationModel.Background.BluetoothLEAdvertisementWatcherTrigger::get_MinOutOfRangeTimeout()
|
|
386
|
+
@_property
|
|
387
|
+
def min_out_of_range_timeout(self) -> datetime.timedelta: ...
|
|
388
|
+
# Windows.Foundation.TimeSpan Windows.ApplicationModel.Background.BluetoothLEAdvertisementWatcherTrigger::get_MinSamplingInterval()
|
|
389
|
+
@_property
|
|
390
|
+
def min_sampling_interval(self) -> datetime.timedelta: ...
|
|
391
|
+
# System.Boolean Windows.ApplicationModel.Background.BluetoothLEAdvertisementWatcherTrigger::get_AllowExtendedAdvertisements()
|
|
392
|
+
@_property
|
|
393
|
+
def allow_extended_advertisements(self) -> bool: ...
|
|
394
|
+
# System.Void Windows.ApplicationModel.Background.BluetoothLEAdvertisementWatcherTrigger::put_AllowExtendedAdvertisements(System.Boolean)
|
|
395
|
+
@allow_extended_advertisements.setter
|
|
396
|
+
def allow_extended_advertisements(self, value: bool) -> None: ...
|
|
397
|
+
# System.Boolean Windows.ApplicationModel.Background.BluetoothLEAdvertisementWatcherTrigger::get_UseUncoded1MPhy()
|
|
398
|
+
@_property
|
|
399
|
+
def use_uncoded1_m_phy(self) -> bool: ...
|
|
400
|
+
# System.Void Windows.ApplicationModel.Background.BluetoothLEAdvertisementWatcherTrigger::put_UseUncoded1MPhy(System.Boolean)
|
|
401
|
+
@use_uncoded1_m_phy.setter
|
|
402
|
+
def use_uncoded1_m_phy(self, value: bool) -> None: ...
|
|
403
|
+
# System.Boolean Windows.ApplicationModel.Background.BluetoothLEAdvertisementWatcherTrigger::get_UseCodedPhy()
|
|
404
|
+
@_property
|
|
405
|
+
def use_coded_phy(self) -> bool: ...
|
|
406
|
+
# System.Void Windows.ApplicationModel.Background.BluetoothLEAdvertisementWatcherTrigger::put_UseCodedPhy(System.Boolean)
|
|
407
|
+
@use_coded_phy.setter
|
|
408
|
+
def use_coded_phy(self, value: bool) -> None: ...
|
|
409
|
+
# Windows.Devices.Bluetooth.Advertisement.BluetoothLEAdvertisementScanParameters Windows.ApplicationModel.Background.BluetoothLEAdvertisementWatcherTrigger::get_ScanParameters()
|
|
410
|
+
@_property
|
|
411
|
+
def scan_parameters(self) -> windows_devices_bluetooth_advertisement.BluetoothLEAdvertisementScanParameters: ...
|
|
412
|
+
# System.Void Windows.ApplicationModel.Background.BluetoothLEAdvertisementWatcherTrigger::put_ScanParameters(Windows.Devices.Bluetooth.Advertisement.BluetoothLEAdvertisementScanParameters)
|
|
413
|
+
@scan_parameters.setter
|
|
414
|
+
def scan_parameters(self, value: windows_devices_bluetooth_advertisement.BluetoothLEAdvertisementScanParameters) -> None: ...
|
|
415
|
+
|
|
416
|
+
@typing.final
|
|
417
|
+
class CachedFileUpdaterTrigger(winrt.system.Object, IBackgroundTrigger):
|
|
418
|
+
def __new__(cls: typing.Type[Self]) -> Self: ...
|
|
419
|
+
|
|
420
|
+
@typing.final
|
|
421
|
+
class CachedFileUpdaterTriggerDetails(winrt.system.Object):
|
|
422
|
+
# System.Boolean Windows.ApplicationModel.Background.CachedFileUpdaterTriggerDetails::get_CanRequestUserInput()
|
|
423
|
+
@_property
|
|
424
|
+
def can_request_user_input(self) -> bool: ...
|
|
425
|
+
# Windows.Storage.Provider.FileUpdateRequest Windows.ApplicationModel.Background.CachedFileUpdaterTriggerDetails::get_UpdateRequest()
|
|
426
|
+
@_property
|
|
427
|
+
def update_request(self) -> windows_storage_provider.FileUpdateRequest: ...
|
|
428
|
+
# Windows.Storage.Provider.CachedFileTarget Windows.ApplicationModel.Background.CachedFileUpdaterTriggerDetails::get_UpdateTarget()
|
|
429
|
+
@_property
|
|
430
|
+
def update_target(self) -> windows_storage_provider.CachedFileTarget: ...
|
|
431
|
+
|
|
432
|
+
@typing.final
|
|
433
|
+
class ChatMessageNotificationTrigger(winrt.system.Object, IBackgroundTrigger):
|
|
434
|
+
def __new__(cls: typing.Type[Self]) -> Self: ...
|
|
435
|
+
|
|
436
|
+
@typing.final
|
|
437
|
+
class ChatMessageReceivedNotificationTrigger(winrt.system.Object, IBackgroundTrigger):
|
|
438
|
+
def __new__(cls: typing.Type[Self]) -> Self: ...
|
|
439
|
+
|
|
440
|
+
@typing.final
|
|
441
|
+
class CommunicationBlockingAppSetAsActiveTrigger(winrt.system.Object, IBackgroundTrigger):
|
|
442
|
+
def __new__(cls: typing.Type[Self]) -> Self: ...
|
|
443
|
+
|
|
444
|
+
@typing.final
|
|
445
|
+
class ContactStoreNotificationTrigger(winrt.system.Object, IBackgroundTrigger):
|
|
446
|
+
def __new__(cls: typing.Type[Self]) -> Self: ...
|
|
447
|
+
|
|
448
|
+
@typing.final
|
|
449
|
+
class ContentPrefetchTrigger(winrt.system.Object, IBackgroundTrigger):
|
|
450
|
+
@typing.overload
|
|
451
|
+
def __new__(cls: typing.Type[Self], wait_interval: datetime.timedelta) -> Self: ...
|
|
452
|
+
@typing.overload
|
|
453
|
+
def __new__(cls: typing.Type[Self]) -> Self: ...
|
|
454
|
+
# Windows.Foundation.TimeSpan Windows.ApplicationModel.Background.ContentPrefetchTrigger::get_WaitInterval()
|
|
455
|
+
@_property
|
|
456
|
+
def wait_interval(self) -> datetime.timedelta: ...
|
|
457
|
+
|
|
458
|
+
@typing.final
|
|
459
|
+
class ConversationalAgentTrigger(winrt.system.Object, IBackgroundTrigger):
|
|
460
|
+
def __new__(cls: typing.Type[Self]) -> Self: ...
|
|
461
|
+
|
|
462
|
+
@typing.final
|
|
463
|
+
class CustomSystemEventTrigger(winrt.system.Object, IBackgroundTrigger):
|
|
464
|
+
def __new__(cls: typing.Type[Self], trigger_id: str, recurrence: CustomSystemEventTriggerRecurrence) -> Self: ...
|
|
465
|
+
# Windows.ApplicationModel.Background.CustomSystemEventTriggerRecurrence Windows.ApplicationModel.Background.CustomSystemEventTrigger::get_Recurrence()
|
|
466
|
+
@_property
|
|
467
|
+
def recurrence(self) -> CustomSystemEventTriggerRecurrence: ...
|
|
468
|
+
# System.String Windows.ApplicationModel.Background.CustomSystemEventTrigger::get_TriggerId()
|
|
469
|
+
@_property
|
|
470
|
+
def trigger_id(self) -> str: ...
|
|
471
|
+
|
|
472
|
+
@typing.final
|
|
473
|
+
class DeviceConnectionChangeTrigger_Static(winrt._winrt.IInspectable_Static):
|
|
474
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.ApplicationModel.Background.DeviceConnectionChangeTrigger> Windows.ApplicationModel.Background.DeviceConnectionChangeTrigger::FromIdAsync(System.String)
|
|
475
|
+
def from_id_async(cls, device_id: str, /) -> windows_foundation.IAsyncOperation[DeviceConnectionChangeTrigger]: ...
|
|
476
|
+
|
|
477
|
+
@typing.final
|
|
478
|
+
class DeviceConnectionChangeTrigger(winrt.system.Object, IBackgroundTrigger, metaclass=DeviceConnectionChangeTrigger_Static):
|
|
479
|
+
# System.Boolean Windows.ApplicationModel.Background.DeviceConnectionChangeTrigger::get_MaintainConnection()
|
|
480
|
+
@_property
|
|
481
|
+
def maintain_connection(self) -> bool: ...
|
|
482
|
+
# System.Void Windows.ApplicationModel.Background.DeviceConnectionChangeTrigger::put_MaintainConnection(System.Boolean)
|
|
483
|
+
@maintain_connection.setter
|
|
484
|
+
def maintain_connection(self, value: bool) -> None: ...
|
|
485
|
+
# System.Boolean Windows.ApplicationModel.Background.DeviceConnectionChangeTrigger::get_CanMaintainConnection()
|
|
486
|
+
@_property
|
|
487
|
+
def can_maintain_connection(self) -> bool: ...
|
|
488
|
+
# System.String Windows.ApplicationModel.Background.DeviceConnectionChangeTrigger::get_DeviceId()
|
|
489
|
+
@_property
|
|
490
|
+
def device_id(self) -> str: ...
|
|
491
|
+
|
|
492
|
+
@typing.final
|
|
493
|
+
class DeviceManufacturerNotificationTrigger(winrt.system.Object, IBackgroundTrigger):
|
|
494
|
+
def __new__(cls: typing.Type[Self], trigger_qualifier: str, one_shot: bool) -> Self: ...
|
|
495
|
+
# System.Boolean Windows.ApplicationModel.Background.DeviceManufacturerNotificationTrigger::get_OneShot()
|
|
496
|
+
@_property
|
|
497
|
+
def one_shot(self) -> bool: ...
|
|
498
|
+
# System.String Windows.ApplicationModel.Background.DeviceManufacturerNotificationTrigger::get_TriggerQualifier()
|
|
499
|
+
@_property
|
|
500
|
+
def trigger_qualifier(self) -> str: ...
|
|
501
|
+
|
|
502
|
+
@typing.final
|
|
503
|
+
class DeviceServicingTrigger(winrt.system.Object, IBackgroundTrigger):
|
|
504
|
+
def __new__(cls: typing.Type[Self]) -> Self: ...
|
|
505
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.ApplicationModel.Background.DeviceTriggerResult> Windows.ApplicationModel.Background.DeviceServicingTrigger::RequestAsync(System.String,Windows.Foundation.TimeSpan)
|
|
506
|
+
def request_async_simple(self, device_id: str, expected_duration: datetime.timedelta, /) -> windows_foundation.IAsyncOperation[DeviceTriggerResult]: ...
|
|
507
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.ApplicationModel.Background.DeviceTriggerResult> Windows.ApplicationModel.Background.DeviceServicingTrigger::RequestAsync(System.String,Windows.Foundation.TimeSpan,System.String)
|
|
508
|
+
def request_async_with_arguments(self, device_id: str, expected_duration: datetime.timedelta, arguments: str, /) -> windows_foundation.IAsyncOperation[DeviceTriggerResult]: ...
|
|
509
|
+
|
|
510
|
+
@typing.final
|
|
511
|
+
class DeviceUseTrigger(winrt.system.Object, IBackgroundTrigger):
|
|
512
|
+
def __new__(cls: typing.Type[Self]) -> Self: ...
|
|
513
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.ApplicationModel.Background.DeviceTriggerResult> Windows.ApplicationModel.Background.DeviceUseTrigger::RequestAsync(System.String)
|
|
514
|
+
def request_async_simple(self, device_id: str, /) -> windows_foundation.IAsyncOperation[DeviceTriggerResult]: ...
|
|
515
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.ApplicationModel.Background.DeviceTriggerResult> Windows.ApplicationModel.Background.DeviceUseTrigger::RequestAsync(System.String,System.String)
|
|
516
|
+
def request_async_with_arguments(self, device_id: str, arguments: str, /) -> windows_foundation.IAsyncOperation[DeviceTriggerResult]: ...
|
|
517
|
+
|
|
518
|
+
@typing.final
|
|
519
|
+
class DeviceWatcherTrigger(winrt.system.Object, IBackgroundTrigger):
|
|
520
|
+
pass
|
|
521
|
+
|
|
522
|
+
@typing.final
|
|
523
|
+
class EmailStoreNotificationTrigger(winrt.system.Object, IBackgroundTrigger):
|
|
524
|
+
def __new__(cls: typing.Type[Self]) -> Self: ...
|
|
525
|
+
|
|
526
|
+
@typing.final
|
|
527
|
+
class GattCharacteristicNotificationTrigger(winrt.system.Object, IBackgroundTrigger):
|
|
528
|
+
@typing.overload
|
|
529
|
+
def __new__(cls: typing.Type[Self], characteristic: windows_devices_bluetooth_genericattributeprofile.GattCharacteristic, event_triggering_mode: windows_devices_bluetooth_background.BluetoothEventTriggeringMode) -> Self: ...
|
|
530
|
+
@typing.overload
|
|
531
|
+
def __new__(cls: typing.Type[Self], characteristic: windows_devices_bluetooth_genericattributeprofile.GattCharacteristic) -> Self: ...
|
|
532
|
+
# Windows.Devices.Bluetooth.GenericAttributeProfile.GattCharacteristic Windows.ApplicationModel.Background.GattCharacteristicNotificationTrigger::get_Characteristic()
|
|
533
|
+
@_property
|
|
534
|
+
def characteristic(self) -> windows_devices_bluetooth_genericattributeprofile.GattCharacteristic: ...
|
|
535
|
+
# Windows.Devices.Bluetooth.Background.BluetoothEventTriggeringMode Windows.ApplicationModel.Background.GattCharacteristicNotificationTrigger::get_EventTriggeringMode()
|
|
536
|
+
@_property
|
|
537
|
+
def event_triggering_mode(self) -> windows_devices_bluetooth_background.BluetoothEventTriggeringMode: ...
|
|
538
|
+
|
|
539
|
+
@typing.final
|
|
540
|
+
class GattServiceProviderTrigger_Static(winrt._winrt.IInspectable_Static):
|
|
541
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.ApplicationModel.Background.GattServiceProviderTriggerResult> Windows.ApplicationModel.Background.GattServiceProviderTrigger::CreateAsync(System.String,System.Guid)
|
|
542
|
+
def create_async(cls, trigger_id: str, service_uuid: _uuid.UUID, /) -> windows_foundation.IAsyncOperation[GattServiceProviderTriggerResult]: ...
|
|
543
|
+
|
|
544
|
+
@typing.final
|
|
545
|
+
class GattServiceProviderTrigger(winrt.system.Object, IBackgroundTrigger, metaclass=GattServiceProviderTrigger_Static):
|
|
546
|
+
# Windows.Devices.Bluetooth.GenericAttributeProfile.GattServiceProviderAdvertisingParameters Windows.ApplicationModel.Background.GattServiceProviderTrigger::get_AdvertisingParameters()
|
|
547
|
+
@_property
|
|
548
|
+
def advertising_parameters(self) -> windows_devices_bluetooth_genericattributeprofile.GattServiceProviderAdvertisingParameters: ...
|
|
549
|
+
# System.Void Windows.ApplicationModel.Background.GattServiceProviderTrigger::put_AdvertisingParameters(Windows.Devices.Bluetooth.GenericAttributeProfile.GattServiceProviderAdvertisingParameters)
|
|
550
|
+
@advertising_parameters.setter
|
|
551
|
+
def advertising_parameters(self, value: windows_devices_bluetooth_genericattributeprofile.GattServiceProviderAdvertisingParameters) -> None: ...
|
|
552
|
+
# Windows.Devices.Bluetooth.GenericAttributeProfile.GattLocalService Windows.ApplicationModel.Background.GattServiceProviderTrigger::get_Service()
|
|
553
|
+
@_property
|
|
554
|
+
def service(self) -> windows_devices_bluetooth_genericattributeprofile.GattLocalService: ...
|
|
555
|
+
# System.String Windows.ApplicationModel.Background.GattServiceProviderTrigger::get_TriggerId()
|
|
556
|
+
@_property
|
|
557
|
+
def trigger_id(self) -> str: ...
|
|
558
|
+
|
|
559
|
+
@typing.final
|
|
560
|
+
class GattServiceProviderTriggerResult(winrt.system.Object):
|
|
561
|
+
# Windows.Devices.Bluetooth.BluetoothError Windows.ApplicationModel.Background.GattServiceProviderTriggerResult::get_Error()
|
|
562
|
+
@_property
|
|
563
|
+
def error(self) -> windows_devices_bluetooth.BluetoothError: ...
|
|
564
|
+
# Windows.ApplicationModel.Background.GattServiceProviderTrigger Windows.ApplicationModel.Background.GattServiceProviderTriggerResult::get_Trigger()
|
|
565
|
+
@_property
|
|
566
|
+
def trigger(self) -> GattServiceProviderTrigger: ...
|
|
567
|
+
|
|
568
|
+
@typing.final
|
|
569
|
+
class GeovisitTrigger(winrt.system.Object, IBackgroundTrigger):
|
|
570
|
+
def __new__(cls: typing.Type[Self]) -> Self: ...
|
|
571
|
+
# Windows.Devices.Geolocation.VisitMonitoringScope Windows.ApplicationModel.Background.GeovisitTrigger::get_MonitoringScope()
|
|
572
|
+
@_property
|
|
573
|
+
def monitoring_scope(self) -> windows_devices_geolocation.VisitMonitoringScope: ...
|
|
574
|
+
# System.Void Windows.ApplicationModel.Background.GeovisitTrigger::put_MonitoringScope(Windows.Devices.Geolocation.VisitMonitoringScope)
|
|
575
|
+
@monitoring_scope.setter
|
|
576
|
+
def monitoring_scope(self, value: windows_devices_geolocation.VisitMonitoringScope) -> None: ...
|
|
577
|
+
|
|
578
|
+
@typing.final
|
|
579
|
+
class LocationTrigger(winrt.system.Object, IBackgroundTrigger):
|
|
580
|
+
def __new__(cls: typing.Type[Self], trigger_type: LocationTriggerType) -> Self: ...
|
|
581
|
+
# Windows.ApplicationModel.Background.LocationTriggerType Windows.ApplicationModel.Background.LocationTrigger::get_TriggerType()
|
|
582
|
+
@_property
|
|
583
|
+
def trigger_type(self) -> LocationTriggerType: ...
|
|
584
|
+
|
|
585
|
+
@typing.final
|
|
586
|
+
class MaintenanceTrigger(winrt.system.Object, IBackgroundTrigger):
|
|
587
|
+
def __new__(cls: typing.Type[Self], freshness_time: winrt.system.UInt32, one_shot: bool) -> Self: ...
|
|
588
|
+
# System.UInt32 Windows.ApplicationModel.Background.MaintenanceTrigger::get_FreshnessTime()
|
|
589
|
+
@_property
|
|
590
|
+
def freshness_time(self) -> winrt.system.UInt32: ...
|
|
591
|
+
# System.Boolean Windows.ApplicationModel.Background.MaintenanceTrigger::get_OneShot()
|
|
592
|
+
@_property
|
|
593
|
+
def one_shot(self) -> bool: ...
|
|
594
|
+
|
|
595
|
+
@typing.final
|
|
596
|
+
class MediaProcessingTrigger(winrt.system.Object, IBackgroundTrigger):
|
|
597
|
+
def __new__(cls: typing.Type[Self]) -> Self: ...
|
|
598
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.ApplicationModel.Background.MediaProcessingTriggerResult> Windows.ApplicationModel.Background.MediaProcessingTrigger::RequestAsync()
|
|
599
|
+
def request_async(self) -> windows_foundation.IAsyncOperation[MediaProcessingTriggerResult]: ...
|
|
600
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.ApplicationModel.Background.MediaProcessingTriggerResult> Windows.ApplicationModel.Background.MediaProcessingTrigger::RequestAsync(Windows.Foundation.Collections.ValueSet)
|
|
601
|
+
def request_async_with_arguments(self, arguments: windows_foundation_collections.ValueSet, /) -> windows_foundation.IAsyncOperation[MediaProcessingTriggerResult]: ...
|
|
602
|
+
|
|
603
|
+
@typing.final
|
|
604
|
+
class MobileBroadbandDeviceServiceNotificationTrigger(winrt.system.Object, IBackgroundTrigger):
|
|
605
|
+
def __new__(cls: typing.Type[Self]) -> Self: ...
|
|
606
|
+
|
|
607
|
+
@typing.final
|
|
608
|
+
class MobileBroadbandPcoDataChangeTrigger(winrt.system.Object, IBackgroundTrigger):
|
|
609
|
+
def __new__(cls: typing.Type[Self]) -> Self: ...
|
|
610
|
+
|
|
611
|
+
@typing.final
|
|
612
|
+
class MobileBroadbandPinLockStateChangeTrigger(winrt.system.Object, IBackgroundTrigger):
|
|
613
|
+
def __new__(cls: typing.Type[Self]) -> Self: ...
|
|
614
|
+
|
|
615
|
+
@typing.final
|
|
616
|
+
class MobileBroadbandRadioStateChangeTrigger(winrt.system.Object, IBackgroundTrigger):
|
|
617
|
+
def __new__(cls: typing.Type[Self]) -> Self: ...
|
|
618
|
+
|
|
619
|
+
@typing.final
|
|
620
|
+
class MobileBroadbandRegistrationStateChangeTrigger(winrt.system.Object, IBackgroundTrigger):
|
|
621
|
+
def __new__(cls: typing.Type[Self]) -> Self: ...
|
|
622
|
+
|
|
623
|
+
@typing.final
|
|
624
|
+
class NetworkOperatorDataUsageTrigger(winrt.system.Object, IBackgroundTrigger):
|
|
625
|
+
def __new__(cls: typing.Type[Self]) -> Self: ...
|
|
626
|
+
|
|
627
|
+
@typing.final
|
|
628
|
+
class NetworkOperatorHotspotAuthenticationTrigger(winrt.system.Object, IBackgroundTrigger):
|
|
629
|
+
def __new__(cls: typing.Type[Self]) -> Self: ...
|
|
630
|
+
|
|
631
|
+
@typing.final
|
|
632
|
+
class NetworkOperatorNotificationTrigger(winrt.system.Object, IBackgroundTrigger):
|
|
633
|
+
def __new__(cls: typing.Type[Self], network_account_id: str) -> Self: ...
|
|
634
|
+
# System.String Windows.ApplicationModel.Background.NetworkOperatorNotificationTrigger::get_NetworkAccountId()
|
|
635
|
+
@_property
|
|
636
|
+
def network_account_id(self) -> str: ...
|
|
637
|
+
|
|
638
|
+
@typing.final
|
|
639
|
+
class PaymentAppCanMakePaymentTrigger(winrt.system.Object, IBackgroundTrigger):
|
|
640
|
+
def __new__(cls: typing.Type[Self]) -> Self: ...
|
|
641
|
+
|
|
642
|
+
@typing.final
|
|
643
|
+
class PhoneTrigger(winrt.system.Object, IBackgroundTrigger):
|
|
644
|
+
def __new__(cls: typing.Type[Self], type: windows_applicationmodel_calls_background.PhoneTriggerType, one_shot: bool) -> Self: ...
|
|
645
|
+
# System.Boolean Windows.ApplicationModel.Background.PhoneTrigger::get_OneShot()
|
|
646
|
+
@_property
|
|
647
|
+
def one_shot(self) -> bool: ...
|
|
648
|
+
# Windows.ApplicationModel.Calls.Background.PhoneTriggerType Windows.ApplicationModel.Background.PhoneTrigger::get_TriggerType()
|
|
649
|
+
@_property
|
|
650
|
+
def trigger_type(self) -> windows_applicationmodel_calls_background.PhoneTriggerType: ...
|
|
651
|
+
|
|
652
|
+
@typing.final
|
|
653
|
+
class PushNotificationTrigger(winrt.system.Object, IBackgroundTrigger):
|
|
654
|
+
@typing.overload
|
|
655
|
+
def __new__(cls: typing.Type[Self], application_id: str) -> Self: ...
|
|
656
|
+
@typing.overload
|
|
657
|
+
def __new__(cls: typing.Type[Self]) -> Self: ...
|
|
658
|
+
|
|
659
|
+
@typing.final
|
|
660
|
+
class RcsEndUserMessageAvailableTrigger(winrt.system.Object, IBackgroundTrigger):
|
|
661
|
+
def __new__(cls: typing.Type[Self]) -> Self: ...
|
|
662
|
+
|
|
663
|
+
@typing.final
|
|
664
|
+
class RfcommConnectionTrigger(winrt.system.Object, IBackgroundTrigger):
|
|
665
|
+
def __new__(cls: typing.Type[Self]) -> Self: ...
|
|
666
|
+
# Windows.Networking.HostName Windows.ApplicationModel.Background.RfcommConnectionTrigger::get_RemoteHostName()
|
|
667
|
+
@_property
|
|
668
|
+
def remote_host_name(self) -> windows_networking.HostName: ...
|
|
669
|
+
# System.Void Windows.ApplicationModel.Background.RfcommConnectionTrigger::put_RemoteHostName(Windows.Networking.HostName)
|
|
670
|
+
@remote_host_name.setter
|
|
671
|
+
def remote_host_name(self, value: windows_networking.HostName) -> None: ...
|
|
672
|
+
# Windows.Networking.Sockets.SocketProtectionLevel Windows.ApplicationModel.Background.RfcommConnectionTrigger::get_ProtectionLevel()
|
|
673
|
+
@_property
|
|
674
|
+
def protection_level(self) -> windows_networking_sockets.SocketProtectionLevel: ...
|
|
675
|
+
# System.Void Windows.ApplicationModel.Background.RfcommConnectionTrigger::put_ProtectionLevel(Windows.Networking.Sockets.SocketProtectionLevel)
|
|
676
|
+
@protection_level.setter
|
|
677
|
+
def protection_level(self, value: windows_networking_sockets.SocketProtectionLevel) -> None: ...
|
|
678
|
+
# System.Boolean Windows.ApplicationModel.Background.RfcommConnectionTrigger::get_AllowMultipleConnections()
|
|
679
|
+
@_property
|
|
680
|
+
def allow_multiple_connections(self) -> bool: ...
|
|
681
|
+
# System.Void Windows.ApplicationModel.Background.RfcommConnectionTrigger::put_AllowMultipleConnections(System.Boolean)
|
|
682
|
+
@allow_multiple_connections.setter
|
|
683
|
+
def allow_multiple_connections(self, value: bool) -> None: ...
|
|
684
|
+
# Windows.Devices.Bluetooth.Background.RfcommInboundConnectionInformation Windows.ApplicationModel.Background.RfcommConnectionTrigger::get_InboundConnection()
|
|
685
|
+
@_property
|
|
686
|
+
def inbound_connection(self) -> windows_devices_bluetooth_background.RfcommInboundConnectionInformation: ...
|
|
687
|
+
# Windows.Devices.Bluetooth.Background.RfcommOutboundConnectionInformation Windows.ApplicationModel.Background.RfcommConnectionTrigger::get_OutboundConnection()
|
|
688
|
+
@_property
|
|
689
|
+
def outbound_connection(self) -> windows_devices_bluetooth_background.RfcommOutboundConnectionInformation: ...
|
|
690
|
+
|
|
691
|
+
@typing.final
|
|
692
|
+
class SecondaryAuthenticationFactorAuthenticationTrigger(winrt.system.Object, IBackgroundTrigger):
|
|
693
|
+
def __new__(cls: typing.Type[Self]) -> Self: ...
|
|
694
|
+
|
|
695
|
+
@typing.final
|
|
696
|
+
class SensorDataThresholdTrigger(winrt.system.Object, IBackgroundTrigger):
|
|
697
|
+
def __new__(cls: typing.Type[Self], threshold: windows_devices_sensors.ISensorDataThreshold) -> Self: ...
|
|
698
|
+
|
|
699
|
+
@typing.final
|
|
700
|
+
class SmartCardTrigger(winrt.system.Object, IBackgroundTrigger):
|
|
701
|
+
def __new__(cls: typing.Type[Self], trigger_type: windows_devices_smartcards.SmartCardTriggerType) -> Self: ...
|
|
702
|
+
# Windows.Devices.SmartCards.SmartCardTriggerType Windows.ApplicationModel.Background.SmartCardTrigger::get_TriggerType()
|
|
703
|
+
@_property
|
|
704
|
+
def trigger_type(self) -> windows_devices_smartcards.SmartCardTriggerType: ...
|
|
705
|
+
|
|
706
|
+
@typing.final
|
|
707
|
+
class SmsMessageReceivedTrigger(winrt.system.Object, IBackgroundTrigger):
|
|
708
|
+
def __new__(cls: typing.Type[Self], filter_rules: windows_devices_sms.SmsFilterRules) -> Self: ...
|
|
709
|
+
|
|
710
|
+
@typing.final
|
|
711
|
+
class SocketActivityTrigger(winrt.system.Object, IBackgroundTrigger):
|
|
712
|
+
def __new__(cls: typing.Type[Self]) -> Self: ...
|
|
713
|
+
# System.Boolean Windows.ApplicationModel.Background.SocketActivityTrigger::get_IsWakeFromLowPowerSupported()
|
|
714
|
+
@_property
|
|
715
|
+
def is_wake_from_low_power_supported(self) -> bool: ...
|
|
716
|
+
|
|
717
|
+
@typing.final
|
|
718
|
+
class StorageLibraryChangeTrackerTrigger(winrt.system.Object, IBackgroundTrigger):
|
|
719
|
+
def __new__(cls: typing.Type[Self], tracker: windows_storage.StorageLibraryChangeTracker) -> Self: ...
|
|
720
|
+
|
|
721
|
+
@typing.final
|
|
722
|
+
class StorageLibraryContentChangedTrigger_Static(winrt._winrt.IInspectable_Static):
|
|
723
|
+
# Windows.ApplicationModel.Background.StorageLibraryContentChangedTrigger Windows.ApplicationModel.Background.StorageLibraryContentChangedTrigger::Create(Windows.Storage.StorageLibrary)
|
|
724
|
+
def create(cls, storage_library: windows_storage.StorageLibrary, /) -> StorageLibraryContentChangedTrigger: ...
|
|
725
|
+
# Windows.ApplicationModel.Background.StorageLibraryContentChangedTrigger Windows.ApplicationModel.Background.StorageLibraryContentChangedTrigger::CreateFromLibraries(Windows.Foundation.Collections.IIterable`1<Windows.Storage.StorageLibrary>)
|
|
726
|
+
def create_from_libraries(cls, storage_libraries: typing.Iterable[windows_storage.StorageLibrary], /) -> StorageLibraryContentChangedTrigger: ...
|
|
727
|
+
|
|
728
|
+
@typing.final
|
|
729
|
+
class StorageLibraryContentChangedTrigger(winrt.system.Object, IBackgroundTrigger, metaclass=StorageLibraryContentChangedTrigger_Static):
|
|
730
|
+
pass
|
|
731
|
+
|
|
732
|
+
@typing.final
|
|
733
|
+
class SystemCondition(winrt.system.Object, IBackgroundCondition):
|
|
734
|
+
def __new__(cls: typing.Type[Self], condition_type: SystemConditionType) -> Self: ...
|
|
735
|
+
# Windows.ApplicationModel.Background.SystemConditionType Windows.ApplicationModel.Background.SystemCondition::get_ConditionType()
|
|
736
|
+
@_property
|
|
737
|
+
def condition_type(self) -> SystemConditionType: ...
|
|
738
|
+
|
|
739
|
+
@typing.final
|
|
740
|
+
class SystemTrigger(winrt.system.Object, IBackgroundTrigger):
|
|
741
|
+
def __new__(cls: typing.Type[Self], trigger_type: SystemTriggerType, one_shot: bool) -> Self: ...
|
|
742
|
+
# System.Boolean Windows.ApplicationModel.Background.SystemTrigger::get_OneShot()
|
|
743
|
+
@_property
|
|
744
|
+
def one_shot(self) -> bool: ...
|
|
745
|
+
# Windows.ApplicationModel.Background.SystemTriggerType Windows.ApplicationModel.Background.SystemTrigger::get_TriggerType()
|
|
746
|
+
@_property
|
|
747
|
+
def trigger_type(self) -> SystemTriggerType: ...
|
|
748
|
+
|
|
749
|
+
@typing.final
|
|
750
|
+
class TetheringEntitlementCheckTrigger(winrt.system.Object, IBackgroundTrigger):
|
|
751
|
+
def __new__(cls: typing.Type[Self]) -> Self: ...
|
|
752
|
+
|
|
753
|
+
@typing.final
|
|
754
|
+
class TimeTrigger(winrt.system.Object, IBackgroundTrigger):
|
|
755
|
+
def __new__(cls: typing.Type[Self], freshness_time: winrt.system.UInt32, one_shot: bool) -> Self: ...
|
|
756
|
+
# System.UInt32 Windows.ApplicationModel.Background.TimeTrigger::get_FreshnessTime()
|
|
757
|
+
@_property
|
|
758
|
+
def freshness_time(self) -> winrt.system.UInt32: ...
|
|
759
|
+
# System.Boolean Windows.ApplicationModel.Background.TimeTrigger::get_OneShot()
|
|
760
|
+
@_property
|
|
761
|
+
def one_shot(self) -> bool: ...
|
|
762
|
+
|
|
763
|
+
@typing.final
|
|
764
|
+
class ToastNotificationActionTrigger(winrt.system.Object, IBackgroundTrigger):
|
|
765
|
+
@typing.overload
|
|
766
|
+
def __new__(cls: typing.Type[Self], application_id: str) -> Self: ...
|
|
767
|
+
@typing.overload
|
|
768
|
+
def __new__(cls: typing.Type[Self]) -> Self: ...
|
|
769
|
+
|
|
770
|
+
@typing.final
|
|
771
|
+
class ToastNotificationHistoryChangedTrigger(winrt.system.Object, IBackgroundTrigger):
|
|
772
|
+
@typing.overload
|
|
773
|
+
def __new__(cls: typing.Type[Self], application_id: str) -> Self: ...
|
|
774
|
+
@typing.overload
|
|
775
|
+
def __new__(cls: typing.Type[Self]) -> Self: ...
|
|
776
|
+
|
|
777
|
+
@typing.final
|
|
778
|
+
class UserNotificationChangedTrigger(winrt.system.Object, IBackgroundTrigger):
|
|
779
|
+
def __new__(cls: typing.Type[Self], notification_kinds: windows_ui_notifications.NotificationKinds) -> Self: ...
|
|
780
|
+
|
|
781
|
+
@typing.final
|
|
782
|
+
class WiFiOnDemandHotspotConnectTrigger(winrt.system.Object, IBackgroundTrigger):
|
|
783
|
+
def __new__(cls: typing.Type[Self]) -> Self: ...
|
|
784
|
+
|
|
785
|
+
@typing.final
|
|
786
|
+
class WiFiOnDemandHotspotUpdateMetadataTrigger(winrt.system.Object, IBackgroundTrigger):
|
|
787
|
+
def __new__(cls: typing.Type[Self]) -> Self: ...
|
|
788
|
+
|
|
789
|
+
@typing.final
|
|
790
|
+
class _IBackgroundCondition: ...
|
|
791
|
+
|
|
792
|
+
class IBackgroundCondition(winrt._winrt.IInspectable): # type: ignore[misc]
|
|
793
|
+
pass
|
|
794
|
+
|
|
795
|
+
@typing.final
|
|
796
|
+
class _IBackgroundTask: ...
|
|
797
|
+
|
|
798
|
+
class IBackgroundTask(winrt._winrt.IInspectable):
|
|
799
|
+
# System.Void Windows.ApplicationModel.Background.IBackgroundTask::Run(Windows.ApplicationModel.Background.IBackgroundTaskInstance)
|
|
800
|
+
@abstractmethod
|
|
801
|
+
def run(self, task_instance: IBackgroundTaskInstance, /) -> None: ...
|
|
802
|
+
|
|
803
|
+
@typing.final
|
|
804
|
+
class _IBackgroundTaskInstance: ...
|
|
805
|
+
|
|
806
|
+
class IBackgroundTaskInstance(winrt._winrt.IInspectable):
|
|
807
|
+
# Windows.ApplicationModel.Background.BackgroundTaskDeferral Windows.ApplicationModel.Background.IBackgroundTaskInstance::GetDeferral()
|
|
808
|
+
@abstractmethod
|
|
809
|
+
def get_deferral(self) -> BackgroundTaskDeferral: ...
|
|
810
|
+
# Windows.Foundation.EventRegistrationToken Windows.ApplicationModel.Background.IBackgroundTaskInstance::add_Canceled(Windows.ApplicationModel.Background.BackgroundTaskCanceledEventHandler)
|
|
811
|
+
@abstractmethod
|
|
812
|
+
def add_canceled(self, cancel_handler: BackgroundTaskCanceledEventHandler, /) -> windows_foundation.EventRegistrationToken: ...
|
|
813
|
+
# System.Void Windows.ApplicationModel.Background.IBackgroundTaskInstance::remove_Canceled(Windows.Foundation.EventRegistrationToken)
|
|
814
|
+
@abstractmethod
|
|
815
|
+
def remove_canceled(self, cookie: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
|
|
816
|
+
# System.Guid Windows.ApplicationModel.Background.IBackgroundTaskInstance::get_InstanceId()
|
|
817
|
+
@_property
|
|
818
|
+
@abstractmethod
|
|
819
|
+
def instance_id(self) -> _uuid.UUID: ...
|
|
820
|
+
# System.UInt32 Windows.ApplicationModel.Background.IBackgroundTaskInstance::get_Progress()
|
|
821
|
+
@_property
|
|
822
|
+
@abstractmethod
|
|
823
|
+
def progress(self) -> winrt.system.UInt32: ...
|
|
824
|
+
# System.Void Windows.ApplicationModel.Background.IBackgroundTaskInstance::put_Progress(System.UInt32)
|
|
825
|
+
@progress.setter
|
|
826
|
+
@abstractmethod
|
|
827
|
+
def progress(self, value: winrt.system.UInt32) -> None: ...
|
|
828
|
+
# System.UInt32 Windows.ApplicationModel.Background.IBackgroundTaskInstance::get_SuspendedCount()
|
|
829
|
+
@_property
|
|
830
|
+
@abstractmethod
|
|
831
|
+
def suspended_count(self) -> winrt.system.UInt32: ...
|
|
832
|
+
# Windows.ApplicationModel.Background.BackgroundTaskRegistration Windows.ApplicationModel.Background.IBackgroundTaskInstance::get_Task()
|
|
833
|
+
@_property
|
|
834
|
+
@abstractmethod
|
|
835
|
+
def task(self) -> BackgroundTaskRegistration: ...
|
|
836
|
+
# System.Object Windows.ApplicationModel.Background.IBackgroundTaskInstance::get_TriggerDetails()
|
|
837
|
+
@_property
|
|
838
|
+
@abstractmethod
|
|
839
|
+
def trigger_details(self) -> winrt.system.Object: ...
|
|
840
|
+
|
|
841
|
+
@typing.final
|
|
842
|
+
class _IBackgroundTaskInstance2: ...
|
|
843
|
+
|
|
844
|
+
class IBackgroundTaskInstance2(IBackgroundTaskInstance, winrt._winrt.IInspectable):
|
|
845
|
+
# System.UInt32 Windows.ApplicationModel.Background.IBackgroundTaskInstance2::GetThrottleCount(Windows.ApplicationModel.Background.BackgroundTaskThrottleCounter)
|
|
846
|
+
@abstractmethod
|
|
847
|
+
def get_throttle_count(self, counter: BackgroundTaskThrottleCounter, /) -> winrt.system.UInt32: ...
|
|
848
|
+
|
|
849
|
+
@typing.final
|
|
850
|
+
class _IBackgroundTaskInstance4: ...
|
|
851
|
+
|
|
852
|
+
class IBackgroundTaskInstance4(IBackgroundTaskInstance, winrt._winrt.IInspectable):
|
|
853
|
+
# Windows.System.User Windows.ApplicationModel.Background.IBackgroundTaskInstance4::get_User()
|
|
854
|
+
@_property
|
|
855
|
+
@abstractmethod
|
|
856
|
+
def user(self) -> windows_system.User: ...
|
|
857
|
+
|
|
858
|
+
@typing.final
|
|
859
|
+
class _IBackgroundTaskRegistration: ...
|
|
860
|
+
|
|
861
|
+
class IBackgroundTaskRegistration(winrt._winrt.IInspectable):
|
|
862
|
+
# System.Void Windows.ApplicationModel.Background.IBackgroundTaskRegistration::Unregister(System.Boolean)
|
|
863
|
+
@abstractmethod
|
|
864
|
+
def unregister(self, cancel_task: bool, /) -> None: ...
|
|
865
|
+
# Windows.Foundation.EventRegistrationToken Windows.ApplicationModel.Background.IBackgroundTaskRegistration::add_Completed(Windows.ApplicationModel.Background.BackgroundTaskCompletedEventHandler)
|
|
866
|
+
@abstractmethod
|
|
867
|
+
def add_completed(self, handler: BackgroundTaskCompletedEventHandler, /) -> windows_foundation.EventRegistrationToken: ...
|
|
868
|
+
# System.Void Windows.ApplicationModel.Background.IBackgroundTaskRegistration::remove_Completed(Windows.Foundation.EventRegistrationToken)
|
|
869
|
+
@abstractmethod
|
|
870
|
+
def remove_completed(self, cookie: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
|
|
871
|
+
# Windows.Foundation.EventRegistrationToken Windows.ApplicationModel.Background.IBackgroundTaskRegistration::add_Progress(Windows.ApplicationModel.Background.BackgroundTaskProgressEventHandler)
|
|
872
|
+
@abstractmethod
|
|
873
|
+
def add_progress(self, handler: BackgroundTaskProgressEventHandler, /) -> windows_foundation.EventRegistrationToken: ...
|
|
874
|
+
# System.Void Windows.ApplicationModel.Background.IBackgroundTaskRegistration::remove_Progress(Windows.Foundation.EventRegistrationToken)
|
|
875
|
+
@abstractmethod
|
|
876
|
+
def remove_progress(self, cookie: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
|
|
877
|
+
# System.String Windows.ApplicationModel.Background.IBackgroundTaskRegistration::get_Name()
|
|
878
|
+
@_property
|
|
879
|
+
@abstractmethod
|
|
880
|
+
def name(self) -> str: ...
|
|
881
|
+
# System.Guid Windows.ApplicationModel.Background.IBackgroundTaskRegistration::get_TaskId()
|
|
882
|
+
@_property
|
|
883
|
+
@abstractmethod
|
|
884
|
+
def task_id(self) -> _uuid.UUID: ...
|
|
885
|
+
|
|
886
|
+
@typing.final
|
|
887
|
+
class _IBackgroundTaskRegistration2: ...
|
|
888
|
+
|
|
889
|
+
class IBackgroundTaskRegistration2(IBackgroundTaskRegistration, winrt._winrt.IInspectable):
|
|
890
|
+
# Windows.ApplicationModel.Background.IBackgroundTrigger Windows.ApplicationModel.Background.IBackgroundTaskRegistration2::get_Trigger()
|
|
891
|
+
@_property
|
|
892
|
+
@abstractmethod
|
|
893
|
+
def trigger(self) -> IBackgroundTrigger: ...
|
|
894
|
+
|
|
895
|
+
@typing.final
|
|
896
|
+
class _IBackgroundTaskRegistration3: ...
|
|
897
|
+
|
|
898
|
+
class IBackgroundTaskRegistration3(IBackgroundTaskRegistration, winrt._winrt.IInspectable):
|
|
899
|
+
# Windows.ApplicationModel.Background.BackgroundTaskRegistrationGroup Windows.ApplicationModel.Background.IBackgroundTaskRegistration3::get_TaskGroup()
|
|
900
|
+
@_property
|
|
901
|
+
@abstractmethod
|
|
902
|
+
def task_group(self) -> BackgroundTaskRegistrationGroup: ...
|
|
903
|
+
|
|
904
|
+
@typing.final
|
|
905
|
+
class _IBackgroundTrigger: ...
|
|
906
|
+
|
|
907
|
+
class IBackgroundTrigger(winrt._winrt.IInspectable): # type: ignore[misc]
|
|
908
|
+
pass
|
|
909
|
+
|
|
@@ -0,0 +1,300 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v3.2.1
|
|
2
|
+
|
|
3
|
+
import enum
|
|
4
|
+
import typing
|
|
5
|
+
import uuid as _uuid
|
|
6
|
+
|
|
7
|
+
import winrt.system
|
|
8
|
+
from winrt._winrt_windows_applicationmodel_background import (
|
|
9
|
+
ActivitySensorTrigger,
|
|
10
|
+
AlarmApplicationManager,
|
|
11
|
+
AppBroadcastTrigger,
|
|
12
|
+
AppBroadcastTriggerProviderInfo,
|
|
13
|
+
ApplicationTrigger,
|
|
14
|
+
ApplicationTriggerDetails,
|
|
15
|
+
AppointmentStoreNotificationTrigger,
|
|
16
|
+
BackgroundExecutionManager,
|
|
17
|
+
BackgroundTaskBuilder,
|
|
18
|
+
BackgroundTaskCompletedEventArgs,
|
|
19
|
+
BackgroundTaskDeferral,
|
|
20
|
+
BackgroundTaskProgressEventArgs,
|
|
21
|
+
BackgroundTaskRegistration,
|
|
22
|
+
BackgroundTaskRegistrationGroup,
|
|
23
|
+
BackgroundWorkCost,
|
|
24
|
+
BluetoothLEAdvertisementPublisherTrigger,
|
|
25
|
+
BluetoothLEAdvertisementWatcherTrigger,
|
|
26
|
+
CachedFileUpdaterTrigger,
|
|
27
|
+
CachedFileUpdaterTriggerDetails,
|
|
28
|
+
ChatMessageNotificationTrigger,
|
|
29
|
+
ChatMessageReceivedNotificationTrigger,
|
|
30
|
+
CommunicationBlockingAppSetAsActiveTrigger,
|
|
31
|
+
ContactStoreNotificationTrigger,
|
|
32
|
+
ContentPrefetchTrigger,
|
|
33
|
+
ConversationalAgentTrigger,
|
|
34
|
+
CustomSystemEventTrigger,
|
|
35
|
+
DeviceConnectionChangeTrigger,
|
|
36
|
+
DeviceManufacturerNotificationTrigger,
|
|
37
|
+
DeviceServicingTrigger,
|
|
38
|
+
DeviceUseTrigger,
|
|
39
|
+
DeviceWatcherTrigger,
|
|
40
|
+
EmailStoreNotificationTrigger,
|
|
41
|
+
GattCharacteristicNotificationTrigger,
|
|
42
|
+
GattServiceProviderTrigger,
|
|
43
|
+
GattServiceProviderTriggerResult,
|
|
44
|
+
GeovisitTrigger,
|
|
45
|
+
LocationTrigger,
|
|
46
|
+
MaintenanceTrigger,
|
|
47
|
+
MediaProcessingTrigger,
|
|
48
|
+
MobileBroadbandDeviceServiceNotificationTrigger,
|
|
49
|
+
MobileBroadbandPcoDataChangeTrigger,
|
|
50
|
+
MobileBroadbandPinLockStateChangeTrigger,
|
|
51
|
+
MobileBroadbandRadioStateChangeTrigger,
|
|
52
|
+
MobileBroadbandRegistrationStateChangeTrigger,
|
|
53
|
+
NetworkOperatorDataUsageTrigger,
|
|
54
|
+
NetworkOperatorHotspotAuthenticationTrigger,
|
|
55
|
+
NetworkOperatorNotificationTrigger,
|
|
56
|
+
PaymentAppCanMakePaymentTrigger,
|
|
57
|
+
PhoneTrigger,
|
|
58
|
+
PushNotificationTrigger,
|
|
59
|
+
RcsEndUserMessageAvailableTrigger,
|
|
60
|
+
RfcommConnectionTrigger,
|
|
61
|
+
SecondaryAuthenticationFactorAuthenticationTrigger,
|
|
62
|
+
SensorDataThresholdTrigger,
|
|
63
|
+
SmartCardTrigger,
|
|
64
|
+
SmsMessageReceivedTrigger,
|
|
65
|
+
SocketActivityTrigger,
|
|
66
|
+
StorageLibraryChangeTrackerTrigger,
|
|
67
|
+
StorageLibraryContentChangedTrigger,
|
|
68
|
+
SystemCondition,
|
|
69
|
+
SystemTrigger,
|
|
70
|
+
TetheringEntitlementCheckTrigger,
|
|
71
|
+
TimeTrigger,
|
|
72
|
+
ToastNotificationActionTrigger,
|
|
73
|
+
ToastNotificationHistoryChangedTrigger,
|
|
74
|
+
UserNotificationChangedTrigger,
|
|
75
|
+
WiFiOnDemandHotspotConnectTrigger,
|
|
76
|
+
WiFiOnDemandHotspotUpdateMetadataTrigger,
|
|
77
|
+
_IBackgroundCondition,
|
|
78
|
+
IBackgroundCondition,
|
|
79
|
+
_IBackgroundTask,
|
|
80
|
+
IBackgroundTask,
|
|
81
|
+
_IBackgroundTaskInstance,
|
|
82
|
+
IBackgroundTaskInstance,
|
|
83
|
+
_IBackgroundTaskInstance2,
|
|
84
|
+
IBackgroundTaskInstance2,
|
|
85
|
+
_IBackgroundTaskInstance4,
|
|
86
|
+
IBackgroundTaskInstance4,
|
|
87
|
+
_IBackgroundTaskRegistration,
|
|
88
|
+
IBackgroundTaskRegistration,
|
|
89
|
+
_IBackgroundTaskRegistration2,
|
|
90
|
+
IBackgroundTaskRegistration2,
|
|
91
|
+
_IBackgroundTaskRegistration3,
|
|
92
|
+
IBackgroundTaskRegistration3,
|
|
93
|
+
_IBackgroundTrigger,
|
|
94
|
+
IBackgroundTrigger,
|
|
95
|
+
)
|
|
96
|
+
|
|
97
|
+
__all__ = [
|
|
98
|
+
"AlarmAccessStatus",
|
|
99
|
+
"ApplicationTriggerResult",
|
|
100
|
+
"BackgroundAccessRequestKind",
|
|
101
|
+
"BackgroundAccessStatus",
|
|
102
|
+
"BackgroundTaskCancellationReason",
|
|
103
|
+
"BackgroundTaskThrottleCounter",
|
|
104
|
+
"BackgroundWorkCostValue",
|
|
105
|
+
"CustomSystemEventTriggerRecurrence",
|
|
106
|
+
"DeviceTriggerResult",
|
|
107
|
+
"EnergyUseLevel",
|
|
108
|
+
"LocationTriggerType",
|
|
109
|
+
"MediaProcessingTriggerResult",
|
|
110
|
+
"SystemConditionType",
|
|
111
|
+
"SystemTriggerType",
|
|
112
|
+
"ActivitySensorTrigger",
|
|
113
|
+
"AlarmApplicationManager",
|
|
114
|
+
"AppBroadcastTrigger",
|
|
115
|
+
"AppBroadcastTriggerProviderInfo",
|
|
116
|
+
"ApplicationTrigger",
|
|
117
|
+
"ApplicationTriggerDetails",
|
|
118
|
+
"AppointmentStoreNotificationTrigger",
|
|
119
|
+
"BackgroundExecutionManager",
|
|
120
|
+
"BackgroundTaskBuilder",
|
|
121
|
+
"BackgroundTaskCompletedEventArgs",
|
|
122
|
+
"BackgroundTaskDeferral",
|
|
123
|
+
"BackgroundTaskProgressEventArgs",
|
|
124
|
+
"BackgroundTaskRegistration",
|
|
125
|
+
"BackgroundTaskRegistrationGroup",
|
|
126
|
+
"BackgroundWorkCost",
|
|
127
|
+
"BluetoothLEAdvertisementPublisherTrigger",
|
|
128
|
+
"BluetoothLEAdvertisementWatcherTrigger",
|
|
129
|
+
"CachedFileUpdaterTrigger",
|
|
130
|
+
"CachedFileUpdaterTriggerDetails",
|
|
131
|
+
"ChatMessageNotificationTrigger",
|
|
132
|
+
"ChatMessageReceivedNotificationTrigger",
|
|
133
|
+
"CommunicationBlockingAppSetAsActiveTrigger",
|
|
134
|
+
"ContactStoreNotificationTrigger",
|
|
135
|
+
"ContentPrefetchTrigger",
|
|
136
|
+
"ConversationalAgentTrigger",
|
|
137
|
+
"CustomSystemEventTrigger",
|
|
138
|
+
"DeviceConnectionChangeTrigger",
|
|
139
|
+
"DeviceManufacturerNotificationTrigger",
|
|
140
|
+
"DeviceServicingTrigger",
|
|
141
|
+
"DeviceUseTrigger",
|
|
142
|
+
"DeviceWatcherTrigger",
|
|
143
|
+
"EmailStoreNotificationTrigger",
|
|
144
|
+
"GattCharacteristicNotificationTrigger",
|
|
145
|
+
"GattServiceProviderTrigger",
|
|
146
|
+
"GattServiceProviderTriggerResult",
|
|
147
|
+
"GeovisitTrigger",
|
|
148
|
+
"LocationTrigger",
|
|
149
|
+
"MaintenanceTrigger",
|
|
150
|
+
"MediaProcessingTrigger",
|
|
151
|
+
"MobileBroadbandDeviceServiceNotificationTrigger",
|
|
152
|
+
"MobileBroadbandPcoDataChangeTrigger",
|
|
153
|
+
"MobileBroadbandPinLockStateChangeTrigger",
|
|
154
|
+
"MobileBroadbandRadioStateChangeTrigger",
|
|
155
|
+
"MobileBroadbandRegistrationStateChangeTrigger",
|
|
156
|
+
"NetworkOperatorDataUsageTrigger",
|
|
157
|
+
"NetworkOperatorHotspotAuthenticationTrigger",
|
|
158
|
+
"NetworkOperatorNotificationTrigger",
|
|
159
|
+
"PaymentAppCanMakePaymentTrigger",
|
|
160
|
+
"PhoneTrigger",
|
|
161
|
+
"PushNotificationTrigger",
|
|
162
|
+
"RcsEndUserMessageAvailableTrigger",
|
|
163
|
+
"RfcommConnectionTrigger",
|
|
164
|
+
"SecondaryAuthenticationFactorAuthenticationTrigger",
|
|
165
|
+
"SensorDataThresholdTrigger",
|
|
166
|
+
"SmartCardTrigger",
|
|
167
|
+
"SmsMessageReceivedTrigger",
|
|
168
|
+
"SocketActivityTrigger",
|
|
169
|
+
"StorageLibraryChangeTrackerTrigger",
|
|
170
|
+
"StorageLibraryContentChangedTrigger",
|
|
171
|
+
"SystemCondition",
|
|
172
|
+
"SystemTrigger",
|
|
173
|
+
"TetheringEntitlementCheckTrigger",
|
|
174
|
+
"TimeTrigger",
|
|
175
|
+
"ToastNotificationActionTrigger",
|
|
176
|
+
"ToastNotificationHistoryChangedTrigger",
|
|
177
|
+
"UserNotificationChangedTrigger",
|
|
178
|
+
"WiFiOnDemandHotspotConnectTrigger",
|
|
179
|
+
"WiFiOnDemandHotspotUpdateMetadataTrigger",
|
|
180
|
+
"IBackgroundCondition",
|
|
181
|
+
"IBackgroundTask",
|
|
182
|
+
"IBackgroundTaskInstance",
|
|
183
|
+
"IBackgroundTaskInstance2",
|
|
184
|
+
"IBackgroundTaskInstance4",
|
|
185
|
+
"IBackgroundTaskRegistration",
|
|
186
|
+
"IBackgroundTaskRegistration2",
|
|
187
|
+
"IBackgroundTaskRegistration3",
|
|
188
|
+
"IBackgroundTrigger",
|
|
189
|
+
"BackgroundTaskCanceledEventHandler",
|
|
190
|
+
"BackgroundTaskCompletedEventHandler",
|
|
191
|
+
"BackgroundTaskProgressEventHandler",
|
|
192
|
+
]
|
|
193
|
+
|
|
194
|
+
class AlarmAccessStatus(enum.IntEnum):
|
|
195
|
+
UNSPECIFIED = 0
|
|
196
|
+
ALLOWED_WITH_WAKEUP_CAPABILITY = 1
|
|
197
|
+
ALLOWED_WITHOUT_WAKEUP_CAPABILITY = 2
|
|
198
|
+
DENIED = 3
|
|
199
|
+
|
|
200
|
+
class ApplicationTriggerResult(enum.IntEnum):
|
|
201
|
+
ALLOWED = 0
|
|
202
|
+
CURRENTLY_RUNNING = 1
|
|
203
|
+
DISABLED_BY_POLICY = 2
|
|
204
|
+
UNKNOWN_ERROR = 3
|
|
205
|
+
|
|
206
|
+
class BackgroundAccessRequestKind(enum.IntEnum):
|
|
207
|
+
ALWAYS_ALLOWED = 0
|
|
208
|
+
ALLOWED_SUBJECT_TO_SYSTEM_POLICY = 1
|
|
209
|
+
|
|
210
|
+
class BackgroundAccessStatus(enum.IntEnum):
|
|
211
|
+
UNSPECIFIED = 0
|
|
212
|
+
ALLOWED_WITH_ALWAYS_ON_REAL_TIME_CONNECTIVITY = 1
|
|
213
|
+
ALLOWED_MAY_USE_ACTIVE_REAL_TIME_CONNECTIVITY = 2
|
|
214
|
+
DENIED = 3
|
|
215
|
+
ALWAYS_ALLOWED = 4
|
|
216
|
+
ALLOWED_SUBJECT_TO_SYSTEM_POLICY = 5
|
|
217
|
+
DENIED_BY_SYSTEM_POLICY = 6
|
|
218
|
+
DENIED_BY_USER = 7
|
|
219
|
+
|
|
220
|
+
class BackgroundTaskCancellationReason(enum.IntEnum):
|
|
221
|
+
ABORT = 0
|
|
222
|
+
TERMINATING = 1
|
|
223
|
+
LOGGING_OFF = 2
|
|
224
|
+
SERVICING_UPDATE = 3
|
|
225
|
+
IDLE_TASK = 4
|
|
226
|
+
UNINSTALL = 5
|
|
227
|
+
CONDITION_LOSS = 6
|
|
228
|
+
SYSTEM_POLICY = 7
|
|
229
|
+
QUIET_HOURS_ENTERED = 8
|
|
230
|
+
EXECUTION_TIME_EXCEEDED = 9
|
|
231
|
+
RESOURCE_REVOCATION = 10
|
|
232
|
+
ENERGY_SAVER = 11
|
|
233
|
+
|
|
234
|
+
class BackgroundTaskThrottleCounter(enum.IntEnum):
|
|
235
|
+
ALL = 0
|
|
236
|
+
CPU = 1
|
|
237
|
+
NETWORK = 2
|
|
238
|
+
|
|
239
|
+
class BackgroundWorkCostValue(enum.IntEnum):
|
|
240
|
+
LOW = 0
|
|
241
|
+
MEDIUM = 1
|
|
242
|
+
HIGH = 2
|
|
243
|
+
|
|
244
|
+
class CustomSystemEventTriggerRecurrence(enum.IntEnum):
|
|
245
|
+
ONCE = 0
|
|
246
|
+
ALWAYS = 1
|
|
247
|
+
|
|
248
|
+
class DeviceTriggerResult(enum.IntEnum):
|
|
249
|
+
ALLOWED = 0
|
|
250
|
+
DENIED_BY_USER = 1
|
|
251
|
+
DENIED_BY_SYSTEM = 2
|
|
252
|
+
LOW_BATTERY = 3
|
|
253
|
+
|
|
254
|
+
class EnergyUseLevel(enum.IntEnum):
|
|
255
|
+
UNKNOWN = 0
|
|
256
|
+
UNDER_HALF_OF_BUDGET = 1
|
|
257
|
+
OVER_HALF_OF_BUDGET = 2
|
|
258
|
+
OVER_BUDGET = 3
|
|
259
|
+
|
|
260
|
+
class LocationTriggerType(enum.IntEnum):
|
|
261
|
+
GEOFENCE = 0
|
|
262
|
+
|
|
263
|
+
class MediaProcessingTriggerResult(enum.IntEnum):
|
|
264
|
+
ALLOWED = 0
|
|
265
|
+
CURRENTLY_RUNNING = 1
|
|
266
|
+
DISABLED_BY_POLICY = 2
|
|
267
|
+
UNKNOWN_ERROR = 3
|
|
268
|
+
|
|
269
|
+
class SystemConditionType(enum.IntEnum):
|
|
270
|
+
INVALID = 0
|
|
271
|
+
USER_PRESENT = 1
|
|
272
|
+
USER_NOT_PRESENT = 2
|
|
273
|
+
INTERNET_AVAILABLE = 3
|
|
274
|
+
INTERNET_NOT_AVAILABLE = 4
|
|
275
|
+
SESSION_CONNECTED = 5
|
|
276
|
+
SESSION_DISCONNECTED = 6
|
|
277
|
+
FREE_NETWORK_AVAILABLE = 7
|
|
278
|
+
BACKGROUND_WORK_COST_NOT_HIGH = 8
|
|
279
|
+
|
|
280
|
+
class SystemTriggerType(enum.IntEnum):
|
|
281
|
+
INVALID = 0
|
|
282
|
+
SMS_RECEIVED = 1
|
|
283
|
+
USER_PRESENT = 2
|
|
284
|
+
USER_AWAY = 3
|
|
285
|
+
NETWORK_STATE_CHANGE = 4
|
|
286
|
+
CONTROL_CHANNEL_RESET = 5
|
|
287
|
+
INTERNET_AVAILABLE = 6
|
|
288
|
+
SESSION_CONNECTED = 7
|
|
289
|
+
SERVICING_COMPLETE = 8
|
|
290
|
+
LOCK_SCREEN_APPLICATION_ADDED = 9
|
|
291
|
+
LOCK_SCREEN_APPLICATION_REMOVED = 10
|
|
292
|
+
TIME_ZONE_CHANGE = 11
|
|
293
|
+
ONLINE_ID_CONNECTED_STATE_CHANGE = 12
|
|
294
|
+
BACKGROUND_WORK_COST_CHANGE = 13
|
|
295
|
+
POWER_STATE_CHANGE = 14
|
|
296
|
+
DEFAULT_SIGN_IN_ACCOUNT_CHANGE = 15
|
|
297
|
+
|
|
298
|
+
BackgroundTaskCanceledEventHandler = typing.Callable[[IBackgroundTaskInstance, BackgroundTaskCancellationReason], None]
|
|
299
|
+
BackgroundTaskCompletedEventHandler = typing.Callable[[BackgroundTaskRegistration, BackgroundTaskCompletedEventArgs], None]
|
|
300
|
+
BackgroundTaskProgressEventHandler = typing.Callable[[BackgroundTaskRegistration, BackgroundTaskProgressEventArgs], None]
|
|
File without changes
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: winrt-Windows.ApplicationModel.Background
|
|
3
|
+
Version: 3.2.1
|
|
4
|
+
Summary: Python projection of Windows Runtime (WinRT) APIs
|
|
5
|
+
License-Expression: 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.9
|
|
14
|
+
Description-Content-Type: text/markdown
|
|
15
|
+
Requires-Dist: winrt-runtime~=3.2.1.0
|
|
16
|
+
Provides-Extra: all
|
|
17
|
+
Requires-Dist: winrt-Windows.ApplicationModel.Activation[all]~=3.2.1.0; extra == "all"
|
|
18
|
+
Requires-Dist: winrt-Windows.ApplicationModel.Calls.Background[all]~=3.2.1.0; extra == "all"
|
|
19
|
+
Requires-Dist: winrt-Windows.Devices.Bluetooth[all]~=3.2.1.0; extra == "all"
|
|
20
|
+
Requires-Dist: winrt-Windows.Devices.Bluetooth.Advertisement[all]~=3.2.1.0; extra == "all"
|
|
21
|
+
Requires-Dist: winrt-Windows.Devices.Bluetooth.Background[all]~=3.2.1.0; extra == "all"
|
|
22
|
+
Requires-Dist: winrt-Windows.Devices.Bluetooth.GenericAttributeProfile[all]~=3.2.1.0; extra == "all"
|
|
23
|
+
Requires-Dist: winrt-Windows.Devices.Geolocation[all]~=3.2.1.0; extra == "all"
|
|
24
|
+
Requires-Dist: winrt-Windows.Devices.Sensors[all]~=3.2.1.0; extra == "all"
|
|
25
|
+
Requires-Dist: winrt-Windows.Devices.SmartCards[all]~=3.2.1.0; extra == "all"
|
|
26
|
+
Requires-Dist: winrt-Windows.Devices.Sms[all]~=3.2.1.0; extra == "all"
|
|
27
|
+
Requires-Dist: winrt-Windows.Foundation[all]~=3.2.1.0; extra == "all"
|
|
28
|
+
Requires-Dist: winrt-Windows.Foundation.Collections[all]~=3.2.1.0; extra == "all"
|
|
29
|
+
Requires-Dist: winrt-Windows.Networking[all]~=3.2.1.0; extra == "all"
|
|
30
|
+
Requires-Dist: winrt-Windows.Networking.Sockets[all]~=3.2.1.0; extra == "all"
|
|
31
|
+
Requires-Dist: winrt-Windows.Storage[all]~=3.2.1.0; extra == "all"
|
|
32
|
+
Requires-Dist: winrt-Windows.Storage.Provider[all]~=3.2.1.0; extra == "all"
|
|
33
|
+
Requires-Dist: winrt-Windows.System[all]~=3.2.1.0; extra == "all"
|
|
34
|
+
Requires-Dist: winrt-Windows.UI.Notifications[all]~=3.2.1.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.cp314-win32.pyd,sha256=rqCOokXMyR8pBu4bSUdOupT5bN6ypHtEPYyhbKFzgq0,726528
|
|
2
|
+
winrt/_winrt_windows_applicationmodel_background.pyi,sha256=LgFBV1DIEEFZvEvtwtUOSE_dfdqmg7YR2PIcc1PWywM,58664
|
|
3
|
+
winrt/windows/applicationmodel/background/__init__.py,sha256=cBGA3rPvANrJZF1zUCJMB6WujWUCqEEho57sKYmqiKg,9329
|
|
4
|
+
winrt/windows/applicationmodel/background/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
|
+
winrt_windows_applicationmodel_background-3.2.1.dist-info/METADATA,sha256=OLaHDMNeUnj-4gdMa--WBESfpnJCB2ruWHh48tOmXOI,2469
|
|
6
|
+
winrt_windows_applicationmodel_background-3.2.1.dist-info/WHEEL,sha256=avp3B09fSRXVHn4cshTNKc58MtFVN-cVe0NyrqeYT2s,97
|
|
7
|
+
winrt_windows_applicationmodel_background-3.2.1.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
|
|
8
|
+
winrt_windows_applicationmodel_background-3.2.1.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
winrt
|