winrt-Windows.Networking.PushNotifications 2.2.0__cp313-cp313-win_arm64.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,102 @@
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.foundation as windows_foundation
13
+ import winrt.windows.foundation.collections as windows_foundation_collections
14
+ import winrt.windows.storage.streams as windows_storage_streams
15
+ import winrt.windows.system as windows_system
16
+ import winrt.windows.ui.notifications as windows_ui_notifications
17
+
18
+ from winrt.windows.networking.pushnotifications import PushNotificationType
19
+
20
+ Self = typing.TypeVar('Self')
21
+
22
+ @typing.final
23
+ class PushNotificationChannel(winrt.system.Object):
24
+ @staticmethod
25
+ def _from(obj: winrt.system.Object, /) -> PushNotificationChannel: ...
26
+ def close(self) -> None: ...
27
+ def add_push_notification_received(self, handler: windows_foundation.TypedEventHandler[PushNotificationChannel, PushNotificationReceivedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
28
+ def remove_push_notification_received(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
29
+ @_property
30
+ def expiration_time(self) -> datetime.datetime: ...
31
+ @_property
32
+ def uri(self) -> str: ...
33
+
34
+ @typing.final
35
+ class PushNotificationChannelManager_Static(type):
36
+ @typing.overload
37
+ def create_push_notification_channel_for_application_async(cls) -> windows_foundation.IAsyncOperation[PushNotificationChannel]: ...
38
+ @typing.overload
39
+ def create_push_notification_channel_for_application_async(cls, application_id: str, /) -> windows_foundation.IAsyncOperation[PushNotificationChannel]: ...
40
+ def create_push_notification_channel_for_secondary_tile_async(cls, tile_id: str, /) -> windows_foundation.IAsyncOperation[PushNotificationChannel]: ...
41
+ def get_default(cls) -> typing.Optional[PushNotificationChannelManagerForUser]: ...
42
+ def get_for_user(cls, user: typing.Optional[windows_system.User], /) -> typing.Optional[PushNotificationChannelManagerForUser]: ...
43
+ def add_channels_revoked(cls, handler: windows_foundation.EventHandler[PushNotificationChannelsRevokedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
44
+ def remove_channels_revoked(cls, token: windows_foundation.EventRegistrationToken, /) -> None: ...
45
+
46
+ @typing.final
47
+ class PushNotificationChannelManager(winrt.system.Object, metaclass=PushNotificationChannelManager_Static):
48
+ pass
49
+
50
+ @typing.final
51
+ class PushNotificationChannelManagerForUser(winrt.system.Object):
52
+ @staticmethod
53
+ def _from(obj: winrt.system.Object, /) -> PushNotificationChannelManagerForUser: ...
54
+ @typing.overload
55
+ def create_push_notification_channel_for_application_async(self) -> windows_foundation.IAsyncOperation[PushNotificationChannel]: ...
56
+ @typing.overload
57
+ def create_push_notification_channel_for_application_async(self, application_id: str, /) -> windows_foundation.IAsyncOperation[PushNotificationChannel]: ...
58
+ def create_push_notification_channel_for_secondary_tile_async(self, tile_id: str, /) -> windows_foundation.IAsyncOperation[PushNotificationChannel]: ...
59
+ @typing.overload
60
+ def create_raw_push_notification_channel_with_alternate_key_for_application_async(self, app_server_key: typing.Optional[windows_storage_streams.IBuffer], channel_id: str, /) -> windows_foundation.IAsyncOperation[PushNotificationChannel]: ...
61
+ @typing.overload
62
+ def create_raw_push_notification_channel_with_alternate_key_for_application_async(self, app_server_key: typing.Optional[windows_storage_streams.IBuffer], channel_id: str, app_id: str, /) -> windows_foundation.IAsyncOperation[PushNotificationChannel]: ...
63
+ @_property
64
+ def user(self) -> typing.Optional[windows_system.User]: ...
65
+
66
+ @typing.final
67
+ class PushNotificationChannelsRevokedEventArgs(winrt.system.Object):
68
+ @staticmethod
69
+ def _from(obj: winrt.system.Object, /) -> PushNotificationChannelsRevokedEventArgs: ...
70
+
71
+ @typing.final
72
+ class PushNotificationReceivedEventArgs(winrt.system.Object):
73
+ @staticmethod
74
+ def _from(obj: winrt.system.Object, /) -> PushNotificationReceivedEventArgs: ...
75
+ @_property
76
+ def cancel(self) -> bool: ...
77
+ @cancel.setter
78
+ def cancel(self, value: bool) -> None: ...
79
+ @_property
80
+ def badge_notification(self) -> typing.Optional[windows_ui_notifications.BadgeNotification]: ...
81
+ @_property
82
+ def notification_type(self) -> PushNotificationType: ...
83
+ @_property
84
+ def raw_notification(self) -> typing.Optional[RawNotification]: ...
85
+ @_property
86
+ def tile_notification(self) -> typing.Optional[windows_ui_notifications.TileNotification]: ...
87
+ @_property
88
+ def toast_notification(self) -> typing.Optional[windows_ui_notifications.ToastNotification]: ...
89
+
90
+ @typing.final
91
+ class RawNotification(winrt.system.Object):
92
+ @staticmethod
93
+ def _from(obj: winrt.system.Object, /) -> RawNotification: ...
94
+ @_property
95
+ def content(self) -> str: ...
96
+ @_property
97
+ def channel_id(self) -> str: ...
98
+ @_property
99
+ def headers(self) -> typing.Optional[windows_foundation_collections.IMapView[str, str]]: ...
100
+ @_property
101
+ def content_bytes(self) -> typing.Optional[windows_storage_streams.IBuffer]: ...
102
+
@@ -0,0 +1,30 @@
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_networking_pushnotifications
7
+
8
+ __all__ = [
9
+ "PushNotificationType",
10
+ "PushNotificationChannel",
11
+ "PushNotificationChannelManager",
12
+ "PushNotificationChannelManagerForUser",
13
+ "PushNotificationChannelsRevokedEventArgs",
14
+ "PushNotificationReceivedEventArgs",
15
+ "RawNotification",
16
+ ]
17
+
18
+ class PushNotificationType(enum.IntEnum):
19
+ TOAST = 0
20
+ TILE = 1
21
+ BADGE = 2
22
+ RAW = 3
23
+ TILE_FLYOUT = 4
24
+
25
+ PushNotificationChannel = _winrt_windows_networking_pushnotifications.PushNotificationChannel
26
+ PushNotificationChannelManager = _winrt_windows_networking_pushnotifications.PushNotificationChannelManager
27
+ PushNotificationChannelManagerForUser = _winrt_windows_networking_pushnotifications.PushNotificationChannelManagerForUser
28
+ PushNotificationChannelsRevokedEventArgs = _winrt_windows_networking_pushnotifications.PushNotificationChannelsRevokedEventArgs
29
+ PushNotificationReceivedEventArgs = _winrt_windows_networking_pushnotifications.PushNotificationReceivedEventArgs
30
+ RawNotification = _winrt_windows_networking_pushnotifications.RawNotification
File without changes
@@ -0,0 +1,29 @@
1
+ Metadata-Version: 2.1
2
+ Name: winrt-Windows.Networking.PushNotifications
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.Foundation[all] ==2.2.0 ; extra == 'all'
18
+ Requires-Dist: winrt-Windows.Foundation.Collections[all] ==2.2.0 ; extra == 'all'
19
+ Requires-Dist: winrt-Windows.Storage.Streams[all] ==2.2.0 ; extra == 'all'
20
+ Requires-Dist: winrt-Windows.System[all] ==2.2.0 ; extra == 'all'
21
+ Requires-Dist: winrt-Windows.UI.Notifications[all] ==2.2.0 ; extra == 'all'
22
+
23
+ <!-- warning: Please don't edit this file. It was automatically generated. -->
24
+
25
+ # winrt-Windows.Networking.PushNotifications
26
+
27
+ Windows Runtime (WinRT) APIs for for the `Windows.Networking.PushNotifications` namespace.
28
+
29
+ This package provides the `winrt.windows.networking.pushnotifications` module.
@@ -0,0 +1,8 @@
1
+ winrt/_winrt_windows_networking_pushnotifications.cp313-win_arm64.pyd,sha256=oM-MJ7bynv31rgcXLBgpVmcudaNZ5b6NynNcafVSzEM,129024
2
+ winrt/_winrt_windows_networking_pushnotifications.pyi,sha256=OYc1jcWcNqbE1vqIt3sUffZghQH22kOu6rjNCT3Lp6g,5241
3
+ winrt/windows/networking/pushnotifications/__init__.py,sha256=T0U5gRjClPEdnY57tEHJwLGjhE-mL3wf7a2u4qrmxsc,1206
4
+ winrt/windows/networking/pushnotifications/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
+ winrt_Windows.Networking.PushNotifications-2.2.0.dist-info/METADATA,sha256=wvfPJ6shoceJgPBel5hUQyl-f4OcMJbCm0jlFRi-kv8,1398
6
+ winrt_Windows.Networking.PushNotifications-2.2.0.dist-info/WHEEL,sha256=Bc3zGnBzvnkuBaMd-KCqScACPFmA-93PSEDjeXqCzu8,101
7
+ winrt_Windows.Networking.PushNotifications-2.2.0.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
8
+ winrt_Windows.Networking.PushNotifications-2.2.0.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (73.0.0)
3
+ Root-Is-Purelib: false
4
+ Tag: cp313-cp313-win_arm64
5
+