winrt-Windows.UI.Notifications 2.0.0b1__cp310-cp310-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.
@@ -0,0 +1,610 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.0-beta.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
+
10
+ import winrt._winrt
11
+ import winrt.system
12
+ import winrt.windows.applicationmodel
13
+ import winrt.windows.data.xml.dom
14
+ import winrt.windows.foundation
15
+ import winrt.windows.foundation.collections
16
+ import winrt.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
+ class AdaptiveNotificationText(winrt.system.Object):
23
+ @staticmethod
24
+ def _from(obj: winrt.system.Object, /) -> AdaptiveNotificationText: ...
25
+ def __new__(cls: typing.Type[AdaptiveNotificationText]) -> AdaptiveNotificationText:...
26
+ @_property
27
+ def hints(self) -> typing.Optional[winrt.windows.foundation.collections.IMap[str, str]]: ...
28
+ @_property
29
+ def kind(self) -> AdaptiveNotificationContentKind: ...
30
+ @_property
31
+ def text(self) -> str: ...
32
+ @text.setter
33
+ def text(self, value: str) -> None: ...
34
+ @_property
35
+ def language(self) -> str: ...
36
+ @language.setter
37
+ def language(self, value: str) -> None: ...
38
+
39
+ class BadgeNotification(winrt.system.Object):
40
+ @staticmethod
41
+ def _from(obj: winrt.system.Object, /) -> BadgeNotification: ...
42
+ def __new__(cls: typing.Type[BadgeNotification], content: typing.Optional[winrt.windows.data.xml.dom.XmlDocument]) -> BadgeNotification:...
43
+ @_property
44
+ def expiration_time(self) -> typing.Optional[typing.Optional[datetime.datetime]]: ...
45
+ @expiration_time.setter
46
+ def expiration_time(self, value: typing.Optional[typing.Optional[datetime.datetime]]) -> None: ...
47
+ @_property
48
+ def content(self) -> typing.Optional[winrt.windows.data.xml.dom.XmlDocument]: ...
49
+
50
+ class BadgeUpdateManager_Static(type):
51
+ @typing.overload
52
+ def create_badge_updater_for_application(cls) -> typing.Optional[BadgeUpdater]: ...
53
+ @typing.overload
54
+ def create_badge_updater_for_application(cls, application_id: str, /) -> typing.Optional[BadgeUpdater]: ...
55
+ def create_badge_updater_for_secondary_tile(cls, tile_id: str, /) -> typing.Optional[BadgeUpdater]: ...
56
+ def get_for_user(cls, user: typing.Optional[winrt.windows.system.User], /) -> typing.Optional[BadgeUpdateManagerForUser]: ...
57
+ def get_template_content(cls, type: BadgeTemplateType, /) -> typing.Optional[winrt.windows.data.xml.dom.XmlDocument]: ...
58
+
59
+ class BadgeUpdateManager(winrt.system.Object, metaclass=BadgeUpdateManager_Static):
60
+ @staticmethod
61
+ def _from(obj: winrt.system.Object, /) -> BadgeUpdateManager: ...
62
+
63
+ class BadgeUpdateManagerForUser(winrt.system.Object):
64
+ @staticmethod
65
+ def _from(obj: winrt.system.Object, /) -> BadgeUpdateManagerForUser: ...
66
+ @typing.overload
67
+ def create_badge_updater_for_application(self) -> typing.Optional[BadgeUpdater]: ...
68
+ @typing.overload
69
+ def create_badge_updater_for_application(self, application_id: str, /) -> typing.Optional[BadgeUpdater]: ...
70
+ def create_badge_updater_for_secondary_tile(self, tile_id: str, /) -> typing.Optional[BadgeUpdater]: ...
71
+ @_property
72
+ def user(self) -> typing.Optional[winrt.windows.system.User]: ...
73
+
74
+ class BadgeUpdater(winrt.system.Object):
75
+ @staticmethod
76
+ def _from(obj: winrt.system.Object, /) -> BadgeUpdater: ...
77
+ def clear(self) -> None: ...
78
+ @typing.overload
79
+ def start_periodic_update(self, badge_content: typing.Optional[winrt.windows.foundation.Uri], requested_interval: PeriodicUpdateRecurrence, /) -> None: ...
80
+ @typing.overload
81
+ def start_periodic_update(self, badge_content: typing.Optional[winrt.windows.foundation.Uri], start_time: datetime.datetime, requested_interval: PeriodicUpdateRecurrence, /) -> None: ...
82
+ def stop_periodic_update(self) -> None: ...
83
+ def update(self, notification: typing.Optional[BadgeNotification], /) -> None: ...
84
+
85
+ class KnownAdaptiveNotificationHints_Static(type):
86
+ @_property
87
+ def align(cls) -> str: ...
88
+ @_property
89
+ def max_lines(cls) -> str: ...
90
+ @_property
91
+ def min_lines(cls) -> str: ...
92
+ @_property
93
+ def style(cls) -> str: ...
94
+ @_property
95
+ def text_stacking(cls) -> str: ...
96
+ @_property
97
+ def wrap(cls) -> str: ...
98
+
99
+ class KnownAdaptiveNotificationHints(winrt.system.Object, metaclass=KnownAdaptiveNotificationHints_Static):
100
+ @staticmethod
101
+ def _from(obj: winrt.system.Object, /) -> KnownAdaptiveNotificationHints: ...
102
+
103
+ class KnownAdaptiveNotificationTextStyles_Static(type):
104
+ @_property
105
+ def base(cls) -> str: ...
106
+ @_property
107
+ def base_subtle(cls) -> str: ...
108
+ @_property
109
+ def body(cls) -> str: ...
110
+ @_property
111
+ def body_subtle(cls) -> str: ...
112
+ @_property
113
+ def caption(cls) -> str: ...
114
+ @_property
115
+ def caption_subtle(cls) -> str: ...
116
+ @_property
117
+ def header(cls) -> str: ...
118
+ @_property
119
+ def header_numeral(cls) -> str: ...
120
+ @_property
121
+ def header_numeral_subtle(cls) -> str: ...
122
+ @_property
123
+ def header_subtle(cls) -> str: ...
124
+ @_property
125
+ def subheader(cls) -> str: ...
126
+ @_property
127
+ def subheader_numeral(cls) -> str: ...
128
+ @_property
129
+ def subheader_numeral_subtle(cls) -> str: ...
130
+ @_property
131
+ def subheader_subtle(cls) -> str: ...
132
+ @_property
133
+ def subtitle(cls) -> str: ...
134
+ @_property
135
+ def subtitle_subtle(cls) -> str: ...
136
+ @_property
137
+ def title(cls) -> str: ...
138
+ @_property
139
+ def title_numeral(cls) -> str: ...
140
+ @_property
141
+ def title_subtle(cls) -> str: ...
142
+
143
+ class KnownAdaptiveNotificationTextStyles(winrt.system.Object, metaclass=KnownAdaptiveNotificationTextStyles_Static):
144
+ @staticmethod
145
+ def _from(obj: winrt.system.Object, /) -> KnownAdaptiveNotificationTextStyles: ...
146
+
147
+ class KnownNotificationBindings_Static(type):
148
+ @_property
149
+ def toast_generic(cls) -> str: ...
150
+
151
+ class KnownNotificationBindings(winrt.system.Object, metaclass=KnownNotificationBindings_Static):
152
+ @staticmethod
153
+ def _from(obj: winrt.system.Object, /) -> KnownNotificationBindings: ...
154
+
155
+ class Notification(winrt.system.Object):
156
+ @staticmethod
157
+ def _from(obj: winrt.system.Object, /) -> Notification: ...
158
+ def __new__(cls: typing.Type[Notification]) -> Notification:...
159
+ @_property
160
+ def visual(self) -> typing.Optional[NotificationVisual]: ...
161
+ @visual.setter
162
+ def visual(self, value: typing.Optional[NotificationVisual]) -> None: ...
163
+ @_property
164
+ def expiration_time(self) -> typing.Optional[typing.Optional[datetime.datetime]]: ...
165
+ @expiration_time.setter
166
+ def expiration_time(self, value: typing.Optional[typing.Optional[datetime.datetime]]) -> None: ...
167
+
168
+ class NotificationBinding(winrt.system.Object):
169
+ @staticmethod
170
+ def _from(obj: winrt.system.Object, /) -> NotificationBinding: ...
171
+ def get_text_elements(self) -> typing.Optional[winrt.windows.foundation.collections.IVectorView[AdaptiveNotificationText]]: ...
172
+ @_property
173
+ def template(self) -> str: ...
174
+ @template.setter
175
+ def template(self, value: str) -> None: ...
176
+ @_property
177
+ def language(self) -> str: ...
178
+ @language.setter
179
+ def language(self, value: str) -> None: ...
180
+ @_property
181
+ def hints(self) -> typing.Optional[winrt.windows.foundation.collections.IMap[str, str]]: ...
182
+
183
+ class NotificationData(winrt.system.Object):
184
+ @staticmethod
185
+ def _from(obj: winrt.system.Object, /) -> NotificationData: ...
186
+ @typing.overload
187
+ def __new__(cls: typing.Type[NotificationData], initial_values: typing.Iterable[winrt.windows.foundation.collections.IKeyValuePair[str, str]], sequence_number: winrt.system.UInt32) -> NotificationData:...
188
+ @typing.overload
189
+ def __new__(cls: typing.Type[NotificationData], initial_values: typing.Iterable[winrt.windows.foundation.collections.IKeyValuePair[str, str]]) -> NotificationData:...
190
+ @typing.overload
191
+ def __new__(cls: typing.Type[NotificationData]) -> NotificationData:...
192
+ @_property
193
+ def sequence_number(self) -> winrt.system.UInt32: ...
194
+ @sequence_number.setter
195
+ def sequence_number(self, value: winrt.system.UInt32) -> None: ...
196
+ @_property
197
+ def values(self) -> typing.Optional[winrt.windows.foundation.collections.IMap[str, str]]: ...
198
+
199
+ class NotificationVisual(winrt.system.Object):
200
+ @staticmethod
201
+ def _from(obj: winrt.system.Object, /) -> NotificationVisual: ...
202
+ def get_binding(self, template_name: str, /) -> typing.Optional[NotificationBinding]: ...
203
+ @_property
204
+ def language(self) -> str: ...
205
+ @language.setter
206
+ def language(self, value: str) -> None: ...
207
+ @_property
208
+ def bindings(self) -> typing.Optional[winrt.windows.foundation.collections.IVector[NotificationBinding]]: ...
209
+
210
+ class ScheduledTileNotification(winrt.system.Object):
211
+ @staticmethod
212
+ def _from(obj: winrt.system.Object, /) -> ScheduledTileNotification: ...
213
+ def __new__(cls: typing.Type[ScheduledTileNotification], content: typing.Optional[winrt.windows.data.xml.dom.XmlDocument], delivery_time: datetime.datetime) -> ScheduledTileNotification:...
214
+ @_property
215
+ def tag(self) -> str: ...
216
+ @tag.setter
217
+ def tag(self, value: str) -> None: ...
218
+ @_property
219
+ def id(self) -> str: ...
220
+ @id.setter
221
+ def id(self, value: str) -> None: ...
222
+ @_property
223
+ def expiration_time(self) -> typing.Optional[typing.Optional[datetime.datetime]]: ...
224
+ @expiration_time.setter
225
+ def expiration_time(self, value: typing.Optional[typing.Optional[datetime.datetime]]) -> None: ...
226
+ @_property
227
+ def content(self) -> typing.Optional[winrt.windows.data.xml.dom.XmlDocument]: ...
228
+ @_property
229
+ def delivery_time(self) -> datetime.datetime: ...
230
+
231
+ class ScheduledToastNotification(winrt.system.Object):
232
+ @staticmethod
233
+ def _from(obj: winrt.system.Object, /) -> ScheduledToastNotification: ...
234
+ @typing.overload
235
+ def __new__(cls: typing.Type[ScheduledToastNotification], content: typing.Optional[winrt.windows.data.xml.dom.XmlDocument], delivery_time: datetime.datetime) -> ScheduledToastNotification:...
236
+ @typing.overload
237
+ def __new__(cls: typing.Type[ScheduledToastNotification], content: typing.Optional[winrt.windows.data.xml.dom.XmlDocument], delivery_time: datetime.datetime, snooze_interval: datetime.timedelta, maximum_snooze_count: winrt.system.UInt32) -> ScheduledToastNotification:...
238
+ @_property
239
+ def id(self) -> str: ...
240
+ @id.setter
241
+ def id(self, value: str) -> None: ...
242
+ @_property
243
+ def content(self) -> typing.Optional[winrt.windows.data.xml.dom.XmlDocument]: ...
244
+ @_property
245
+ def delivery_time(self) -> datetime.datetime: ...
246
+ @_property
247
+ def maximum_snooze_count(self) -> winrt.system.UInt32: ...
248
+ @_property
249
+ def snooze_interval(self) -> typing.Optional[typing.Optional[datetime.timedelta]]: ...
250
+ @_property
251
+ def tag(self) -> str: ...
252
+ @tag.setter
253
+ def tag(self, value: str) -> None: ...
254
+ @_property
255
+ def suppress_popup(self) -> bool: ...
256
+ @suppress_popup.setter
257
+ def suppress_popup(self, value: bool) -> None: ...
258
+ @_property
259
+ def group(self) -> str: ...
260
+ @group.setter
261
+ def group(self, value: str) -> None: ...
262
+ @_property
263
+ def remote_id(self) -> str: ...
264
+ @remote_id.setter
265
+ def remote_id(self, value: str) -> None: ...
266
+ @_property
267
+ def notification_mirroring(self) -> NotificationMirroring: ...
268
+ @notification_mirroring.setter
269
+ def notification_mirroring(self, value: NotificationMirroring) -> None: ...
270
+ @_property
271
+ def expiration_time(self) -> typing.Optional[typing.Optional[datetime.datetime]]: ...
272
+ @expiration_time.setter
273
+ def expiration_time(self, value: typing.Optional[typing.Optional[datetime.datetime]]) -> None: ...
274
+
275
+ class ScheduledToastNotificationShowingEventArgs(winrt.system.Object):
276
+ @staticmethod
277
+ def _from(obj: winrt.system.Object, /) -> ScheduledToastNotificationShowingEventArgs: ...
278
+ def get_deferral(self) -> typing.Optional[winrt.windows.foundation.Deferral]: ...
279
+ @_property
280
+ def cancel(self) -> bool: ...
281
+ @cancel.setter
282
+ def cancel(self, value: bool) -> None: ...
283
+ @_property
284
+ def scheduled_toast_notification(self) -> typing.Optional[ScheduledToastNotification]: ...
285
+
286
+ class ShownTileNotification(winrt.system.Object):
287
+ @staticmethod
288
+ def _from(obj: winrt.system.Object, /) -> ShownTileNotification: ...
289
+ @_property
290
+ def arguments(self) -> str: ...
291
+
292
+ class TileFlyoutNotification(winrt.system.Object):
293
+ @staticmethod
294
+ def _from(obj: winrt.system.Object, /) -> TileFlyoutNotification: ...
295
+ def __new__(cls: typing.Type[TileFlyoutNotification], content: typing.Optional[winrt.windows.data.xml.dom.XmlDocument]) -> TileFlyoutNotification:...
296
+ @_property
297
+ def expiration_time(self) -> typing.Optional[typing.Optional[datetime.datetime]]: ...
298
+ @expiration_time.setter
299
+ def expiration_time(self, value: typing.Optional[typing.Optional[datetime.datetime]]) -> None: ...
300
+ @_property
301
+ def content(self) -> typing.Optional[winrt.windows.data.xml.dom.XmlDocument]: ...
302
+
303
+ class TileFlyoutUpdateManager_Static(type):
304
+ @typing.overload
305
+ def create_tile_flyout_updater_for_application(cls) -> typing.Optional[TileFlyoutUpdater]: ...
306
+ @typing.overload
307
+ def create_tile_flyout_updater_for_application(cls, application_id: str, /) -> typing.Optional[TileFlyoutUpdater]: ...
308
+ def create_tile_flyout_updater_for_secondary_tile(cls, tile_id: str, /) -> typing.Optional[TileFlyoutUpdater]: ...
309
+ def get_template_content(cls, type: TileFlyoutTemplateType, /) -> typing.Optional[winrt.windows.data.xml.dom.XmlDocument]: ...
310
+
311
+ class TileFlyoutUpdateManager(winrt.system.Object, metaclass=TileFlyoutUpdateManager_Static):
312
+ @staticmethod
313
+ def _from(obj: winrt.system.Object, /) -> TileFlyoutUpdateManager: ...
314
+
315
+ class TileFlyoutUpdater(winrt.system.Object):
316
+ @staticmethod
317
+ def _from(obj: winrt.system.Object, /) -> TileFlyoutUpdater: ...
318
+ def clear(self) -> None: ...
319
+ @typing.overload
320
+ def start_periodic_update(self, tile_flyout_content: typing.Optional[winrt.windows.foundation.Uri], requested_interval: PeriodicUpdateRecurrence, /) -> None: ...
321
+ @typing.overload
322
+ def start_periodic_update(self, tile_flyout_content: typing.Optional[winrt.windows.foundation.Uri], start_time: datetime.datetime, requested_interval: PeriodicUpdateRecurrence, /) -> None: ...
323
+ def stop_periodic_update(self) -> None: ...
324
+ def update(self, notification: typing.Optional[TileFlyoutNotification], /) -> None: ...
325
+ @_property
326
+ def setting(self) -> NotificationSetting: ...
327
+
328
+ class TileNotification(winrt.system.Object):
329
+ @staticmethod
330
+ def _from(obj: winrt.system.Object, /) -> TileNotification: ...
331
+ def __new__(cls: typing.Type[TileNotification], content: typing.Optional[winrt.windows.data.xml.dom.XmlDocument]) -> TileNotification:...
332
+ @_property
333
+ def tag(self) -> str: ...
334
+ @tag.setter
335
+ def tag(self, value: str) -> None: ...
336
+ @_property
337
+ def expiration_time(self) -> typing.Optional[typing.Optional[datetime.datetime]]: ...
338
+ @expiration_time.setter
339
+ def expiration_time(self, value: typing.Optional[typing.Optional[datetime.datetime]]) -> None: ...
340
+ @_property
341
+ def content(self) -> typing.Optional[winrt.windows.data.xml.dom.XmlDocument]: ...
342
+
343
+ class TileUpdateManager_Static(type):
344
+ @typing.overload
345
+ def create_tile_updater_for_application(cls) -> typing.Optional[TileUpdater]: ...
346
+ @typing.overload
347
+ def create_tile_updater_for_application(cls, application_id: str, /) -> typing.Optional[TileUpdater]: ...
348
+ def create_tile_updater_for_secondary_tile(cls, tile_id: str, /) -> typing.Optional[TileUpdater]: ...
349
+ def get_for_user(cls, user: typing.Optional[winrt.windows.system.User], /) -> typing.Optional[TileUpdateManagerForUser]: ...
350
+ def get_template_content(cls, type: TileTemplateType, /) -> typing.Optional[winrt.windows.data.xml.dom.XmlDocument]: ...
351
+
352
+ class TileUpdateManager(winrt.system.Object, metaclass=TileUpdateManager_Static):
353
+ @staticmethod
354
+ def _from(obj: winrt.system.Object, /) -> TileUpdateManager: ...
355
+
356
+ class TileUpdateManagerForUser(winrt.system.Object):
357
+ @staticmethod
358
+ def _from(obj: winrt.system.Object, /) -> TileUpdateManagerForUser: ...
359
+ def create_tile_updater_for_application(self, application_id: str, /) -> typing.Optional[TileUpdater]: ...
360
+ def create_tile_updater_for_application_for_user(self) -> typing.Optional[TileUpdater]: ...
361
+ def create_tile_updater_for_secondary_tile(self, tile_id: str, /) -> typing.Optional[TileUpdater]: ...
362
+ @_property
363
+ def user(self) -> typing.Optional[winrt.windows.system.User]: ...
364
+
365
+ class TileUpdater(winrt.system.Object):
366
+ @staticmethod
367
+ def _from(obj: winrt.system.Object, /) -> TileUpdater: ...
368
+ def add_to_schedule(self, scheduled_tile: typing.Optional[ScheduledTileNotification], /) -> None: ...
369
+ def clear(self) -> None: ...
370
+ def enable_notification_queue(self, enable: bool, /) -> None: ...
371
+ def enable_notification_queue_for_square150x150(self, enable: bool, /) -> None: ...
372
+ def enable_notification_queue_for_square310x310(self, enable: bool, /) -> None: ...
373
+ def enable_notification_queue_for_wide310x150(self, enable: bool, /) -> None: ...
374
+ def get_scheduled_tile_notifications(self) -> typing.Optional[winrt.windows.foundation.collections.IVectorView[ScheduledTileNotification]]: ...
375
+ def remove_from_schedule(self, scheduled_tile: typing.Optional[ScheduledTileNotification], /) -> None: ...
376
+ @typing.overload
377
+ def start_periodic_update(self, tile_content: typing.Optional[winrt.windows.foundation.Uri], requested_interval: PeriodicUpdateRecurrence, /) -> None: ...
378
+ @typing.overload
379
+ def start_periodic_update(self, tile_content: typing.Optional[winrt.windows.foundation.Uri], start_time: datetime.datetime, requested_interval: PeriodicUpdateRecurrence, /) -> None: ...
380
+ @typing.overload
381
+ def start_periodic_update_batch(self, tile_contents: typing.Iterable[winrt.windows.foundation.Uri], requested_interval: PeriodicUpdateRecurrence, /) -> None: ...
382
+ @typing.overload
383
+ def start_periodic_update_batch(self, tile_contents: typing.Iterable[winrt.windows.foundation.Uri], start_time: datetime.datetime, requested_interval: PeriodicUpdateRecurrence, /) -> None: ...
384
+ def stop_periodic_update(self) -> None: ...
385
+ def update(self, notification: typing.Optional[TileNotification], /) -> None: ...
386
+ @_property
387
+ def setting(self) -> NotificationSetting: ...
388
+
389
+ class ToastActivatedEventArgs(winrt.system.Object):
390
+ @staticmethod
391
+ def _from(obj: winrt.system.Object, /) -> ToastActivatedEventArgs: ...
392
+ @_property
393
+ def arguments(self) -> str: ...
394
+ @_property
395
+ def user_input(self) -> typing.Optional[winrt.windows.foundation.collections.ValueSet]: ...
396
+
397
+ class ToastCollection(winrt.system.Object):
398
+ @staticmethod
399
+ def _from(obj: winrt.system.Object, /) -> ToastCollection: ...
400
+ def __new__(cls: typing.Type[ToastCollection], collection_id: str, display_name: str, launch_args: str, icon_uri: typing.Optional[winrt.windows.foundation.Uri]) -> ToastCollection:...
401
+ @_property
402
+ def launch_args(self) -> str: ...
403
+ @launch_args.setter
404
+ def launch_args(self, value: str) -> None: ...
405
+ @_property
406
+ def icon(self) -> typing.Optional[winrt.windows.foundation.Uri]: ...
407
+ @icon.setter
408
+ def icon(self, value: typing.Optional[winrt.windows.foundation.Uri]) -> None: ...
409
+ @_property
410
+ def display_name(self) -> str: ...
411
+ @display_name.setter
412
+ def display_name(self, value: str) -> None: ...
413
+ @_property
414
+ def id(self) -> str: ...
415
+
416
+ class ToastCollectionManager(winrt.system.Object):
417
+ @staticmethod
418
+ def _from(obj: winrt.system.Object, /) -> ToastCollectionManager: ...
419
+ def find_all_toast_collections_async(self) -> winrt.windows.foundation.IAsyncOperation[winrt.windows.foundation.collections.IVectorView[ToastCollection]]: ...
420
+ def get_toast_collection_async(self, collection_id: str, /) -> winrt.windows.foundation.IAsyncOperation[ToastCollection]: ...
421
+ def remove_all_toast_collections_async(self) -> winrt.windows.foundation.IAsyncAction: ...
422
+ def remove_toast_collection_async(self, collection_id: str, /) -> winrt.windows.foundation.IAsyncAction: ...
423
+ def save_toast_collection_async(self, collection: typing.Optional[ToastCollection], /) -> winrt.windows.foundation.IAsyncAction: ...
424
+ @_property
425
+ def app_id(self) -> str: ...
426
+ @_property
427
+ def user(self) -> typing.Optional[winrt.windows.system.User]: ...
428
+
429
+ class ToastDismissedEventArgs(winrt.system.Object):
430
+ @staticmethod
431
+ def _from(obj: winrt.system.Object, /) -> ToastDismissedEventArgs: ...
432
+ @_property
433
+ def reason(self) -> ToastDismissalReason: ...
434
+
435
+ class ToastFailedEventArgs(winrt.system.Object):
436
+ @staticmethod
437
+ def _from(obj: winrt.system.Object, /) -> ToastFailedEventArgs: ...
438
+ @_property
439
+ def error_code(self) -> winrt.windows.foundation.HResult: ...
440
+
441
+ class ToastNotification(winrt.system.Object):
442
+ @staticmethod
443
+ def _from(obj: winrt.system.Object, /) -> ToastNotification: ...
444
+ def __new__(cls: typing.Type[ToastNotification], content: typing.Optional[winrt.windows.data.xml.dom.XmlDocument]) -> ToastNotification:...
445
+ def add_activated(self, handler: winrt.windows.foundation.TypedEventHandler[ToastNotification, winrt.system.Object], /) -> winrt.windows.foundation.EventRegistrationToken: ...
446
+ def remove_activated(self, token: winrt.windows.foundation.EventRegistrationToken, /) -> None: ...
447
+ def add_dismissed(self, handler: winrt.windows.foundation.TypedEventHandler[ToastNotification, ToastDismissedEventArgs], /) -> winrt.windows.foundation.EventRegistrationToken: ...
448
+ def remove_dismissed(self, token: winrt.windows.foundation.EventRegistrationToken, /) -> None: ...
449
+ def add_failed(self, handler: winrt.windows.foundation.TypedEventHandler[ToastNotification, ToastFailedEventArgs], /) -> winrt.windows.foundation.EventRegistrationToken: ...
450
+ def remove_failed(self, token: winrt.windows.foundation.EventRegistrationToken, /) -> None: ...
451
+ @_property
452
+ def expiration_time(self) -> typing.Optional[typing.Optional[datetime.datetime]]: ...
453
+ @expiration_time.setter
454
+ def expiration_time(self, value: typing.Optional[typing.Optional[datetime.datetime]]) -> None: ...
455
+ @_property
456
+ def content(self) -> typing.Optional[winrt.windows.data.xml.dom.XmlDocument]: ...
457
+ @_property
458
+ def tag(self) -> str: ...
459
+ @tag.setter
460
+ def tag(self, value: str) -> None: ...
461
+ @_property
462
+ def suppress_popup(self) -> bool: ...
463
+ @suppress_popup.setter
464
+ def suppress_popup(self, value: bool) -> None: ...
465
+ @_property
466
+ def group(self) -> str: ...
467
+ @group.setter
468
+ def group(self, value: str) -> None: ...
469
+ @_property
470
+ def remote_id(self) -> str: ...
471
+ @remote_id.setter
472
+ def remote_id(self, value: str) -> None: ...
473
+ @_property
474
+ def notification_mirroring(self) -> NotificationMirroring: ...
475
+ @notification_mirroring.setter
476
+ def notification_mirroring(self, value: NotificationMirroring) -> None: ...
477
+ @_property
478
+ def priority(self) -> ToastNotificationPriority: ...
479
+ @priority.setter
480
+ def priority(self, value: ToastNotificationPriority) -> None: ...
481
+ @_property
482
+ def data(self) -> typing.Optional[NotificationData]: ...
483
+ @data.setter
484
+ def data(self, value: typing.Optional[NotificationData]) -> None: ...
485
+ @_property
486
+ def expires_on_reboot(self) -> bool: ...
487
+ @expires_on_reboot.setter
488
+ def expires_on_reboot(self, value: bool) -> None: ...
489
+
490
+ class ToastNotificationActionTriggerDetail(winrt.system.Object):
491
+ @staticmethod
492
+ def _from(obj: winrt.system.Object, /) -> ToastNotificationActionTriggerDetail: ...
493
+ @_property
494
+ def argument(self) -> str: ...
495
+ @_property
496
+ def user_input(self) -> typing.Optional[winrt.windows.foundation.collections.ValueSet]: ...
497
+
498
+ class ToastNotificationHistory(winrt.system.Object):
499
+ @staticmethod
500
+ def _from(obj: winrt.system.Object, /) -> ToastNotificationHistory: ...
501
+ @typing.overload
502
+ def clear(self) -> None: ...
503
+ @typing.overload
504
+ def clear(self, application_id: str, /) -> None: ...
505
+ @typing.overload
506
+ def get_history(self) -> typing.Optional[winrt.windows.foundation.collections.IVectorView[ToastNotification]]: ...
507
+ @typing.overload
508
+ def get_history(self, application_id: str, /) -> typing.Optional[winrt.windows.foundation.collections.IVectorView[ToastNotification]]: ...
509
+ @typing.overload
510
+ def remove(self, tag: str, /) -> None: ...
511
+ @typing.overload
512
+ def remove(self, tag: str, group: str, /) -> None: ...
513
+ @typing.overload
514
+ def remove(self, tag: str, group: str, application_id: str, /) -> None: ...
515
+ @typing.overload
516
+ def remove_group(self, group: str, /) -> None: ...
517
+ @typing.overload
518
+ def remove_group(self, group: str, application_id: str, /) -> None: ...
519
+
520
+ class ToastNotificationHistoryChangedTriggerDetail(winrt.system.Object):
521
+ @staticmethod
522
+ def _from(obj: winrt.system.Object, /) -> ToastNotificationHistoryChangedTriggerDetail: ...
523
+ @_property
524
+ def change_type(self) -> ToastHistoryChangedType: ...
525
+ @_property
526
+ def collection_id(self) -> str: ...
527
+
528
+ class ToastNotificationManager_Static(type):
529
+ def configure_notification_mirroring(cls, value: NotificationMirroring, /) -> None: ...
530
+ @typing.overload
531
+ def create_toast_notifier(cls) -> typing.Optional[ToastNotifier]: ...
532
+ @typing.overload
533
+ def create_toast_notifier(cls, application_id: str, /) -> typing.Optional[ToastNotifier]: ...
534
+ def get_default(cls) -> typing.Optional[ToastNotificationManagerForUser]: ...
535
+ def get_for_user(cls, user: typing.Optional[winrt.windows.system.User], /) -> typing.Optional[ToastNotificationManagerForUser]: ...
536
+ def get_template_content(cls, type: ToastTemplateType, /) -> typing.Optional[winrt.windows.data.xml.dom.XmlDocument]: ...
537
+ @_property
538
+ def history(cls) -> typing.Optional[ToastNotificationHistory]: ...
539
+
540
+ class ToastNotificationManager(winrt.system.Object, metaclass=ToastNotificationManager_Static):
541
+ @staticmethod
542
+ def _from(obj: winrt.system.Object, /) -> ToastNotificationManager: ...
543
+
544
+ class ToastNotificationManagerForUser(winrt.system.Object):
545
+ @staticmethod
546
+ def _from(obj: winrt.system.Object, /) -> ToastNotificationManagerForUser: ...
547
+ @typing.overload
548
+ def create_toast_notifier(self) -> typing.Optional[ToastNotifier]: ...
549
+ @typing.overload
550
+ def create_toast_notifier(self, application_id: str, /) -> typing.Optional[ToastNotifier]: ...
551
+ def get_history_for_toast_collection_id_async(self, collection_id: str, /) -> winrt.windows.foundation.IAsyncOperation[ToastNotificationHistory]: ...
552
+ @typing.overload
553
+ def get_toast_collection_manager(self) -> typing.Optional[ToastCollectionManager]: ...
554
+ @typing.overload
555
+ def get_toast_collection_manager(self, app_id: str, /) -> typing.Optional[ToastCollectionManager]: ...
556
+ def get_toast_notifier_for_toast_collection_id_async(self, collection_id: str, /) -> winrt.windows.foundation.IAsyncOperation[ToastNotifier]: ...
557
+ def add_notification_mode_changed(self, handler: winrt.windows.foundation.TypedEventHandler[ToastNotificationManagerForUser, winrt.system.Object], /) -> winrt.windows.foundation.EventRegistrationToken: ...
558
+ def remove_notification_mode_changed(self, token: winrt.windows.foundation.EventRegistrationToken, /) -> None: ...
559
+ @_property
560
+ def history(self) -> typing.Optional[ToastNotificationHistory]: ...
561
+ @_property
562
+ def user(self) -> typing.Optional[winrt.windows.system.User]: ...
563
+ @_property
564
+ def notification_mode(self) -> ToastNotificationMode: ...
565
+
566
+ class ToastNotifier(winrt.system.Object):
567
+ @staticmethod
568
+ def _from(obj: winrt.system.Object, /) -> ToastNotifier: ...
569
+ def add_to_schedule(self, scheduled_toast: typing.Optional[ScheduledToastNotification], /) -> None: ...
570
+ def get_scheduled_toast_notifications(self) -> typing.Optional[winrt.windows.foundation.collections.IVectorView[ScheduledToastNotification]]: ...
571
+ def hide(self, notification: typing.Optional[ToastNotification], /) -> None: ...
572
+ def remove_from_schedule(self, scheduled_toast: typing.Optional[ScheduledToastNotification], /) -> None: ...
573
+ def show(self, notification: typing.Optional[ToastNotification], /) -> None: ...
574
+ @typing.overload
575
+ def update(self, data: typing.Optional[NotificationData], tag: str, /) -> NotificationUpdateResult: ...
576
+ @typing.overload
577
+ def update(self, data: typing.Optional[NotificationData], tag: str, group: str, /) -> NotificationUpdateResult: ...
578
+ def add_scheduled_toast_notification_showing(self, handler: winrt.windows.foundation.TypedEventHandler[ToastNotifier, ScheduledToastNotificationShowingEventArgs], /) -> winrt.windows.foundation.EventRegistrationToken: ...
579
+ def remove_scheduled_toast_notification_showing(self, token: winrt.windows.foundation.EventRegistrationToken, /) -> None: ...
580
+ @_property
581
+ def setting(self) -> NotificationSetting: ...
582
+
583
+ class UserNotification(winrt.system.Object):
584
+ @staticmethod
585
+ def _from(obj: winrt.system.Object, /) -> UserNotification: ...
586
+ @_property
587
+ def app_info(self) -> typing.Optional[winrt.windows.applicationmodel.AppInfo]: ...
588
+ @_property
589
+ def creation_time(self) -> datetime.datetime: ...
590
+ @_property
591
+ def id(self) -> winrt.system.UInt32: ...
592
+ @_property
593
+ def notification(self) -> typing.Optional[Notification]: ...
594
+
595
+ class UserNotificationChangedEventArgs(winrt.system.Object):
596
+ @staticmethod
597
+ def _from(obj: winrt.system.Object, /) -> UserNotificationChangedEventArgs: ...
598
+ @_property
599
+ def change_kind(self) -> UserNotificationChangedKind: ...
600
+ @_property
601
+ def user_notification_id(self) -> winrt.system.UInt32: ...
602
+
603
+ class IAdaptiveNotificationContent(winrt.system.Object):
604
+ @staticmethod
605
+ def _from(obj: winrt.system.Object, /) -> IAdaptiveNotificationContent: ...
606
+ @_property
607
+ def hints(self) -> typing.Optional[winrt.windows.foundation.collections.IMap[str, str]]: ...
608
+ @_property
609
+ def kind(self) -> AdaptiveNotificationContentKind: ...
610
+
@@ -0,0 +1,300 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.0-beta.1
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 = 0
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
@@ -0,0 +1,28 @@
1
+ Metadata-Version: 2.1
2
+ Name: winrt-Windows.UI.Notifications
3
+ Version: 2.0.0b1
4
+ Summary: Python projection of Windows Runtime (WinRT) APIs
5
+ License: MIT
6
+ Project-URL: Repository, https://github.com/pywrint/pywrinrt
7
+ Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md
8
+ Classifier: Operating System :: Microsoft :: Windows
9
+ Classifier: Programming Language :: Python :: 3
10
+ Classifier: Programming Language :: Python :: Implementation :: CPython
11
+ Classifier: Intended Audience :: Developers
12
+ Requires-Python: <3.13,>=3.9
13
+ Description-Content-Type: text/markdown
14
+ Requires-Dist: winrt-runtime ==2.0.0-beta.1
15
+ Provides-Extra: all
16
+ Requires-Dist: winrt-Windows.ApplicationModel[all] ==2.0.0-beta.1 ; extra == 'all'
17
+ Requires-Dist: winrt-Windows.Data.Xml.Dom[all] ==2.0.0-beta.1 ; extra == 'all'
18
+ Requires-Dist: winrt-Windows.Foundation[all] ==2.0.0-beta.1 ; extra == 'all'
19
+ Requires-Dist: winrt-Windows.Foundation.Collections[all] ==2.0.0-beta.1 ; extra == 'all'
20
+ Requires-Dist: winrt-Windows.System[all] ==2.0.0-beta.1 ; extra == 'all'
21
+
22
+ <!-- warning: Please don't edit this file. It was automatically generated. -->
23
+
24
+ # winrt-Windows.UI.Notifications
25
+
26
+ Windows Runtime (WinRT) APIs for for the `Windows.UI.Notifications` namespace.
27
+
28
+ This package provides the `winrt.windows.ui.notifications` module.
@@ -0,0 +1,7 @@
1
+ winrt/_winrt_windows_ui_notifications.cp310-win_amd64.pyd,sha256=8HHiN7z8MsErL62af_op__dckoEn5UKKkWiLKWZff2s,619008
2
+ winrt/_winrt_windows_ui_notifications.pyi,sha256=wrOdz1vRY5ntVz5gYWBvBus3mEeakFOuGP0sGJfjhAg,30398
3
+ winrt/windows/ui/notifications/__init__.py,sha256=yByZVQtDdY51AaM6rdNp-NpeYznC58qe3bbuxIgWJe8,11401
4
+ winrt_Windows.UI.Notifications-2.0.0b1.dist-info/METADATA,sha256=tPptO-rlHimaqfUAfHORatVO_1Yc2I4Wun-YNUVmpIs,1332
5
+ winrt_Windows.UI.Notifications-2.0.0b1.dist-info/WHEEL,sha256=Wb1el1iP4ORW7FiLElw7HfxLpDiHzwvd2B382b2Idl0,102
6
+ winrt_Windows.UI.Notifications-2.0.0b1.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
7
+ winrt_Windows.UI.Notifications-2.0.0b1.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: bdist_wheel (0.41.1)
3
+ Root-Is-Purelib: false
4
+ Tag: cp310-cp310-win_amd64
5
+