winrt-Windows.Networking.PushNotifications 2.0.0b1__cp39-cp39-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,96 @@
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.foundation
13
+ import winrt.windows.foundation.collections
14
+ import winrt.windows.storage.streams
15
+ import winrt.windows.system
16
+ import winrt.windows.ui.notifications
17
+
18
+ from winrt.windows.networking.pushnotifications import PushNotificationType
19
+
20
+ Self = typing.TypeVar('Self')
21
+
22
+ class PushNotificationChannel(winrt.system.Object):
23
+ @staticmethod
24
+ def _from(obj: winrt.system.Object, /) -> PushNotificationChannel: ...
25
+ def close(self) -> None: ...
26
+ def add_push_notification_received(self, handler: winrt.windows.foundation.TypedEventHandler[PushNotificationChannel, PushNotificationReceivedEventArgs], /) -> winrt.windows.foundation.EventRegistrationToken: ...
27
+ def remove_push_notification_received(self, token: winrt.windows.foundation.EventRegistrationToken, /) -> None: ...
28
+ @_property
29
+ def expiration_time(self) -> datetime.datetime: ...
30
+ @_property
31
+ def uri(self) -> str: ...
32
+
33
+ class PushNotificationChannelManager_Static(type):
34
+ @typing.overload
35
+ def create_push_notification_channel_for_application_async(cls) -> winrt.windows.foundation.IAsyncOperation[PushNotificationChannel]: ...
36
+ @typing.overload
37
+ def create_push_notification_channel_for_application_async(cls, application_id: str, /) -> winrt.windows.foundation.IAsyncOperation[PushNotificationChannel]: ...
38
+ def create_push_notification_channel_for_secondary_tile_async(cls, tile_id: str, /) -> winrt.windows.foundation.IAsyncOperation[PushNotificationChannel]: ...
39
+ def get_default(cls) -> typing.Optional[PushNotificationChannelManagerForUser]: ...
40
+ def get_for_user(cls, user: typing.Optional[winrt.windows.system.User], /) -> typing.Optional[PushNotificationChannelManagerForUser]: ...
41
+ def add_channels_revoked(cls, handler: winrt.windows.foundation.EventHandler[PushNotificationChannelsRevokedEventArgs], /) -> winrt.windows.foundation.EventRegistrationToken: ...
42
+ def remove_channels_revoked(cls, token: winrt.windows.foundation.EventRegistrationToken, /) -> None: ...
43
+
44
+ class PushNotificationChannelManager(winrt.system.Object, metaclass=PushNotificationChannelManager_Static):
45
+ @staticmethod
46
+ def _from(obj: winrt.system.Object, /) -> PushNotificationChannelManager: ...
47
+
48
+ class PushNotificationChannelManagerForUser(winrt.system.Object):
49
+ @staticmethod
50
+ def _from(obj: winrt.system.Object, /) -> PushNotificationChannelManagerForUser: ...
51
+ @typing.overload
52
+ def create_push_notification_channel_for_application_async(self) -> winrt.windows.foundation.IAsyncOperation[PushNotificationChannel]: ...
53
+ @typing.overload
54
+ def create_push_notification_channel_for_application_async(self, application_id: str, /) -> winrt.windows.foundation.IAsyncOperation[PushNotificationChannel]: ...
55
+ def create_push_notification_channel_for_secondary_tile_async(self, tile_id: str, /) -> winrt.windows.foundation.IAsyncOperation[PushNotificationChannel]: ...
56
+ @typing.overload
57
+ def create_raw_push_notification_channel_with_alternate_key_for_application_async(self, app_server_key: typing.Optional[winrt.windows.storage.streams.IBuffer], channel_id: str, /) -> winrt.windows.foundation.IAsyncOperation[PushNotificationChannel]: ...
58
+ @typing.overload
59
+ def create_raw_push_notification_channel_with_alternate_key_for_application_async(self, app_server_key: typing.Optional[winrt.windows.storage.streams.IBuffer], channel_id: str, app_id: str, /) -> winrt.windows.foundation.IAsyncOperation[PushNotificationChannel]: ...
60
+ @_property
61
+ def user(self) -> typing.Optional[winrt.windows.system.User]: ...
62
+
63
+ class PushNotificationChannelsRevokedEventArgs(winrt.system.Object):
64
+ @staticmethod
65
+ def _from(obj: winrt.system.Object, /) -> PushNotificationChannelsRevokedEventArgs: ...
66
+
67
+ class PushNotificationReceivedEventArgs(winrt.system.Object):
68
+ @staticmethod
69
+ def _from(obj: winrt.system.Object, /) -> PushNotificationReceivedEventArgs: ...
70
+ @_property
71
+ def cancel(self) -> bool: ...
72
+ @cancel.setter
73
+ def cancel(self, value: bool) -> None: ...
74
+ @_property
75
+ def badge_notification(self) -> typing.Optional[winrt.windows.ui.notifications.BadgeNotification]: ...
76
+ @_property
77
+ def notification_type(self) -> PushNotificationType: ...
78
+ @_property
79
+ def raw_notification(self) -> typing.Optional[RawNotification]: ...
80
+ @_property
81
+ def tile_notification(self) -> typing.Optional[winrt.windows.ui.notifications.TileNotification]: ...
82
+ @_property
83
+ def toast_notification(self) -> typing.Optional[winrt.windows.ui.notifications.ToastNotification]: ...
84
+
85
+ class RawNotification(winrt.system.Object):
86
+ @staticmethod
87
+ def _from(obj: winrt.system.Object, /) -> RawNotification: ...
88
+ @_property
89
+ def content(self) -> str: ...
90
+ @_property
91
+ def channel_id(self) -> str: ...
92
+ @_property
93
+ def headers(self) -> typing.Optional[winrt.windows.foundation.collections.IMapView[str, str]]: ...
94
+ @_property
95
+ def content_bytes(self) -> typing.Optional[winrt.windows.storage.streams.IBuffer]: ...
96
+
@@ -0,0 +1,30 @@
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_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
@@ -0,0 +1,28 @@
1
+ Metadata-Version: 2.1
2
+ Name: winrt-Windows.Networking.PushNotifications
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.Foundation[all] ==2.0.0-beta.1 ; extra == 'all'
17
+ Requires-Dist: winrt-Windows.Foundation.Collections[all] ==2.0.0-beta.1 ; extra == 'all'
18
+ Requires-Dist: winrt-Windows.Storage.Streams[all] ==2.0.0-beta.1 ; extra == 'all'
19
+ Requires-Dist: winrt-Windows.System[all] ==2.0.0-beta.1 ; extra == 'all'
20
+ Requires-Dist: winrt-Windows.UI.Notifications[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.Networking.PushNotifications
25
+
26
+ Windows Runtime (WinRT) APIs for for the `Windows.Networking.PushNotifications` namespace.
27
+
28
+ This package provides the `winrt.windows.networking.pushnotifications` module.
@@ -0,0 +1,7 @@
1
+ winrt/_winrt_windows_networking_pushnotifications.cp39-win_arm64.pyd,sha256=XxXvmBMYptu7wRoLLr-WD6kpKBob0B9vZOqRiIHfKUk,150528
2
+ winrt/_winrt_windows_networking_pushnotifications.pyi,sha256=wV9HeOPit4D_POFlyDx2Hhu3fQHI2CekNslt90Frzxk,5250
3
+ winrt/windows/networking/pushnotifications/__init__.py,sha256=xKyQm2KDkrwYEF7rE9hx3ODZLJp9brsKmkorSYqoClk,1213
4
+ winrt_Windows.Networking.PushNotifications-2.0.0b1.dist-info/METADATA,sha256=hOUbGvd1m1IB4HJtbv8MtzF0BslGPTpxnqqtL9CCBnU,1383
5
+ winrt_Windows.Networking.PushNotifications-2.0.0b1.dist-info/WHEEL,sha256=PrHTG687fNsk7jS4Y-tLXN-3gpnf3wReNnzEPkeWHK0,100
6
+ winrt_Windows.Networking.PushNotifications-2.0.0b1.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
7
+ winrt_Windows.Networking.PushNotifications-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: cp39-cp39-win_arm64
5
+