winrt-Windows.Networking.PushNotifications 3.2.1__cp314-cp314-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,116 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v3.2.1
2
+
3
+ import datetime
4
+ import sys
5
+ import types
6
+ import typing
7
+ import uuid as _uuid
8
+ from builtins import property as _property
9
+
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
+ # System.Void Windows.Networking.PushNotifications.PushNotificationChannel::Close()
25
+ def close(self) -> None: ...
26
+ # Windows.Foundation.EventRegistrationToken Windows.Networking.PushNotifications.PushNotificationChannel::add_PushNotificationReceived(Windows.Foundation.TypedEventHandler`2<Windows.Networking.PushNotifications.PushNotificationChannel,Windows.Networking.PushNotifications.PushNotificationReceivedEventArgs>)
27
+ def add_push_notification_received(self, handler: windows_foundation.TypedEventHandler[PushNotificationChannel, PushNotificationReceivedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
28
+ # System.Void Windows.Networking.PushNotifications.PushNotificationChannel::remove_PushNotificationReceived(Windows.Foundation.EventRegistrationToken)
29
+ def remove_push_notification_received(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
30
+ # Windows.Foundation.DateTime Windows.Networking.PushNotifications.PushNotificationChannel::get_ExpirationTime()
31
+ @_property
32
+ def expiration_time(self) -> datetime.datetime: ...
33
+ # System.String Windows.Networking.PushNotifications.PushNotificationChannel::get_Uri()
34
+ @_property
35
+ def uri(self) -> str: ...
36
+
37
+ @typing.final
38
+ class PushNotificationChannelManager_Static(winrt._winrt.IInspectable_Static):
39
+ # Windows.Foundation.IAsyncOperation`1<Windows.Networking.PushNotifications.PushNotificationChannel> Windows.Networking.PushNotifications.PushNotificationChannelManager::CreatePushNotificationChannelForApplicationAsync()
40
+ def create_push_notification_channel_for_application_async(cls) -> windows_foundation.IAsyncOperation[PushNotificationChannel]: ...
41
+ # Windows.Foundation.IAsyncOperation`1<Windows.Networking.PushNotifications.PushNotificationChannel> Windows.Networking.PushNotifications.PushNotificationChannelManager::CreatePushNotificationChannelForApplicationAsync(System.String)
42
+ def create_push_notification_channel_for_application_async_with_id(cls, application_id: str, /) -> windows_foundation.IAsyncOperation[PushNotificationChannel]: ...
43
+ # Windows.Foundation.IAsyncOperation`1<Windows.Networking.PushNotifications.PushNotificationChannel> Windows.Networking.PushNotifications.PushNotificationChannelManager::CreatePushNotificationChannelForSecondaryTileAsync(System.String)
44
+ def create_push_notification_channel_for_secondary_tile_async(cls, tile_id: str, /) -> windows_foundation.IAsyncOperation[PushNotificationChannel]: ...
45
+ # Windows.Networking.PushNotifications.PushNotificationChannelManagerForUser Windows.Networking.PushNotifications.PushNotificationChannelManager::GetDefault()
46
+ def get_default(cls) -> PushNotificationChannelManagerForUser: ...
47
+ # Windows.Networking.PushNotifications.PushNotificationChannelManagerForUser Windows.Networking.PushNotifications.PushNotificationChannelManager::GetForUser(Windows.System.User)
48
+ def get_for_user(cls, user: windows_system.User, /) -> PushNotificationChannelManagerForUser: ...
49
+ # Windows.Foundation.EventRegistrationToken Windows.Networking.PushNotifications.PushNotificationChannelManager::add_ChannelsRevoked(Windows.Foundation.EventHandler`1<Windows.Networking.PushNotifications.PushNotificationChannelsRevokedEventArgs>)
50
+ def add_channels_revoked(cls, handler: windows_foundation.EventHandler[PushNotificationChannelsRevokedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
51
+ # System.Void Windows.Networking.PushNotifications.PushNotificationChannelManager::remove_ChannelsRevoked(Windows.Foundation.EventRegistrationToken)
52
+ def remove_channels_revoked(cls, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
53
+
54
+ @typing.final
55
+ class PushNotificationChannelManager(winrt.system.Object, metaclass=PushNotificationChannelManager_Static):
56
+ pass
57
+
58
+ @typing.final
59
+ class PushNotificationChannelManagerForUser(winrt.system.Object):
60
+ # Windows.Foundation.IAsyncOperation`1<Windows.Networking.PushNotifications.PushNotificationChannel> Windows.Networking.PushNotifications.PushNotificationChannelManagerForUser::CreatePushNotificationChannelForApplicationAsync()
61
+ def create_push_notification_channel_for_application_async(self) -> windows_foundation.IAsyncOperation[PushNotificationChannel]: ...
62
+ # Windows.Foundation.IAsyncOperation`1<Windows.Networking.PushNotifications.PushNotificationChannel> Windows.Networking.PushNotifications.PushNotificationChannelManagerForUser::CreatePushNotificationChannelForApplicationAsync(System.String)
63
+ def create_push_notification_channel_for_application_async_with_id(self, application_id: str, /) -> windows_foundation.IAsyncOperation[PushNotificationChannel]: ...
64
+ # Windows.Foundation.IAsyncOperation`1<Windows.Networking.PushNotifications.PushNotificationChannel> Windows.Networking.PushNotifications.PushNotificationChannelManagerForUser::CreatePushNotificationChannelForSecondaryTileAsync(System.String)
65
+ def create_push_notification_channel_for_secondary_tile_async(self, tile_id: str, /) -> windows_foundation.IAsyncOperation[PushNotificationChannel]: ...
66
+ # Windows.Foundation.IAsyncOperation`1<Windows.Networking.PushNotifications.PushNotificationChannel> Windows.Networking.PushNotifications.PushNotificationChannelManagerForUser::CreateRawPushNotificationChannelWithAlternateKeyForApplicationAsync(Windows.Storage.Streams.IBuffer,System.String)
67
+ def create_raw_push_notification_channel_with_alternate_key_for_application_async(self, app_server_key: winrt.system.Buffer, channel_id: str, /) -> windows_foundation.IAsyncOperation[PushNotificationChannel]: ...
68
+ # Windows.Foundation.IAsyncOperation`1<Windows.Networking.PushNotifications.PushNotificationChannel> Windows.Networking.PushNotifications.PushNotificationChannelManagerForUser::CreateRawPushNotificationChannelWithAlternateKeyForApplicationAsync(Windows.Storage.Streams.IBuffer,System.String,System.String)
69
+ def create_raw_push_notification_channel_with_alternate_key_for_application_async_with_id(self, app_server_key: winrt.system.Buffer, channel_id: str, app_id: str, /) -> windows_foundation.IAsyncOperation[PushNotificationChannel]: ...
70
+ # Windows.System.User Windows.Networking.PushNotifications.PushNotificationChannelManagerForUser::get_User()
71
+ @_property
72
+ def user(self) -> windows_system.User: ...
73
+
74
+ @typing.final
75
+ class PushNotificationChannelsRevokedEventArgs(winrt.system.Object):
76
+ pass
77
+
78
+ @typing.final
79
+ class PushNotificationReceivedEventArgs(winrt.system.Object):
80
+ # System.Boolean Windows.Networking.PushNotifications.PushNotificationReceivedEventArgs::get_Cancel()
81
+ @_property
82
+ def cancel(self) -> bool: ...
83
+ # System.Void Windows.Networking.PushNotifications.PushNotificationReceivedEventArgs::put_Cancel(System.Boolean)
84
+ @cancel.setter
85
+ def cancel(self, value: bool) -> None: ...
86
+ # Windows.UI.Notifications.BadgeNotification Windows.Networking.PushNotifications.PushNotificationReceivedEventArgs::get_BadgeNotification()
87
+ @_property
88
+ def badge_notification(self) -> windows_ui_notifications.BadgeNotification: ...
89
+ # Windows.Networking.PushNotifications.PushNotificationType Windows.Networking.PushNotifications.PushNotificationReceivedEventArgs::get_NotificationType()
90
+ @_property
91
+ def notification_type(self) -> PushNotificationType: ...
92
+ # Windows.Networking.PushNotifications.RawNotification Windows.Networking.PushNotifications.PushNotificationReceivedEventArgs::get_RawNotification()
93
+ @_property
94
+ def raw_notification(self) -> RawNotification: ...
95
+ # Windows.UI.Notifications.TileNotification Windows.Networking.PushNotifications.PushNotificationReceivedEventArgs::get_TileNotification()
96
+ @_property
97
+ def tile_notification(self) -> windows_ui_notifications.TileNotification: ...
98
+ # Windows.UI.Notifications.ToastNotification Windows.Networking.PushNotifications.PushNotificationReceivedEventArgs::get_ToastNotification()
99
+ @_property
100
+ def toast_notification(self) -> windows_ui_notifications.ToastNotification: ...
101
+
102
+ @typing.final
103
+ class RawNotification(winrt.system.Object):
104
+ # System.String Windows.Networking.PushNotifications.RawNotification::get_Content()
105
+ @_property
106
+ def content(self) -> str: ...
107
+ # System.String Windows.Networking.PushNotifications.RawNotification::get_ChannelId()
108
+ @_property
109
+ def channel_id(self) -> str: ...
110
+ # Windows.Foundation.Collections.IMapView`2<System.String,System.String> Windows.Networking.PushNotifications.RawNotification::get_Headers()
111
+ @_property
112
+ def headers(self) -> typing.Mapping[str, str]: ...
113
+ # Windows.Storage.Streams.IBuffer Windows.Networking.PushNotifications.RawNotification::get_ContentBytes()
114
+ @_property
115
+ def content_bytes(self) -> winrt.system.Buffer: ...
116
+
@@ -0,0 +1,31 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v3.2.1
2
+
3
+ import enum
4
+
5
+ import winrt.system
6
+ from winrt._winrt_windows_networking_pushnotifications import (
7
+ PushNotificationChannel,
8
+ PushNotificationChannelManager,
9
+ PushNotificationChannelManagerForUser,
10
+ PushNotificationChannelsRevokedEventArgs,
11
+ PushNotificationReceivedEventArgs,
12
+ RawNotification,
13
+ )
14
+
15
+ __all__ = [
16
+ "PushNotificationType",
17
+ "PushNotificationChannel",
18
+ "PushNotificationChannelManager",
19
+ "PushNotificationChannelManagerForUser",
20
+ "PushNotificationChannelsRevokedEventArgs",
21
+ "PushNotificationReceivedEventArgs",
22
+ "RawNotification",
23
+ ]
24
+
25
+ class PushNotificationType(enum.IntEnum):
26
+ TOAST = 0
27
+ TILE = 1
28
+ BADGE = 2
29
+ RAW = 3
30
+ TILE_FLYOUT = 4
31
+
File without changes
@@ -0,0 +1,29 @@
1
+ Metadata-Version: 2.4
2
+ Name: winrt-Windows.Networking.PushNotifications
3
+ Version: 3.2.1
4
+ Summary: Python projection of Windows Runtime (WinRT) APIs
5
+ License-Expression: MIT
6
+ Project-URL: Documentation, https://pywinrt.readthedocs.io
7
+ Project-URL: Repository, https://github.com/pywinrt/pywinrt
8
+ Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md
9
+ Classifier: Operating System :: Microsoft :: Windows
10
+ Classifier: Programming Language :: Python :: 3
11
+ Classifier: Programming Language :: Python :: Implementation :: CPython
12
+ Classifier: Intended Audience :: Developers
13
+ Requires-Python: >=3.9
14
+ Description-Content-Type: text/markdown
15
+ Requires-Dist: winrt-runtime~=3.2.1.0
16
+ Provides-Extra: all
17
+ Requires-Dist: winrt-Windows.Foundation[all]~=3.2.1.0; extra == "all"
18
+ Requires-Dist: winrt-Windows.Foundation.Collections[all]~=3.2.1.0; extra == "all"
19
+ Requires-Dist: winrt-Windows.Storage.Streams[all]~=3.2.1.0; extra == "all"
20
+ Requires-Dist: winrt-Windows.System[all]~=3.2.1.0; extra == "all"
21
+ Requires-Dist: winrt-Windows.UI.Notifications[all]~=3.2.1.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.cp314-win_amd64.pyd,sha256=psyYf2cuJYG8ep87eeqI54Ef2TMZpcSRwDf4kjINM7A,125440
2
+ winrt/_winrt_windows_networking_pushnotifications.pyi,sha256=flI8HAUKQiuv5hGAHCw20Y3wfoDEye9gzbpngYNZ-1g,9570
3
+ winrt/windows/networking/pushnotifications/__init__.py,sha256=gBMMQoi6-2JZh6hwFLSNZKf6cRrpZQzh-HiKm_p2nJY,780
4
+ winrt/windows/networking/pushnotifications/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
+ winrt_windows_networking_pushnotifications-3.2.1.dist-info/METADATA,sha256=P_AepkCcc_JDa-b1SU9Pt1dJKXYQv_fGA1SOYYyjD3A,1404
6
+ winrt_windows_networking_pushnotifications-3.2.1.dist-info/WHEEL,sha256=7k6Wcy588iJYe5lf5K095NLg-uoBTnE-T8eHJ92G4_4,101
7
+ winrt_windows_networking_pushnotifications-3.2.1.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
8
+ winrt_windows_networking_pushnotifications-3.2.1.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (80.9.0)
3
+ Root-Is-Purelib: false
4
+ Tag: cp314-cp314-win_amd64
5
+