winrt-Windows.UI.Notifications.Management 4!10.0.28000.2705__py3-none-any.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,12 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT
2
+
3
+ import winrt.runtime._internals
4
+ import winrt.system
5
+
6
+ winrt.runtime._internals.load_projection(__spec__)
7
+
8
+ __all__ = [
9
+ "UserNotificationListenerAccessStatus",
10
+ "UserNotificationListener",
11
+ ]
12
+
@@ -0,0 +1,49 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT
2
+
3
+ import collections.abc as _cabc
4
+ import enum
5
+ import typing
6
+ from builtins import property as _property
7
+
8
+ import winrt.system
9
+ import winrt.windows.foundation as windows_foundation
10
+ import winrt.windows.foundation.collections as windows_foundation_collections
11
+ import winrt.windows.ui.notifications as windows_ui_notifications
12
+
13
+ __all__ = [
14
+ "UserNotificationListenerAccessStatus",
15
+ "UserNotificationListener",
16
+ ]
17
+
18
+ class UserNotificationListenerAccessStatus(enum.IntEnum):
19
+ UNSPECIFIED = 0
20
+ ALLOWED = 1
21
+ DENIED = 2
22
+
23
+ @typing.final
24
+ class UserNotificationListener_Static(winrt.system.Object_Static):
25
+ # Windows.UI.Notifications.Management.UserNotificationListener Windows.UI.Notifications.Management.UserNotificationListener::get_Current()
26
+ @_property
27
+ def current(cls) -> UserNotificationListener: ...
28
+
29
+ @typing.final
30
+ class UserNotificationListener(winrt.system.Object, metaclass=UserNotificationListener_Static):
31
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
32
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
33
+ # System.Void Windows.UI.Notifications.Management.UserNotificationListener::ClearNotifications()
34
+ def clear_notifications(self) -> None: ...
35
+ # Windows.UI.Notifications.Management.UserNotificationListenerAccessStatus Windows.UI.Notifications.Management.UserNotificationListener::GetAccessStatus()
36
+ def get_access_status(self) -> UserNotificationListenerAccessStatus: ...
37
+ # Windows.UI.Notifications.UserNotification Windows.UI.Notifications.Management.UserNotificationListener::GetNotification(System.UInt32)
38
+ def get_notification(self, notification_id: winrt.system.UInt32 | typing.SupportsIndex, /) -> windows_ui_notifications.UserNotification | None: ...
39
+ # Windows.Foundation.IAsyncOperation`1<Windows.Foundation.Collections.IVectorView`1<Windows.UI.Notifications.UserNotification>> Windows.UI.Notifications.Management.UserNotificationListener::GetNotificationsAsync(Windows.UI.Notifications.NotificationKinds)
40
+ def get_notifications_async(self, kinds: windows_ui_notifications.NotificationKinds, /) -> windows_foundation.IAsyncOperation[_cabc.Sequence[windows_ui_notifications.UserNotification]]: ...
41
+ # System.Void Windows.UI.Notifications.Management.UserNotificationListener::RemoveNotification(System.UInt32)
42
+ def remove_notification(self, notification_id: winrt.system.UInt32 | typing.SupportsIndex, /) -> None: ...
43
+ # Windows.Foundation.IAsyncOperation`1<Windows.UI.Notifications.Management.UserNotificationListenerAccessStatus> Windows.UI.Notifications.Management.UserNotificationListener::RequestAccessAsync()
44
+ def request_access_async(self) -> windows_foundation.IAsyncOperation[UserNotificationListenerAccessStatus]: ...
45
+ # Windows.Foundation.EventRegistrationToken Windows.UI.Notifications.Management.UserNotificationListener::add_NotificationChanged(Windows.Foundation.TypedEventHandler`2<Windows.UI.Notifications.Management.UserNotificationListener,Windows.UI.Notifications.UserNotificationChangedEventArgs>)
46
+ def add_notification_changed(self, handler: windows_foundation.TypedEventHandler[UserNotificationListener, windows_ui_notifications.UserNotificationChangedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
47
+ # System.Void Windows.UI.Notifications.Management.UserNotificationListener::remove_NotificationChanged(Windows.Foundation.EventRegistrationToken)
48
+ def remove_notification_changed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
49
+
File without changes
@@ -0,0 +1,47 @@
1
+ Metadata-Version: 2.5
2
+ Name: winrt-Windows.UI.Notifications.Management
3
+ Version: 4!10.0.28000.2705
4
+ Summary: PyWinRT projection of the Windows.UI.Notifications.Management namespace
5
+ Project-URL: Documentation, https://pywinrt.readthedocs.io
6
+ Project-URL: Repository, https://github.com/pywinrt/pywinrt
7
+ Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/projection/winrt/CHANGELOG.md
8
+ License-Expression: MIT
9
+ License-File: LICENSE
10
+ Classifier: Intended Audience :: Developers
11
+ Classifier: Operating System :: Microsoft :: Windows
12
+ Classifier: Programming Language :: Python :: 3
13
+ Classifier: Programming Language :: Python :: 3.11
14
+ Classifier: Programming Language :: Python :: 3.12
15
+ Classifier: Programming Language :: Python :: 3.13
16
+ Classifier: Programming Language :: Python :: 3.14
17
+ Classifier: Programming Language :: Python :: 3.15
18
+ Classifier: Programming Language :: Python :: Free Threading :: 2 - Beta
19
+ Classifier: Programming Language :: Python :: Implementation :: CPython
20
+ Classifier: Typing :: Typed
21
+ Requires-Python: >=3.11
22
+ Requires-Dist: winrt-runtime<5,>=4.0.0
23
+ Requires-Dist: winrt-windows-foundation-collections>=4!10.0.28000.2705
24
+ Requires-Dist: winrt-windows-foundation>=4!10.0.28000.2705
25
+ Provides-Extra: all
26
+ Requires-Dist: winrt-windows-foundation-collections[all]>=4!10.0.28000.2705; extra == 'all'
27
+ Requires-Dist: winrt-windows-foundation[all]>=4!10.0.28000.2705; extra == 'all'
28
+ Requires-Dist: winrt-windows-ui-notifications[all]>=4!10.0.28000.2705; extra == 'all'
29
+ Description-Content-Type: text/markdown
30
+
31
+ <!-- warning: Please don't edit this file. It was automatically generated. -->
32
+
33
+ # winrt-Windows.UI.Notifications.Management
34
+
35
+ Windows Runtime (WinRT) APIs for the `Windows.UI.Notifications.Management` namespace.
36
+
37
+ This package provides the `winrt.windows.ui.notifications.management` module.
38
+
39
+ The WinRT APIs in it are those of version 10.0.28000.2705 of the
40
+ `Microsoft.Windows.SDK.CPP` NuGet package.
41
+
42
+ ```
43
+ pip install winrt-Windows.UI.Notifications.Management
44
+ ```
45
+
46
+ Other WinRT namespaces are packages of their own, so install the package of
47
+ each namespace your code imports from.
@@ -0,0 +1,8 @@
1
+ winrt/windows/ui/notifications/management/__init__.py,sha256=dpYoagigUVFJLVR-g2J8Fe5TL-J8CuSHihgwmnVTu_Y,270
2
+ winrt/windows/ui/notifications/management/__init__.pyi,sha256=RoACbbIHYYub3fimShhlPhUy4TN-eG6tm6M03qQAnVQ,3621
3
+ winrt/windows/ui/notifications/management/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
+ winrt/windows/ui/notifications/management/_table.pywinrt,sha256=TaS5uOjU5XyNDNvu-Os0G3AFCckz3LsNBQWAzXlQJQc,9656
5
+ winrt_windows_ui_notifications_management-4!10.0.28000.2705.dist-info/METADATA,sha256=-XuJkmSJwFDUYTA_x0sBJ_Zo0bpEf3nYrf8SRNdoNvY,2105
6
+ winrt_windows_ui_notifications_management-4!10.0.28000.2705.dist-info/WHEEL,sha256=W3fkpkm7-wf9vBI5Z-7s0eWkeM-spu78I8Neb98DeEg,87
7
+ winrt_windows_ui_notifications_management-4!10.0.28000.2705.dist-info/licenses/LICENSE,sha256=dyVKOMqPV0fimbzMhqN3zpg6K6Y2OlekwrdfiZTBm8M,1225
8
+ winrt_windows_ui_notifications_management-4!10.0.28000.2705.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: hatchling 1.32.4
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
@@ -0,0 +1,22 @@
1
+ MIT License
2
+
3
+ Copyright (c) Microsoft Corporation. All rights reserved.
4
+ Copyright (c) 2021-2026 David Lechner <david@pybricks.com>
5
+
6
+ Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ of this software and associated documentation files (the "Software"), to deal
8
+ in the Software without restriction, including without limitation the rights
9
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ copies of the Software, and to permit persons to whom the Software is
11
+ furnished to do so, subject to the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be included in all
14
+ copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
+ SOFTWARE