winrt-Windows.UI.Notifications 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_ui_notifications.cp313-win_amd64.pyd +0 -0
- winrt/_winrt_windows_ui_notifications.pyi +648 -0
- winrt/windows/ui/notifications/__init__.py +300 -0
- winrt/windows/ui/notifications/py.typed +0 -0
- winrt_Windows.UI.Notifications-2.2.0.dist-info/METADATA +29 -0
- winrt_Windows.UI.Notifications-2.2.0.dist-info/RECORD +8 -0
- winrt_Windows.UI.Notifications-2.2.0.dist-info/WHEEL +5 -0
- winrt_Windows.UI.Notifications-2.2.0.dist-info/top_level.txt +1 -0
|
Binary file
|
|
@@ -0,0 +1,648 @@
|
|
|
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 as windows_applicationmodel
|
|
13
|
+
import winrt.windows.data.xml.dom as windows_data_xml_dom
|
|
14
|
+
import winrt.windows.foundation as windows_foundation
|
|
15
|
+
import winrt.windows.foundation.collections as windows_foundation_collections
|
|
16
|
+
import winrt.windows.system as windows_system
|
|
17
|
+
|
|
18
|
+
from winrt.windows.ui.notifications import AdaptiveNotificationContentKind, BadgeTemplateType, NotificationKinds, NotificationMirroring, NotificationSetting, NotificationUpdateResult, PeriodicUpdateRecurrence, TileFlyoutTemplateType, TileTemplateType, ToastDismissalReason, ToastHistoryChangedType, ToastNotificationMode, ToastNotificationPriority, ToastTemplateType, UserNotificationChangedKind
|
|
19
|
+
|
|
20
|
+
Self = typing.TypeVar('Self')
|
|
21
|
+
|
|
22
|
+
@typing.final
|
|
23
|
+
class AdaptiveNotificationText(winrt.system.Object):
|
|
24
|
+
@staticmethod
|
|
25
|
+
def _from(obj: winrt.system.Object, /) -> AdaptiveNotificationText: ...
|
|
26
|
+
def __new__(cls: typing.Type[AdaptiveNotificationText]) -> AdaptiveNotificationText: ...
|
|
27
|
+
@_property
|
|
28
|
+
def hints(self) -> typing.Optional[windows_foundation_collections.IMap[str, str]]: ...
|
|
29
|
+
@_property
|
|
30
|
+
def kind(self) -> AdaptiveNotificationContentKind: ...
|
|
31
|
+
@_property
|
|
32
|
+
def text(self) -> str: ...
|
|
33
|
+
@text.setter
|
|
34
|
+
def text(self, value: str) -> None: ...
|
|
35
|
+
@_property
|
|
36
|
+
def language(self) -> str: ...
|
|
37
|
+
@language.setter
|
|
38
|
+
def language(self, value: str) -> None: ...
|
|
39
|
+
|
|
40
|
+
@typing.final
|
|
41
|
+
class BadgeNotification(winrt.system.Object):
|
|
42
|
+
@staticmethod
|
|
43
|
+
def _from(obj: winrt.system.Object, /) -> BadgeNotification: ...
|
|
44
|
+
def __new__(cls: typing.Type[BadgeNotification], content: typing.Optional[windows_data_xml_dom.XmlDocument]) -> BadgeNotification: ...
|
|
45
|
+
@_property
|
|
46
|
+
def expiration_time(self) -> typing.Optional[typing.Optional[datetime.datetime]]: ...
|
|
47
|
+
@expiration_time.setter
|
|
48
|
+
def expiration_time(self, value: typing.Optional[typing.Optional[datetime.datetime]]) -> None: ...
|
|
49
|
+
@_property
|
|
50
|
+
def content(self) -> typing.Optional[windows_data_xml_dom.XmlDocument]: ...
|
|
51
|
+
|
|
52
|
+
@typing.final
|
|
53
|
+
class BadgeUpdateManager_Static(type):
|
|
54
|
+
@typing.overload
|
|
55
|
+
def create_badge_updater_for_application(cls) -> typing.Optional[BadgeUpdater]: ...
|
|
56
|
+
@typing.overload
|
|
57
|
+
def create_badge_updater_for_application(cls, application_id: str, /) -> typing.Optional[BadgeUpdater]: ...
|
|
58
|
+
def create_badge_updater_for_secondary_tile(cls, tile_id: str, /) -> typing.Optional[BadgeUpdater]: ...
|
|
59
|
+
def get_for_user(cls, user: typing.Optional[windows_system.User], /) -> typing.Optional[BadgeUpdateManagerForUser]: ...
|
|
60
|
+
def get_template_content(cls, type: BadgeTemplateType, /) -> typing.Optional[windows_data_xml_dom.XmlDocument]: ...
|
|
61
|
+
|
|
62
|
+
@typing.final
|
|
63
|
+
class BadgeUpdateManager(winrt.system.Object, metaclass=BadgeUpdateManager_Static):
|
|
64
|
+
pass
|
|
65
|
+
|
|
66
|
+
@typing.final
|
|
67
|
+
class BadgeUpdateManagerForUser(winrt.system.Object):
|
|
68
|
+
@staticmethod
|
|
69
|
+
def _from(obj: winrt.system.Object, /) -> BadgeUpdateManagerForUser: ...
|
|
70
|
+
@typing.overload
|
|
71
|
+
def create_badge_updater_for_application(self) -> typing.Optional[BadgeUpdater]: ...
|
|
72
|
+
@typing.overload
|
|
73
|
+
def create_badge_updater_for_application(self, application_id: str, /) -> typing.Optional[BadgeUpdater]: ...
|
|
74
|
+
def create_badge_updater_for_secondary_tile(self, tile_id: str, /) -> typing.Optional[BadgeUpdater]: ...
|
|
75
|
+
@_property
|
|
76
|
+
def user(self) -> typing.Optional[windows_system.User]: ...
|
|
77
|
+
|
|
78
|
+
@typing.final
|
|
79
|
+
class BadgeUpdater(winrt.system.Object):
|
|
80
|
+
@staticmethod
|
|
81
|
+
def _from(obj: winrt.system.Object, /) -> BadgeUpdater: ...
|
|
82
|
+
def clear(self) -> None: ...
|
|
83
|
+
@typing.overload
|
|
84
|
+
def start_periodic_update(self, badge_content: typing.Optional[windows_foundation.Uri], requested_interval: PeriodicUpdateRecurrence, /) -> None: ...
|
|
85
|
+
@typing.overload
|
|
86
|
+
def start_periodic_update(self, badge_content: typing.Optional[windows_foundation.Uri], start_time: datetime.datetime, requested_interval: PeriodicUpdateRecurrence, /) -> None: ...
|
|
87
|
+
def stop_periodic_update(self) -> None: ...
|
|
88
|
+
def update(self, notification: typing.Optional[BadgeNotification], /) -> None: ...
|
|
89
|
+
|
|
90
|
+
@typing.final
|
|
91
|
+
class KnownAdaptiveNotificationHints_Static(type):
|
|
92
|
+
@_property
|
|
93
|
+
def align(cls) -> str: ...
|
|
94
|
+
@_property
|
|
95
|
+
def max_lines(cls) -> str: ...
|
|
96
|
+
@_property
|
|
97
|
+
def min_lines(cls) -> str: ...
|
|
98
|
+
@_property
|
|
99
|
+
def style(cls) -> str: ...
|
|
100
|
+
@_property
|
|
101
|
+
def text_stacking(cls) -> str: ...
|
|
102
|
+
@_property
|
|
103
|
+
def wrap(cls) -> str: ...
|
|
104
|
+
|
|
105
|
+
@typing.final
|
|
106
|
+
class KnownAdaptiveNotificationHints(winrt.system.Object, metaclass=KnownAdaptiveNotificationHints_Static):
|
|
107
|
+
pass
|
|
108
|
+
|
|
109
|
+
@typing.final
|
|
110
|
+
class KnownAdaptiveNotificationTextStyles_Static(type):
|
|
111
|
+
@_property
|
|
112
|
+
def base(cls) -> str: ...
|
|
113
|
+
@_property
|
|
114
|
+
def base_subtle(cls) -> str: ...
|
|
115
|
+
@_property
|
|
116
|
+
def body(cls) -> str: ...
|
|
117
|
+
@_property
|
|
118
|
+
def body_subtle(cls) -> str: ...
|
|
119
|
+
@_property
|
|
120
|
+
def caption(cls) -> str: ...
|
|
121
|
+
@_property
|
|
122
|
+
def caption_subtle(cls) -> str: ...
|
|
123
|
+
@_property
|
|
124
|
+
def header(cls) -> str: ...
|
|
125
|
+
@_property
|
|
126
|
+
def header_numeral(cls) -> str: ...
|
|
127
|
+
@_property
|
|
128
|
+
def header_numeral_subtle(cls) -> str: ...
|
|
129
|
+
@_property
|
|
130
|
+
def header_subtle(cls) -> str: ...
|
|
131
|
+
@_property
|
|
132
|
+
def subheader(cls) -> str: ...
|
|
133
|
+
@_property
|
|
134
|
+
def subheader_numeral(cls) -> str: ...
|
|
135
|
+
@_property
|
|
136
|
+
def subheader_numeral_subtle(cls) -> str: ...
|
|
137
|
+
@_property
|
|
138
|
+
def subheader_subtle(cls) -> str: ...
|
|
139
|
+
@_property
|
|
140
|
+
def subtitle(cls) -> str: ...
|
|
141
|
+
@_property
|
|
142
|
+
def subtitle_subtle(cls) -> str: ...
|
|
143
|
+
@_property
|
|
144
|
+
def title(cls) -> str: ...
|
|
145
|
+
@_property
|
|
146
|
+
def title_numeral(cls) -> str: ...
|
|
147
|
+
@_property
|
|
148
|
+
def title_subtle(cls) -> str: ...
|
|
149
|
+
|
|
150
|
+
@typing.final
|
|
151
|
+
class KnownAdaptiveNotificationTextStyles(winrt.system.Object, metaclass=KnownAdaptiveNotificationTextStyles_Static):
|
|
152
|
+
pass
|
|
153
|
+
|
|
154
|
+
@typing.final
|
|
155
|
+
class KnownNotificationBindings_Static(type):
|
|
156
|
+
@_property
|
|
157
|
+
def toast_generic(cls) -> str: ...
|
|
158
|
+
|
|
159
|
+
@typing.final
|
|
160
|
+
class KnownNotificationBindings(winrt.system.Object, metaclass=KnownNotificationBindings_Static):
|
|
161
|
+
pass
|
|
162
|
+
|
|
163
|
+
@typing.final
|
|
164
|
+
class Notification(winrt.system.Object):
|
|
165
|
+
@staticmethod
|
|
166
|
+
def _from(obj: winrt.system.Object, /) -> Notification: ...
|
|
167
|
+
def __new__(cls: typing.Type[Notification]) -> Notification: ...
|
|
168
|
+
@_property
|
|
169
|
+
def visual(self) -> typing.Optional[NotificationVisual]: ...
|
|
170
|
+
@visual.setter
|
|
171
|
+
def visual(self, value: typing.Optional[NotificationVisual]) -> None: ...
|
|
172
|
+
@_property
|
|
173
|
+
def expiration_time(self) -> typing.Optional[typing.Optional[datetime.datetime]]: ...
|
|
174
|
+
@expiration_time.setter
|
|
175
|
+
def expiration_time(self, value: typing.Optional[typing.Optional[datetime.datetime]]) -> None: ...
|
|
176
|
+
|
|
177
|
+
@typing.final
|
|
178
|
+
class NotificationBinding(winrt.system.Object):
|
|
179
|
+
@staticmethod
|
|
180
|
+
def _from(obj: winrt.system.Object, /) -> NotificationBinding: ...
|
|
181
|
+
def get_text_elements(self) -> typing.Optional[windows_foundation_collections.IVectorView[AdaptiveNotificationText]]: ...
|
|
182
|
+
@_property
|
|
183
|
+
def template(self) -> str: ...
|
|
184
|
+
@template.setter
|
|
185
|
+
def template(self, value: str) -> None: ...
|
|
186
|
+
@_property
|
|
187
|
+
def language(self) -> str: ...
|
|
188
|
+
@language.setter
|
|
189
|
+
def language(self, value: str) -> None: ...
|
|
190
|
+
@_property
|
|
191
|
+
def hints(self) -> typing.Optional[windows_foundation_collections.IMap[str, str]]: ...
|
|
192
|
+
|
|
193
|
+
@typing.final
|
|
194
|
+
class NotificationData(winrt.system.Object):
|
|
195
|
+
@staticmethod
|
|
196
|
+
def _from(obj: winrt.system.Object, /) -> NotificationData: ...
|
|
197
|
+
@typing.overload
|
|
198
|
+
def __new__(cls: typing.Type[NotificationData], initial_values: typing.Iterable[windows_foundation_collections.IKeyValuePair[str, str]], sequence_number: winrt.system.UInt32) -> NotificationData: ...
|
|
199
|
+
@typing.overload
|
|
200
|
+
def __new__(cls: typing.Type[NotificationData], initial_values: typing.Iterable[windows_foundation_collections.IKeyValuePair[str, str]]) -> NotificationData: ...
|
|
201
|
+
@typing.overload
|
|
202
|
+
def __new__(cls: typing.Type[NotificationData]) -> NotificationData: ...
|
|
203
|
+
@_property
|
|
204
|
+
def sequence_number(self) -> winrt.system.UInt32: ...
|
|
205
|
+
@sequence_number.setter
|
|
206
|
+
def sequence_number(self, value: winrt.system.UInt32) -> None: ...
|
|
207
|
+
@_property
|
|
208
|
+
def values(self) -> typing.Optional[windows_foundation_collections.IMap[str, str]]: ...
|
|
209
|
+
|
|
210
|
+
@typing.final
|
|
211
|
+
class NotificationVisual(winrt.system.Object):
|
|
212
|
+
@staticmethod
|
|
213
|
+
def _from(obj: winrt.system.Object, /) -> NotificationVisual: ...
|
|
214
|
+
def get_binding(self, template_name: str, /) -> typing.Optional[NotificationBinding]: ...
|
|
215
|
+
@_property
|
|
216
|
+
def language(self) -> str: ...
|
|
217
|
+
@language.setter
|
|
218
|
+
def language(self, value: str) -> None: ...
|
|
219
|
+
@_property
|
|
220
|
+
def bindings(self) -> typing.Optional[windows_foundation_collections.IVector[NotificationBinding]]: ...
|
|
221
|
+
|
|
222
|
+
@typing.final
|
|
223
|
+
class ScheduledTileNotification(winrt.system.Object):
|
|
224
|
+
@staticmethod
|
|
225
|
+
def _from(obj: winrt.system.Object, /) -> ScheduledTileNotification: ...
|
|
226
|
+
def __new__(cls: typing.Type[ScheduledTileNotification], content: typing.Optional[windows_data_xml_dom.XmlDocument], delivery_time: datetime.datetime) -> ScheduledTileNotification: ...
|
|
227
|
+
@_property
|
|
228
|
+
def tag(self) -> str: ...
|
|
229
|
+
@tag.setter
|
|
230
|
+
def tag(self, value: str) -> None: ...
|
|
231
|
+
@_property
|
|
232
|
+
def id(self) -> str: ...
|
|
233
|
+
@id.setter
|
|
234
|
+
def id(self, value: str) -> None: ...
|
|
235
|
+
@_property
|
|
236
|
+
def expiration_time(self) -> typing.Optional[typing.Optional[datetime.datetime]]: ...
|
|
237
|
+
@expiration_time.setter
|
|
238
|
+
def expiration_time(self, value: typing.Optional[typing.Optional[datetime.datetime]]) -> None: ...
|
|
239
|
+
@_property
|
|
240
|
+
def content(self) -> typing.Optional[windows_data_xml_dom.XmlDocument]: ...
|
|
241
|
+
@_property
|
|
242
|
+
def delivery_time(self) -> datetime.datetime: ...
|
|
243
|
+
|
|
244
|
+
@typing.final
|
|
245
|
+
class ScheduledToastNotification(winrt.system.Object):
|
|
246
|
+
@staticmethod
|
|
247
|
+
def _from(obj: winrt.system.Object, /) -> ScheduledToastNotification: ...
|
|
248
|
+
@typing.overload
|
|
249
|
+
def __new__(cls: typing.Type[ScheduledToastNotification], content: typing.Optional[windows_data_xml_dom.XmlDocument], delivery_time: datetime.datetime) -> ScheduledToastNotification: ...
|
|
250
|
+
@typing.overload
|
|
251
|
+
def __new__(cls: typing.Type[ScheduledToastNotification], content: typing.Optional[windows_data_xml_dom.XmlDocument], delivery_time: datetime.datetime, snooze_interval: datetime.timedelta, maximum_snooze_count: winrt.system.UInt32) -> ScheduledToastNotification: ...
|
|
252
|
+
@_property
|
|
253
|
+
def id(self) -> str: ...
|
|
254
|
+
@id.setter
|
|
255
|
+
def id(self, value: str) -> None: ...
|
|
256
|
+
@_property
|
|
257
|
+
def content(self) -> typing.Optional[windows_data_xml_dom.XmlDocument]: ...
|
|
258
|
+
@_property
|
|
259
|
+
def delivery_time(self) -> datetime.datetime: ...
|
|
260
|
+
@_property
|
|
261
|
+
def maximum_snooze_count(self) -> winrt.system.UInt32: ...
|
|
262
|
+
@_property
|
|
263
|
+
def snooze_interval(self) -> typing.Optional[typing.Optional[datetime.timedelta]]: ...
|
|
264
|
+
@_property
|
|
265
|
+
def tag(self) -> str: ...
|
|
266
|
+
@tag.setter
|
|
267
|
+
def tag(self, value: str) -> None: ...
|
|
268
|
+
@_property
|
|
269
|
+
def suppress_popup(self) -> bool: ...
|
|
270
|
+
@suppress_popup.setter
|
|
271
|
+
def suppress_popup(self, value: bool) -> None: ...
|
|
272
|
+
@_property
|
|
273
|
+
def group(self) -> str: ...
|
|
274
|
+
@group.setter
|
|
275
|
+
def group(self, value: str) -> None: ...
|
|
276
|
+
@_property
|
|
277
|
+
def remote_id(self) -> str: ...
|
|
278
|
+
@remote_id.setter
|
|
279
|
+
def remote_id(self, value: str) -> None: ...
|
|
280
|
+
@_property
|
|
281
|
+
def notification_mirroring(self) -> NotificationMirroring: ...
|
|
282
|
+
@notification_mirroring.setter
|
|
283
|
+
def notification_mirroring(self, value: NotificationMirroring) -> None: ...
|
|
284
|
+
@_property
|
|
285
|
+
def expiration_time(self) -> typing.Optional[typing.Optional[datetime.datetime]]: ...
|
|
286
|
+
@expiration_time.setter
|
|
287
|
+
def expiration_time(self, value: typing.Optional[typing.Optional[datetime.datetime]]) -> None: ...
|
|
288
|
+
|
|
289
|
+
@typing.final
|
|
290
|
+
class ScheduledToastNotificationShowingEventArgs(winrt.system.Object):
|
|
291
|
+
@staticmethod
|
|
292
|
+
def _from(obj: winrt.system.Object, /) -> ScheduledToastNotificationShowingEventArgs: ...
|
|
293
|
+
def get_deferral(self) -> typing.Optional[windows_foundation.Deferral]: ...
|
|
294
|
+
@_property
|
|
295
|
+
def cancel(self) -> bool: ...
|
|
296
|
+
@cancel.setter
|
|
297
|
+
def cancel(self, value: bool) -> None: ...
|
|
298
|
+
@_property
|
|
299
|
+
def scheduled_toast_notification(self) -> typing.Optional[ScheduledToastNotification]: ...
|
|
300
|
+
|
|
301
|
+
@typing.final
|
|
302
|
+
class ShownTileNotification(winrt.system.Object):
|
|
303
|
+
@staticmethod
|
|
304
|
+
def _from(obj: winrt.system.Object, /) -> ShownTileNotification: ...
|
|
305
|
+
@_property
|
|
306
|
+
def arguments(self) -> str: ...
|
|
307
|
+
|
|
308
|
+
@typing.final
|
|
309
|
+
class TileFlyoutNotification(winrt.system.Object):
|
|
310
|
+
@staticmethod
|
|
311
|
+
def _from(obj: winrt.system.Object, /) -> TileFlyoutNotification: ...
|
|
312
|
+
def __new__(cls: typing.Type[TileFlyoutNotification], content: typing.Optional[windows_data_xml_dom.XmlDocument]) -> TileFlyoutNotification: ...
|
|
313
|
+
@_property
|
|
314
|
+
def expiration_time(self) -> typing.Optional[typing.Optional[datetime.datetime]]: ...
|
|
315
|
+
@expiration_time.setter
|
|
316
|
+
def expiration_time(self, value: typing.Optional[typing.Optional[datetime.datetime]]) -> None: ...
|
|
317
|
+
@_property
|
|
318
|
+
def content(self) -> typing.Optional[windows_data_xml_dom.XmlDocument]: ...
|
|
319
|
+
|
|
320
|
+
@typing.final
|
|
321
|
+
class TileFlyoutUpdateManager_Static(type):
|
|
322
|
+
@typing.overload
|
|
323
|
+
def create_tile_flyout_updater_for_application(cls) -> typing.Optional[TileFlyoutUpdater]: ...
|
|
324
|
+
@typing.overload
|
|
325
|
+
def create_tile_flyout_updater_for_application(cls, application_id: str, /) -> typing.Optional[TileFlyoutUpdater]: ...
|
|
326
|
+
def create_tile_flyout_updater_for_secondary_tile(cls, tile_id: str, /) -> typing.Optional[TileFlyoutUpdater]: ...
|
|
327
|
+
def get_template_content(cls, type: TileFlyoutTemplateType, /) -> typing.Optional[windows_data_xml_dom.XmlDocument]: ...
|
|
328
|
+
|
|
329
|
+
@typing.final
|
|
330
|
+
class TileFlyoutUpdateManager(winrt.system.Object, metaclass=TileFlyoutUpdateManager_Static):
|
|
331
|
+
pass
|
|
332
|
+
|
|
333
|
+
@typing.final
|
|
334
|
+
class TileFlyoutUpdater(winrt.system.Object):
|
|
335
|
+
@staticmethod
|
|
336
|
+
def _from(obj: winrt.system.Object, /) -> TileFlyoutUpdater: ...
|
|
337
|
+
def clear(self) -> None: ...
|
|
338
|
+
@typing.overload
|
|
339
|
+
def start_periodic_update(self, tile_flyout_content: typing.Optional[windows_foundation.Uri], requested_interval: PeriodicUpdateRecurrence, /) -> None: ...
|
|
340
|
+
@typing.overload
|
|
341
|
+
def start_periodic_update(self, tile_flyout_content: typing.Optional[windows_foundation.Uri], start_time: datetime.datetime, requested_interval: PeriodicUpdateRecurrence, /) -> None: ...
|
|
342
|
+
def stop_periodic_update(self) -> None: ...
|
|
343
|
+
def update(self, notification: typing.Optional[TileFlyoutNotification], /) -> None: ...
|
|
344
|
+
@_property
|
|
345
|
+
def setting(self) -> NotificationSetting: ...
|
|
346
|
+
|
|
347
|
+
@typing.final
|
|
348
|
+
class TileNotification(winrt.system.Object):
|
|
349
|
+
@staticmethod
|
|
350
|
+
def _from(obj: winrt.system.Object, /) -> TileNotification: ...
|
|
351
|
+
def __new__(cls: typing.Type[TileNotification], content: typing.Optional[windows_data_xml_dom.XmlDocument]) -> TileNotification: ...
|
|
352
|
+
@_property
|
|
353
|
+
def tag(self) -> str: ...
|
|
354
|
+
@tag.setter
|
|
355
|
+
def tag(self, value: str) -> None: ...
|
|
356
|
+
@_property
|
|
357
|
+
def expiration_time(self) -> typing.Optional[typing.Optional[datetime.datetime]]: ...
|
|
358
|
+
@expiration_time.setter
|
|
359
|
+
def expiration_time(self, value: typing.Optional[typing.Optional[datetime.datetime]]) -> None: ...
|
|
360
|
+
@_property
|
|
361
|
+
def content(self) -> typing.Optional[windows_data_xml_dom.XmlDocument]: ...
|
|
362
|
+
|
|
363
|
+
@typing.final
|
|
364
|
+
class TileUpdateManager_Static(type):
|
|
365
|
+
@typing.overload
|
|
366
|
+
def create_tile_updater_for_application(cls) -> typing.Optional[TileUpdater]: ...
|
|
367
|
+
@typing.overload
|
|
368
|
+
def create_tile_updater_for_application(cls, application_id: str, /) -> typing.Optional[TileUpdater]: ...
|
|
369
|
+
def create_tile_updater_for_secondary_tile(cls, tile_id: str, /) -> typing.Optional[TileUpdater]: ...
|
|
370
|
+
def get_for_user(cls, user: typing.Optional[windows_system.User], /) -> typing.Optional[TileUpdateManagerForUser]: ...
|
|
371
|
+
def get_template_content(cls, type: TileTemplateType, /) -> typing.Optional[windows_data_xml_dom.XmlDocument]: ...
|
|
372
|
+
|
|
373
|
+
@typing.final
|
|
374
|
+
class TileUpdateManager(winrt.system.Object, metaclass=TileUpdateManager_Static):
|
|
375
|
+
pass
|
|
376
|
+
|
|
377
|
+
@typing.final
|
|
378
|
+
class TileUpdateManagerForUser(winrt.system.Object):
|
|
379
|
+
@staticmethod
|
|
380
|
+
def _from(obj: winrt.system.Object, /) -> TileUpdateManagerForUser: ...
|
|
381
|
+
def create_tile_updater_for_application(self, application_id: str, /) -> typing.Optional[TileUpdater]: ...
|
|
382
|
+
def create_tile_updater_for_application_for_user(self) -> typing.Optional[TileUpdater]: ...
|
|
383
|
+
def create_tile_updater_for_secondary_tile(self, tile_id: str, /) -> typing.Optional[TileUpdater]: ...
|
|
384
|
+
@_property
|
|
385
|
+
def user(self) -> typing.Optional[windows_system.User]: ...
|
|
386
|
+
|
|
387
|
+
@typing.final
|
|
388
|
+
class TileUpdater(winrt.system.Object):
|
|
389
|
+
@staticmethod
|
|
390
|
+
def _from(obj: winrt.system.Object, /) -> TileUpdater: ...
|
|
391
|
+
def add_to_schedule(self, scheduled_tile: typing.Optional[ScheduledTileNotification], /) -> None: ...
|
|
392
|
+
def clear(self) -> None: ...
|
|
393
|
+
def enable_notification_queue(self, enable: bool, /) -> None: ...
|
|
394
|
+
def enable_notification_queue_for_square150x150(self, enable: bool, /) -> None: ...
|
|
395
|
+
def enable_notification_queue_for_square310x310(self, enable: bool, /) -> None: ...
|
|
396
|
+
def enable_notification_queue_for_wide310x150(self, enable: bool, /) -> None: ...
|
|
397
|
+
def get_scheduled_tile_notifications(self) -> typing.Optional[windows_foundation_collections.IVectorView[ScheduledTileNotification]]: ...
|
|
398
|
+
def remove_from_schedule(self, scheduled_tile: typing.Optional[ScheduledTileNotification], /) -> None: ...
|
|
399
|
+
@typing.overload
|
|
400
|
+
def start_periodic_update(self, tile_content: typing.Optional[windows_foundation.Uri], requested_interval: PeriodicUpdateRecurrence, /) -> None: ...
|
|
401
|
+
@typing.overload
|
|
402
|
+
def start_periodic_update(self, tile_content: typing.Optional[windows_foundation.Uri], start_time: datetime.datetime, requested_interval: PeriodicUpdateRecurrence, /) -> None: ...
|
|
403
|
+
@typing.overload
|
|
404
|
+
def start_periodic_update_batch(self, tile_contents: typing.Iterable[windows_foundation.Uri], requested_interval: PeriodicUpdateRecurrence, /) -> None: ...
|
|
405
|
+
@typing.overload
|
|
406
|
+
def start_periodic_update_batch(self, tile_contents: typing.Iterable[windows_foundation.Uri], start_time: datetime.datetime, requested_interval: PeriodicUpdateRecurrence, /) -> None: ...
|
|
407
|
+
def stop_periodic_update(self) -> None: ...
|
|
408
|
+
def update(self, notification: typing.Optional[TileNotification], /) -> None: ...
|
|
409
|
+
@_property
|
|
410
|
+
def setting(self) -> NotificationSetting: ...
|
|
411
|
+
|
|
412
|
+
@typing.final
|
|
413
|
+
class ToastActivatedEventArgs(winrt.system.Object):
|
|
414
|
+
@staticmethod
|
|
415
|
+
def _from(obj: winrt.system.Object, /) -> ToastActivatedEventArgs: ...
|
|
416
|
+
@_property
|
|
417
|
+
def arguments(self) -> str: ...
|
|
418
|
+
@_property
|
|
419
|
+
def user_input(self) -> typing.Optional[windows_foundation_collections.ValueSet]: ...
|
|
420
|
+
|
|
421
|
+
@typing.final
|
|
422
|
+
class ToastCollection(winrt.system.Object):
|
|
423
|
+
@staticmethod
|
|
424
|
+
def _from(obj: winrt.system.Object, /) -> ToastCollection: ...
|
|
425
|
+
def __new__(cls: typing.Type[ToastCollection], collection_id: str, display_name: str, launch_args: str, icon_uri: typing.Optional[windows_foundation.Uri]) -> ToastCollection: ...
|
|
426
|
+
@_property
|
|
427
|
+
def launch_args(self) -> str: ...
|
|
428
|
+
@launch_args.setter
|
|
429
|
+
def launch_args(self, value: str) -> None: ...
|
|
430
|
+
@_property
|
|
431
|
+
def icon(self) -> typing.Optional[windows_foundation.Uri]: ...
|
|
432
|
+
@icon.setter
|
|
433
|
+
def icon(self, value: typing.Optional[windows_foundation.Uri]) -> None: ...
|
|
434
|
+
@_property
|
|
435
|
+
def display_name(self) -> str: ...
|
|
436
|
+
@display_name.setter
|
|
437
|
+
def display_name(self, value: str) -> None: ...
|
|
438
|
+
@_property
|
|
439
|
+
def id(self) -> str: ...
|
|
440
|
+
|
|
441
|
+
@typing.final
|
|
442
|
+
class ToastCollectionManager(winrt.system.Object):
|
|
443
|
+
@staticmethod
|
|
444
|
+
def _from(obj: winrt.system.Object, /) -> ToastCollectionManager: ...
|
|
445
|
+
def find_all_toast_collections_async(self) -> windows_foundation.IAsyncOperation[windows_foundation_collections.IVectorView[ToastCollection]]: ...
|
|
446
|
+
def get_toast_collection_async(self, collection_id: str, /) -> windows_foundation.IAsyncOperation[ToastCollection]: ...
|
|
447
|
+
def remove_all_toast_collections_async(self) -> windows_foundation.IAsyncAction: ...
|
|
448
|
+
def remove_toast_collection_async(self, collection_id: str, /) -> windows_foundation.IAsyncAction: ...
|
|
449
|
+
def save_toast_collection_async(self, collection: typing.Optional[ToastCollection], /) -> windows_foundation.IAsyncAction: ...
|
|
450
|
+
@_property
|
|
451
|
+
def app_id(self) -> str: ...
|
|
452
|
+
@_property
|
|
453
|
+
def user(self) -> typing.Optional[windows_system.User]: ...
|
|
454
|
+
|
|
455
|
+
@typing.final
|
|
456
|
+
class ToastDismissedEventArgs(winrt.system.Object):
|
|
457
|
+
@staticmethod
|
|
458
|
+
def _from(obj: winrt.system.Object, /) -> ToastDismissedEventArgs: ...
|
|
459
|
+
@_property
|
|
460
|
+
def reason(self) -> ToastDismissalReason: ...
|
|
461
|
+
|
|
462
|
+
@typing.final
|
|
463
|
+
class ToastFailedEventArgs(winrt.system.Object):
|
|
464
|
+
@staticmethod
|
|
465
|
+
def _from(obj: winrt.system.Object, /) -> ToastFailedEventArgs: ...
|
|
466
|
+
@_property
|
|
467
|
+
def error_code(self) -> windows_foundation.HResult: ...
|
|
468
|
+
|
|
469
|
+
@typing.final
|
|
470
|
+
class ToastNotification(winrt.system.Object):
|
|
471
|
+
@staticmethod
|
|
472
|
+
def _from(obj: winrt.system.Object, /) -> ToastNotification: ...
|
|
473
|
+
def __new__(cls: typing.Type[ToastNotification], content: typing.Optional[windows_data_xml_dom.XmlDocument]) -> ToastNotification: ...
|
|
474
|
+
def add_activated(self, handler: windows_foundation.TypedEventHandler[ToastNotification, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
|
|
475
|
+
def remove_activated(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
476
|
+
def add_dismissed(self, handler: windows_foundation.TypedEventHandler[ToastNotification, ToastDismissedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
477
|
+
def remove_dismissed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
478
|
+
def add_failed(self, handler: windows_foundation.TypedEventHandler[ToastNotification, ToastFailedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
479
|
+
def remove_failed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
480
|
+
@_property
|
|
481
|
+
def expiration_time(self) -> typing.Optional[typing.Optional[datetime.datetime]]: ...
|
|
482
|
+
@expiration_time.setter
|
|
483
|
+
def expiration_time(self, value: typing.Optional[typing.Optional[datetime.datetime]]) -> None: ...
|
|
484
|
+
@_property
|
|
485
|
+
def content(self) -> typing.Optional[windows_data_xml_dom.XmlDocument]: ...
|
|
486
|
+
@_property
|
|
487
|
+
def tag(self) -> str: ...
|
|
488
|
+
@tag.setter
|
|
489
|
+
def tag(self, value: str) -> None: ...
|
|
490
|
+
@_property
|
|
491
|
+
def suppress_popup(self) -> bool: ...
|
|
492
|
+
@suppress_popup.setter
|
|
493
|
+
def suppress_popup(self, value: bool) -> None: ...
|
|
494
|
+
@_property
|
|
495
|
+
def group(self) -> str: ...
|
|
496
|
+
@group.setter
|
|
497
|
+
def group(self, value: str) -> None: ...
|
|
498
|
+
@_property
|
|
499
|
+
def remote_id(self) -> str: ...
|
|
500
|
+
@remote_id.setter
|
|
501
|
+
def remote_id(self, value: str) -> None: ...
|
|
502
|
+
@_property
|
|
503
|
+
def notification_mirroring(self) -> NotificationMirroring: ...
|
|
504
|
+
@notification_mirroring.setter
|
|
505
|
+
def notification_mirroring(self, value: NotificationMirroring) -> None: ...
|
|
506
|
+
@_property
|
|
507
|
+
def priority(self) -> ToastNotificationPriority: ...
|
|
508
|
+
@priority.setter
|
|
509
|
+
def priority(self, value: ToastNotificationPriority) -> None: ...
|
|
510
|
+
@_property
|
|
511
|
+
def data(self) -> typing.Optional[NotificationData]: ...
|
|
512
|
+
@data.setter
|
|
513
|
+
def data(self, value: typing.Optional[NotificationData]) -> None: ...
|
|
514
|
+
@_property
|
|
515
|
+
def expires_on_reboot(self) -> bool: ...
|
|
516
|
+
@expires_on_reboot.setter
|
|
517
|
+
def expires_on_reboot(self, value: bool) -> None: ...
|
|
518
|
+
|
|
519
|
+
@typing.final
|
|
520
|
+
class ToastNotificationActionTriggerDetail(winrt.system.Object):
|
|
521
|
+
@staticmethod
|
|
522
|
+
def _from(obj: winrt.system.Object, /) -> ToastNotificationActionTriggerDetail: ...
|
|
523
|
+
@_property
|
|
524
|
+
def argument(self) -> str: ...
|
|
525
|
+
@_property
|
|
526
|
+
def user_input(self) -> typing.Optional[windows_foundation_collections.ValueSet]: ...
|
|
527
|
+
|
|
528
|
+
@typing.final
|
|
529
|
+
class ToastNotificationHistory(winrt.system.Object):
|
|
530
|
+
@staticmethod
|
|
531
|
+
def _from(obj: winrt.system.Object, /) -> ToastNotificationHistory: ...
|
|
532
|
+
@typing.overload
|
|
533
|
+
def clear(self) -> None: ...
|
|
534
|
+
@typing.overload
|
|
535
|
+
def clear(self, application_id: str, /) -> None: ...
|
|
536
|
+
@typing.overload
|
|
537
|
+
def get_history(self) -> typing.Optional[windows_foundation_collections.IVectorView[ToastNotification]]: ...
|
|
538
|
+
@typing.overload
|
|
539
|
+
def get_history(self, application_id: str, /) -> typing.Optional[windows_foundation_collections.IVectorView[ToastNotification]]: ...
|
|
540
|
+
@typing.overload
|
|
541
|
+
def remove(self, tag: str, /) -> None: ...
|
|
542
|
+
@typing.overload
|
|
543
|
+
def remove(self, tag: str, group: str, /) -> None: ...
|
|
544
|
+
@typing.overload
|
|
545
|
+
def remove(self, tag: str, group: str, application_id: str, /) -> None: ...
|
|
546
|
+
@typing.overload
|
|
547
|
+
def remove_group(self, group: str, /) -> None: ...
|
|
548
|
+
@typing.overload
|
|
549
|
+
def remove_group(self, group: str, application_id: str, /) -> None: ...
|
|
550
|
+
|
|
551
|
+
@typing.final
|
|
552
|
+
class ToastNotificationHistoryChangedTriggerDetail(winrt.system.Object):
|
|
553
|
+
@staticmethod
|
|
554
|
+
def _from(obj: winrt.system.Object, /) -> ToastNotificationHistoryChangedTriggerDetail: ...
|
|
555
|
+
@_property
|
|
556
|
+
def change_type(self) -> ToastHistoryChangedType: ...
|
|
557
|
+
@_property
|
|
558
|
+
def collection_id(self) -> str: ...
|
|
559
|
+
|
|
560
|
+
@typing.final
|
|
561
|
+
class ToastNotificationManager_Static(type):
|
|
562
|
+
def configure_notification_mirroring(cls, value: NotificationMirroring, /) -> None: ...
|
|
563
|
+
@typing.overload
|
|
564
|
+
def create_toast_notifier(cls) -> typing.Optional[ToastNotifier]: ...
|
|
565
|
+
@typing.overload
|
|
566
|
+
def create_toast_notifier(cls, application_id: str, /) -> typing.Optional[ToastNotifier]: ...
|
|
567
|
+
def get_default(cls) -> typing.Optional[ToastNotificationManagerForUser]: ...
|
|
568
|
+
def get_for_user(cls, user: typing.Optional[windows_system.User], /) -> typing.Optional[ToastNotificationManagerForUser]: ...
|
|
569
|
+
def get_template_content(cls, type: ToastTemplateType, /) -> typing.Optional[windows_data_xml_dom.XmlDocument]: ...
|
|
570
|
+
@_property
|
|
571
|
+
def history(cls) -> typing.Optional[ToastNotificationHistory]: ...
|
|
572
|
+
|
|
573
|
+
@typing.final
|
|
574
|
+
class ToastNotificationManager(winrt.system.Object, metaclass=ToastNotificationManager_Static):
|
|
575
|
+
pass
|
|
576
|
+
|
|
577
|
+
@typing.final
|
|
578
|
+
class ToastNotificationManagerForUser(winrt.system.Object):
|
|
579
|
+
@staticmethod
|
|
580
|
+
def _from(obj: winrt.system.Object, /) -> ToastNotificationManagerForUser: ...
|
|
581
|
+
@typing.overload
|
|
582
|
+
def create_toast_notifier(self) -> typing.Optional[ToastNotifier]: ...
|
|
583
|
+
@typing.overload
|
|
584
|
+
def create_toast_notifier(self, application_id: str, /) -> typing.Optional[ToastNotifier]: ...
|
|
585
|
+
def get_history_for_toast_collection_id_async(self, collection_id: str, /) -> windows_foundation.IAsyncOperation[ToastNotificationHistory]: ...
|
|
586
|
+
@typing.overload
|
|
587
|
+
def get_toast_collection_manager(self) -> typing.Optional[ToastCollectionManager]: ...
|
|
588
|
+
@typing.overload
|
|
589
|
+
def get_toast_collection_manager(self, app_id: str, /) -> typing.Optional[ToastCollectionManager]: ...
|
|
590
|
+
def get_toast_notifier_for_toast_collection_id_async(self, collection_id: str, /) -> windows_foundation.IAsyncOperation[ToastNotifier]: ...
|
|
591
|
+
def add_notification_mode_changed(self, handler: windows_foundation.TypedEventHandler[ToastNotificationManagerForUser, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
|
|
592
|
+
def remove_notification_mode_changed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
593
|
+
@_property
|
|
594
|
+
def history(self) -> typing.Optional[ToastNotificationHistory]: ...
|
|
595
|
+
@_property
|
|
596
|
+
def user(self) -> typing.Optional[windows_system.User]: ...
|
|
597
|
+
@_property
|
|
598
|
+
def notification_mode(self) -> ToastNotificationMode: ...
|
|
599
|
+
|
|
600
|
+
@typing.final
|
|
601
|
+
class ToastNotifier(winrt.system.Object):
|
|
602
|
+
@staticmethod
|
|
603
|
+
def _from(obj: winrt.system.Object, /) -> ToastNotifier: ...
|
|
604
|
+
def add_to_schedule(self, scheduled_toast: typing.Optional[ScheduledToastNotification], /) -> None: ...
|
|
605
|
+
def get_scheduled_toast_notifications(self) -> typing.Optional[windows_foundation_collections.IVectorView[ScheduledToastNotification]]: ...
|
|
606
|
+
def hide(self, notification: typing.Optional[ToastNotification], /) -> None: ...
|
|
607
|
+
def remove_from_schedule(self, scheduled_toast: typing.Optional[ScheduledToastNotification], /) -> None: ...
|
|
608
|
+
def show(self, notification: typing.Optional[ToastNotification], /) -> None: ...
|
|
609
|
+
@typing.overload
|
|
610
|
+
def update(self, data: typing.Optional[NotificationData], tag: str, /) -> NotificationUpdateResult: ...
|
|
611
|
+
@typing.overload
|
|
612
|
+
def update(self, data: typing.Optional[NotificationData], tag: str, group: str, /) -> NotificationUpdateResult: ...
|
|
613
|
+
def add_scheduled_toast_notification_showing(self, handler: windows_foundation.TypedEventHandler[ToastNotifier, ScheduledToastNotificationShowingEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
614
|
+
def remove_scheduled_toast_notification_showing(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
615
|
+
@_property
|
|
616
|
+
def setting(self) -> NotificationSetting: ...
|
|
617
|
+
|
|
618
|
+
@typing.final
|
|
619
|
+
class UserNotification(winrt.system.Object):
|
|
620
|
+
@staticmethod
|
|
621
|
+
def _from(obj: winrt.system.Object, /) -> UserNotification: ...
|
|
622
|
+
@_property
|
|
623
|
+
def app_info(self) -> typing.Optional[windows_applicationmodel.AppInfo]: ...
|
|
624
|
+
@_property
|
|
625
|
+
def creation_time(self) -> datetime.datetime: ...
|
|
626
|
+
@_property
|
|
627
|
+
def id(self) -> winrt.system.UInt32: ...
|
|
628
|
+
@_property
|
|
629
|
+
def notification(self) -> typing.Optional[Notification]: ...
|
|
630
|
+
|
|
631
|
+
@typing.final
|
|
632
|
+
class UserNotificationChangedEventArgs(winrt.system.Object):
|
|
633
|
+
@staticmethod
|
|
634
|
+
def _from(obj: winrt.system.Object, /) -> UserNotificationChangedEventArgs: ...
|
|
635
|
+
@_property
|
|
636
|
+
def change_kind(self) -> UserNotificationChangedKind: ...
|
|
637
|
+
@_property
|
|
638
|
+
def user_notification_id(self) -> winrt.system.UInt32: ...
|
|
639
|
+
|
|
640
|
+
@typing.final
|
|
641
|
+
class IAdaptiveNotificationContent(winrt.system.Object):
|
|
642
|
+
@staticmethod
|
|
643
|
+
def _from(obj: winrt.system.Object, /) -> IAdaptiveNotificationContent: ...
|
|
644
|
+
@_property
|
|
645
|
+
def hints(self) -> typing.Optional[windows_foundation_collections.IMap[str, str]]: ...
|
|
646
|
+
@_property
|
|
647
|
+
def kind(self) -> AdaptiveNotificationContentKind: ...
|
|
648
|
+
|
|
@@ -0,0 +1,300 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
|
|
2
|
+
|
|
3
|
+
import enum
|
|
4
|
+
|
|
5
|
+
import winrt.system
|
|
6
|
+
from winrt import _winrt_windows_ui_notifications
|
|
7
|
+
|
|
8
|
+
__all__ = [
|
|
9
|
+
"AdaptiveNotificationContentKind",
|
|
10
|
+
"BadgeTemplateType",
|
|
11
|
+
"NotificationKinds",
|
|
12
|
+
"NotificationMirroring",
|
|
13
|
+
"NotificationSetting",
|
|
14
|
+
"NotificationUpdateResult",
|
|
15
|
+
"PeriodicUpdateRecurrence",
|
|
16
|
+
"TileFlyoutTemplateType",
|
|
17
|
+
"TileTemplateType",
|
|
18
|
+
"ToastDismissalReason",
|
|
19
|
+
"ToastHistoryChangedType",
|
|
20
|
+
"ToastNotificationMode",
|
|
21
|
+
"ToastNotificationPriority",
|
|
22
|
+
"ToastTemplateType",
|
|
23
|
+
"UserNotificationChangedKind",
|
|
24
|
+
"AdaptiveNotificationText",
|
|
25
|
+
"BadgeNotification",
|
|
26
|
+
"BadgeUpdateManager",
|
|
27
|
+
"BadgeUpdateManagerForUser",
|
|
28
|
+
"BadgeUpdater",
|
|
29
|
+
"KnownAdaptiveNotificationHints",
|
|
30
|
+
"KnownAdaptiveNotificationTextStyles",
|
|
31
|
+
"KnownNotificationBindings",
|
|
32
|
+
"Notification",
|
|
33
|
+
"NotificationBinding",
|
|
34
|
+
"NotificationData",
|
|
35
|
+
"NotificationVisual",
|
|
36
|
+
"ScheduledTileNotification",
|
|
37
|
+
"ScheduledToastNotification",
|
|
38
|
+
"ScheduledToastNotificationShowingEventArgs",
|
|
39
|
+
"ShownTileNotification",
|
|
40
|
+
"TileFlyoutNotification",
|
|
41
|
+
"TileFlyoutUpdateManager",
|
|
42
|
+
"TileFlyoutUpdater",
|
|
43
|
+
"TileNotification",
|
|
44
|
+
"TileUpdateManager",
|
|
45
|
+
"TileUpdateManagerForUser",
|
|
46
|
+
"TileUpdater",
|
|
47
|
+
"ToastActivatedEventArgs",
|
|
48
|
+
"ToastCollection",
|
|
49
|
+
"ToastCollectionManager",
|
|
50
|
+
"ToastDismissedEventArgs",
|
|
51
|
+
"ToastFailedEventArgs",
|
|
52
|
+
"ToastNotification",
|
|
53
|
+
"ToastNotificationActionTriggerDetail",
|
|
54
|
+
"ToastNotificationHistory",
|
|
55
|
+
"ToastNotificationHistoryChangedTriggerDetail",
|
|
56
|
+
"ToastNotificationManager",
|
|
57
|
+
"ToastNotificationManagerForUser",
|
|
58
|
+
"ToastNotifier",
|
|
59
|
+
"UserNotification",
|
|
60
|
+
"UserNotificationChangedEventArgs",
|
|
61
|
+
"IAdaptiveNotificationContent",
|
|
62
|
+
]
|
|
63
|
+
|
|
64
|
+
class AdaptiveNotificationContentKind(enum.IntEnum):
|
|
65
|
+
TEXT = 0
|
|
66
|
+
|
|
67
|
+
class BadgeTemplateType(enum.IntEnum):
|
|
68
|
+
BADGE_GLYPH = 0
|
|
69
|
+
BADGE_NUMBER = 1
|
|
70
|
+
|
|
71
|
+
class NotificationKinds(enum.IntFlag):
|
|
72
|
+
UNKNOWN = 0x0
|
|
73
|
+
TOAST = 0x1
|
|
74
|
+
|
|
75
|
+
class NotificationMirroring(enum.IntEnum):
|
|
76
|
+
ALLOWED = 0
|
|
77
|
+
DISABLED = 1
|
|
78
|
+
|
|
79
|
+
class NotificationSetting(enum.IntEnum):
|
|
80
|
+
ENABLED = 0
|
|
81
|
+
DISABLED_FOR_APPLICATION = 1
|
|
82
|
+
DISABLED_FOR_USER = 2
|
|
83
|
+
DISABLED_BY_GROUP_POLICY = 3
|
|
84
|
+
DISABLED_BY_MANIFEST = 4
|
|
85
|
+
|
|
86
|
+
class NotificationUpdateResult(enum.IntEnum):
|
|
87
|
+
SUCCEEDED = 0
|
|
88
|
+
FAILED = 1
|
|
89
|
+
NOTIFICATION_NOT_FOUND = 2
|
|
90
|
+
|
|
91
|
+
class PeriodicUpdateRecurrence(enum.IntEnum):
|
|
92
|
+
HALF_HOUR = 0
|
|
93
|
+
HOUR = 1
|
|
94
|
+
SIX_HOURS = 2
|
|
95
|
+
TWELVE_HOURS = 3
|
|
96
|
+
DAILY = 4
|
|
97
|
+
|
|
98
|
+
class TileFlyoutTemplateType(enum.IntEnum):
|
|
99
|
+
TILE_FLYOUT_TEMPLATE01 = 0
|
|
100
|
+
|
|
101
|
+
class TileTemplateType(enum.IntEnum):
|
|
102
|
+
TILE_SQUARE_IMAGE = 0
|
|
103
|
+
TILE_SQUARE_BLOCK = 1
|
|
104
|
+
TILE_SQUARE_TEXT01 = 2
|
|
105
|
+
TILE_SQUARE_TEXT02 = 3
|
|
106
|
+
TILE_SQUARE_TEXT03 = 4
|
|
107
|
+
TILE_SQUARE_TEXT04 = 5
|
|
108
|
+
TILE_SQUARE_PEEK_IMAGE_AND_TEXT01 = 6
|
|
109
|
+
TILE_SQUARE_PEEK_IMAGE_AND_TEXT02 = 7
|
|
110
|
+
TILE_SQUARE_PEEK_IMAGE_AND_TEXT03 = 8
|
|
111
|
+
TILE_SQUARE_PEEK_IMAGE_AND_TEXT04 = 9
|
|
112
|
+
TILE_WIDE_IMAGE = 10
|
|
113
|
+
TILE_WIDE_IMAGE_COLLECTION = 11
|
|
114
|
+
TILE_WIDE_IMAGE_AND_TEXT01 = 12
|
|
115
|
+
TILE_WIDE_IMAGE_AND_TEXT02 = 13
|
|
116
|
+
TILE_WIDE_BLOCK_AND_TEXT01 = 14
|
|
117
|
+
TILE_WIDE_BLOCK_AND_TEXT02 = 15
|
|
118
|
+
TILE_WIDE_PEEK_IMAGE_COLLECTION01 = 16
|
|
119
|
+
TILE_WIDE_PEEK_IMAGE_COLLECTION02 = 17
|
|
120
|
+
TILE_WIDE_PEEK_IMAGE_COLLECTION03 = 18
|
|
121
|
+
TILE_WIDE_PEEK_IMAGE_COLLECTION04 = 19
|
|
122
|
+
TILE_WIDE_PEEK_IMAGE_COLLECTION05 = 20
|
|
123
|
+
TILE_WIDE_PEEK_IMAGE_COLLECTION06 = 21
|
|
124
|
+
TILE_WIDE_PEEK_IMAGE_AND_TEXT01 = 22
|
|
125
|
+
TILE_WIDE_PEEK_IMAGE_AND_TEXT02 = 23
|
|
126
|
+
TILE_WIDE_PEEK_IMAGE01 = 24
|
|
127
|
+
TILE_WIDE_PEEK_IMAGE02 = 25
|
|
128
|
+
TILE_WIDE_PEEK_IMAGE03 = 26
|
|
129
|
+
TILE_WIDE_PEEK_IMAGE04 = 27
|
|
130
|
+
TILE_WIDE_PEEK_IMAGE05 = 28
|
|
131
|
+
TILE_WIDE_PEEK_IMAGE06 = 29
|
|
132
|
+
TILE_WIDE_SMALL_IMAGE_AND_TEXT01 = 30
|
|
133
|
+
TILE_WIDE_SMALL_IMAGE_AND_TEXT02 = 31
|
|
134
|
+
TILE_WIDE_SMALL_IMAGE_AND_TEXT03 = 32
|
|
135
|
+
TILE_WIDE_SMALL_IMAGE_AND_TEXT04 = 33
|
|
136
|
+
TILE_WIDE_SMALL_IMAGE_AND_TEXT05 = 34
|
|
137
|
+
TILE_WIDE_TEXT01 = 35
|
|
138
|
+
TILE_WIDE_TEXT02 = 36
|
|
139
|
+
TILE_WIDE_TEXT03 = 37
|
|
140
|
+
TILE_WIDE_TEXT04 = 38
|
|
141
|
+
TILE_WIDE_TEXT05 = 39
|
|
142
|
+
TILE_WIDE_TEXT06 = 40
|
|
143
|
+
TILE_WIDE_TEXT07 = 41
|
|
144
|
+
TILE_WIDE_TEXT08 = 42
|
|
145
|
+
TILE_WIDE_TEXT09 = 43
|
|
146
|
+
TILE_WIDE_TEXT10 = 44
|
|
147
|
+
TILE_WIDE_TEXT11 = 45
|
|
148
|
+
TILE_SQUARE150X150_IMAGE = 0
|
|
149
|
+
TILE_SQUARE150X150_BLOCK = 1
|
|
150
|
+
TILE_SQUARE150X150_TEXT01 = 2
|
|
151
|
+
TILE_SQUARE150X150_TEXT02 = 3
|
|
152
|
+
TILE_SQUARE150X150_TEXT03 = 4
|
|
153
|
+
TILE_SQUARE150X150_TEXT04 = 5
|
|
154
|
+
TILE_SQUARE150X150_PEEK_IMAGE_AND_TEXT01 = 6
|
|
155
|
+
TILE_SQUARE150X150_PEEK_IMAGE_AND_TEXT02 = 7
|
|
156
|
+
TILE_SQUARE150X150_PEEK_IMAGE_AND_TEXT03 = 8
|
|
157
|
+
TILE_SQUARE150X150_PEEK_IMAGE_AND_TEXT04 = 9
|
|
158
|
+
TILE_WIDE310X150_IMAGE = 10
|
|
159
|
+
TILE_WIDE310X150_IMAGE_COLLECTION = 11
|
|
160
|
+
TILE_WIDE310X150_IMAGE_AND_TEXT01 = 12
|
|
161
|
+
TILE_WIDE310X150_IMAGE_AND_TEXT02 = 13
|
|
162
|
+
TILE_WIDE310X150_BLOCK_AND_TEXT01 = 14
|
|
163
|
+
TILE_WIDE310X150_BLOCK_AND_TEXT02 = 15
|
|
164
|
+
TILE_WIDE310X150_PEEK_IMAGE_COLLECTION01 = 16
|
|
165
|
+
TILE_WIDE310X150_PEEK_IMAGE_COLLECTION02 = 17
|
|
166
|
+
TILE_WIDE310X150_PEEK_IMAGE_COLLECTION03 = 18
|
|
167
|
+
TILE_WIDE310X150_PEEK_IMAGE_COLLECTION04 = 19
|
|
168
|
+
TILE_WIDE310X150_PEEK_IMAGE_COLLECTION05 = 20
|
|
169
|
+
TILE_WIDE310X150_PEEK_IMAGE_COLLECTION06 = 21
|
|
170
|
+
TILE_WIDE310X150_PEEK_IMAGE_AND_TEXT01 = 22
|
|
171
|
+
TILE_WIDE310X150_PEEK_IMAGE_AND_TEXT02 = 23
|
|
172
|
+
TILE_WIDE310X150_PEEK_IMAGE01 = 24
|
|
173
|
+
TILE_WIDE310X150_PEEK_IMAGE02 = 25
|
|
174
|
+
TILE_WIDE310X150_PEEK_IMAGE03 = 26
|
|
175
|
+
TILE_WIDE310X150_PEEK_IMAGE04 = 27
|
|
176
|
+
TILE_WIDE310X150_PEEK_IMAGE05 = 28
|
|
177
|
+
TILE_WIDE310X150_PEEK_IMAGE06 = 29
|
|
178
|
+
TILE_WIDE310X150_SMALL_IMAGE_AND_TEXT01 = 30
|
|
179
|
+
TILE_WIDE310X150_SMALL_IMAGE_AND_TEXT02 = 31
|
|
180
|
+
TILE_WIDE310X150_SMALL_IMAGE_AND_TEXT03 = 32
|
|
181
|
+
TILE_WIDE310X150_SMALL_IMAGE_AND_TEXT04 = 33
|
|
182
|
+
TILE_WIDE310X150_SMALL_IMAGE_AND_TEXT05 = 34
|
|
183
|
+
TILE_WIDE310X150_TEXT01 = 35
|
|
184
|
+
TILE_WIDE310X150_TEXT02 = 36
|
|
185
|
+
TILE_WIDE310X150_TEXT03 = 37
|
|
186
|
+
TILE_WIDE310X150_TEXT04 = 38
|
|
187
|
+
TILE_WIDE310X150_TEXT05 = 39
|
|
188
|
+
TILE_WIDE310X150_TEXT06 = 40
|
|
189
|
+
TILE_WIDE310X150_TEXT07 = 41
|
|
190
|
+
TILE_WIDE310X150_TEXT08 = 42
|
|
191
|
+
TILE_WIDE310X150_TEXT09 = 43
|
|
192
|
+
TILE_WIDE310X150_TEXT10 = 44
|
|
193
|
+
TILE_WIDE310X150_TEXT11 = 45
|
|
194
|
+
TILE_SQUARE310X310_BLOCK_AND_TEXT01 = 46
|
|
195
|
+
TILE_SQUARE310X310_BLOCK_AND_TEXT02 = 47
|
|
196
|
+
TILE_SQUARE310X310_IMAGE = 48
|
|
197
|
+
TILE_SQUARE310X310_IMAGE_AND_TEXT01 = 49
|
|
198
|
+
TILE_SQUARE310X310_IMAGE_AND_TEXT02 = 50
|
|
199
|
+
TILE_SQUARE310X310_IMAGE_AND_TEXT_OVERLAY01 = 51
|
|
200
|
+
TILE_SQUARE310X310_IMAGE_AND_TEXT_OVERLAY02 = 52
|
|
201
|
+
TILE_SQUARE310X310_IMAGE_AND_TEXT_OVERLAY03 = 53
|
|
202
|
+
TILE_SQUARE310X310_IMAGE_COLLECTION_AND_TEXT01 = 54
|
|
203
|
+
TILE_SQUARE310X310_IMAGE_COLLECTION_AND_TEXT02 = 55
|
|
204
|
+
TILE_SQUARE310X310_IMAGE_COLLECTION = 56
|
|
205
|
+
TILE_SQUARE310X310_SMALL_IMAGES_AND_TEXT_LIST01 = 57
|
|
206
|
+
TILE_SQUARE310X310_SMALL_IMAGES_AND_TEXT_LIST02 = 58
|
|
207
|
+
TILE_SQUARE310X310_SMALL_IMAGES_AND_TEXT_LIST03 = 59
|
|
208
|
+
TILE_SQUARE310X310_SMALL_IMAGES_AND_TEXT_LIST04 = 60
|
|
209
|
+
TILE_SQUARE310X310_TEXT01 = 61
|
|
210
|
+
TILE_SQUARE310X310_TEXT02 = 62
|
|
211
|
+
TILE_SQUARE310X310_TEXT03 = 63
|
|
212
|
+
TILE_SQUARE310X310_TEXT04 = 64
|
|
213
|
+
TILE_SQUARE310X310_TEXT05 = 65
|
|
214
|
+
TILE_SQUARE310X310_TEXT06 = 66
|
|
215
|
+
TILE_SQUARE310X310_TEXT07 = 67
|
|
216
|
+
TILE_SQUARE310X310_TEXT08 = 68
|
|
217
|
+
TILE_SQUARE310X310_TEXT_LIST01 = 69
|
|
218
|
+
TILE_SQUARE310X310_TEXT_LIST02 = 70
|
|
219
|
+
TILE_SQUARE310X310_TEXT_LIST03 = 71
|
|
220
|
+
TILE_SQUARE310X310_SMALL_IMAGE_AND_TEXT01 = 72
|
|
221
|
+
TILE_SQUARE310X310_SMALL_IMAGES_AND_TEXT_LIST05 = 73
|
|
222
|
+
TILE_SQUARE310X310_TEXT09 = 74
|
|
223
|
+
TILE_SQUARE71X71_ICON_WITH_BADGE = 75
|
|
224
|
+
TILE_SQUARE150X150_ICON_WITH_BADGE = 76
|
|
225
|
+
TILE_WIDE310X150_ICON_WITH_BADGE_AND_TEXT = 77
|
|
226
|
+
TILE_SQUARE71X71_IMAGE = 78
|
|
227
|
+
TILE_TALL150X310_IMAGE = 79
|
|
228
|
+
|
|
229
|
+
class ToastDismissalReason(enum.IntEnum):
|
|
230
|
+
USER_CANCELED = 0
|
|
231
|
+
APPLICATION_HIDDEN = 1
|
|
232
|
+
TIMED_OUT = 2
|
|
233
|
+
|
|
234
|
+
class ToastHistoryChangedType(enum.IntEnum):
|
|
235
|
+
CLEARED = 0
|
|
236
|
+
REMOVED = 1
|
|
237
|
+
EXPIRED = 2
|
|
238
|
+
ADDED = 3
|
|
239
|
+
|
|
240
|
+
class ToastNotificationMode(enum.IntEnum):
|
|
241
|
+
UNRESTRICTED = 0
|
|
242
|
+
PRIORITY_ONLY = 1
|
|
243
|
+
ALARMS_ONLY = 2
|
|
244
|
+
|
|
245
|
+
class ToastNotificationPriority(enum.IntEnum):
|
|
246
|
+
DEFAULT = 0
|
|
247
|
+
HIGH = 1
|
|
248
|
+
|
|
249
|
+
class ToastTemplateType(enum.IntEnum):
|
|
250
|
+
TOAST_IMAGE_AND_TEXT01 = 0
|
|
251
|
+
TOAST_IMAGE_AND_TEXT02 = 1
|
|
252
|
+
TOAST_IMAGE_AND_TEXT03 = 2
|
|
253
|
+
TOAST_IMAGE_AND_TEXT04 = 3
|
|
254
|
+
TOAST_TEXT01 = 4
|
|
255
|
+
TOAST_TEXT02 = 5
|
|
256
|
+
TOAST_TEXT03 = 6
|
|
257
|
+
TOAST_TEXT04 = 7
|
|
258
|
+
|
|
259
|
+
class UserNotificationChangedKind(enum.IntEnum):
|
|
260
|
+
ADDED = 0
|
|
261
|
+
REMOVED = 1
|
|
262
|
+
|
|
263
|
+
AdaptiveNotificationText = _winrt_windows_ui_notifications.AdaptiveNotificationText
|
|
264
|
+
BadgeNotification = _winrt_windows_ui_notifications.BadgeNotification
|
|
265
|
+
BadgeUpdateManager = _winrt_windows_ui_notifications.BadgeUpdateManager
|
|
266
|
+
BadgeUpdateManagerForUser = _winrt_windows_ui_notifications.BadgeUpdateManagerForUser
|
|
267
|
+
BadgeUpdater = _winrt_windows_ui_notifications.BadgeUpdater
|
|
268
|
+
KnownAdaptiveNotificationHints = _winrt_windows_ui_notifications.KnownAdaptiveNotificationHints
|
|
269
|
+
KnownAdaptiveNotificationTextStyles = _winrt_windows_ui_notifications.KnownAdaptiveNotificationTextStyles
|
|
270
|
+
KnownNotificationBindings = _winrt_windows_ui_notifications.KnownNotificationBindings
|
|
271
|
+
Notification = _winrt_windows_ui_notifications.Notification
|
|
272
|
+
NotificationBinding = _winrt_windows_ui_notifications.NotificationBinding
|
|
273
|
+
NotificationData = _winrt_windows_ui_notifications.NotificationData
|
|
274
|
+
NotificationVisual = _winrt_windows_ui_notifications.NotificationVisual
|
|
275
|
+
ScheduledTileNotification = _winrt_windows_ui_notifications.ScheduledTileNotification
|
|
276
|
+
ScheduledToastNotification = _winrt_windows_ui_notifications.ScheduledToastNotification
|
|
277
|
+
ScheduledToastNotificationShowingEventArgs = _winrt_windows_ui_notifications.ScheduledToastNotificationShowingEventArgs
|
|
278
|
+
ShownTileNotification = _winrt_windows_ui_notifications.ShownTileNotification
|
|
279
|
+
TileFlyoutNotification = _winrt_windows_ui_notifications.TileFlyoutNotification
|
|
280
|
+
TileFlyoutUpdateManager = _winrt_windows_ui_notifications.TileFlyoutUpdateManager
|
|
281
|
+
TileFlyoutUpdater = _winrt_windows_ui_notifications.TileFlyoutUpdater
|
|
282
|
+
TileNotification = _winrt_windows_ui_notifications.TileNotification
|
|
283
|
+
TileUpdateManager = _winrt_windows_ui_notifications.TileUpdateManager
|
|
284
|
+
TileUpdateManagerForUser = _winrt_windows_ui_notifications.TileUpdateManagerForUser
|
|
285
|
+
TileUpdater = _winrt_windows_ui_notifications.TileUpdater
|
|
286
|
+
ToastActivatedEventArgs = _winrt_windows_ui_notifications.ToastActivatedEventArgs
|
|
287
|
+
ToastCollection = _winrt_windows_ui_notifications.ToastCollection
|
|
288
|
+
ToastCollectionManager = _winrt_windows_ui_notifications.ToastCollectionManager
|
|
289
|
+
ToastDismissedEventArgs = _winrt_windows_ui_notifications.ToastDismissedEventArgs
|
|
290
|
+
ToastFailedEventArgs = _winrt_windows_ui_notifications.ToastFailedEventArgs
|
|
291
|
+
ToastNotification = _winrt_windows_ui_notifications.ToastNotification
|
|
292
|
+
ToastNotificationActionTriggerDetail = _winrt_windows_ui_notifications.ToastNotificationActionTriggerDetail
|
|
293
|
+
ToastNotificationHistory = _winrt_windows_ui_notifications.ToastNotificationHistory
|
|
294
|
+
ToastNotificationHistoryChangedTriggerDetail = _winrt_windows_ui_notifications.ToastNotificationHistoryChangedTriggerDetail
|
|
295
|
+
ToastNotificationManager = _winrt_windows_ui_notifications.ToastNotificationManager
|
|
296
|
+
ToastNotificationManagerForUser = _winrt_windows_ui_notifications.ToastNotificationManagerForUser
|
|
297
|
+
ToastNotifier = _winrt_windows_ui_notifications.ToastNotifier
|
|
298
|
+
UserNotification = _winrt_windows_ui_notifications.UserNotification
|
|
299
|
+
UserNotificationChangedEventArgs = _winrt_windows_ui_notifications.UserNotificationChangedEventArgs
|
|
300
|
+
IAdaptiveNotificationContent = _winrt_windows_ui_notifications.IAdaptiveNotificationContent
|
|
File without changes
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: winrt-Windows.UI.Notifications
|
|
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[all] ==2.2.0 ; extra == 'all'
|
|
18
|
+
Requires-Dist: winrt-Windows.Data.Xml.Dom[all] ==2.2.0 ; extra == 'all'
|
|
19
|
+
Requires-Dist: winrt-Windows.Foundation[all] ==2.2.0 ; extra == 'all'
|
|
20
|
+
Requires-Dist: winrt-Windows.Foundation.Collections[all] ==2.2.0 ; extra == 'all'
|
|
21
|
+
Requires-Dist: winrt-Windows.System[all] ==2.2.0 ; extra == 'all'
|
|
22
|
+
|
|
23
|
+
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
24
|
+
|
|
25
|
+
# winrt-Windows.UI.Notifications
|
|
26
|
+
|
|
27
|
+
Windows Runtime (WinRT) APIs for for the `Windows.UI.Notifications` namespace.
|
|
28
|
+
|
|
29
|
+
This package provides the `winrt.windows.ui.notifications` module.
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
winrt/_winrt_windows_ui_notifications.cp313-win_amd64.pyd,sha256=eMC4uqar7gvdUglKsi99bM1v3FeCxZ-M4wb15LE4SlA,481280
|
|
2
|
+
winrt/_winrt_windows_ui_notifications.pyi,sha256=6RU5vqSANKp6ak4S4KuW1oZcQSoIdWqbYk7FcftX2xM,30111
|
|
3
|
+
winrt/windows/ui/notifications/__init__.py,sha256=oUzC1GiTrWmvrdwX2C1cSNDxZBSVpAzLdxJG0Nz6Nuc,11396
|
|
4
|
+
winrt/windows/ui/notifications/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
|
+
winrt_Windows.UI.Notifications-2.2.0.dist-info/METADATA,sha256=aohjMxW4YOFQhIShOjGjBHP6ALg1oAPBC1GkBGpWAr4,1347
|
|
6
|
+
winrt_Windows.UI.Notifications-2.2.0.dist-info/WHEEL,sha256=CdxowNJ2RPRCxUxJWAQ4R_o8uA51cjotGywc47Ht6wA,101
|
|
7
|
+
winrt_Windows.UI.Notifications-2.2.0.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
|
|
8
|
+
winrt_Windows.UI.Notifications-2.2.0.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
winrt
|