winrt-Windows.ApplicationModel.ExtendedExecution 3.2.1__cp314-cp314-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,55 @@
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
+
14
+ from winrt.windows.applicationmodel.extendedexecution import ExtendedExecutionReason, ExtendedExecutionResult, ExtendedExecutionRevokedReason
15
+
16
+ Self = typing.TypeVar('Self')
17
+
18
+ @typing.final
19
+ class ExtendedExecutionRevokedEventArgs(winrt.system.Object):
20
+ # Windows.ApplicationModel.ExtendedExecution.ExtendedExecutionRevokedReason Windows.ApplicationModel.ExtendedExecution.ExtendedExecutionRevokedEventArgs::get_Reason()
21
+ @_property
22
+ def reason(self) -> ExtendedExecutionRevokedReason: ...
23
+
24
+ @typing.final
25
+ class ExtendedExecutionSession(winrt.system.Object, windows_foundation.IClosable):
26
+ def __enter__(self: Self) -> Self: ...
27
+ def __exit__(self, exc_type: typing.Optional[typing.Type[BaseException]], exc_value: typing.Optional[BaseException], traceback: typing.Optional[types.TracebackType]) -> None: ...
28
+ def __new__(cls: typing.Type[Self]) -> Self: ...
29
+ # System.Void Windows.ApplicationModel.ExtendedExecution.ExtendedExecutionSession::Close()
30
+ def close(self) -> None: ...
31
+ # Windows.Foundation.IAsyncOperation`1<Windows.ApplicationModel.ExtendedExecution.ExtendedExecutionResult> Windows.ApplicationModel.ExtendedExecution.ExtendedExecutionSession::RequestExtensionAsync()
32
+ def request_extension_async(self) -> windows_foundation.IAsyncOperation[ExtendedExecutionResult]: ...
33
+ # Windows.Foundation.EventRegistrationToken Windows.ApplicationModel.ExtendedExecution.ExtendedExecutionSession::add_Revoked(Windows.Foundation.TypedEventHandler`2<System.Object,Windows.ApplicationModel.ExtendedExecution.ExtendedExecutionRevokedEventArgs>)
34
+ def add_revoked(self, handler: windows_foundation.TypedEventHandler[winrt.system.Object, ExtendedExecutionRevokedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
35
+ # System.Void Windows.ApplicationModel.ExtendedExecution.ExtendedExecutionSession::remove_Revoked(Windows.Foundation.EventRegistrationToken)
36
+ def remove_revoked(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
37
+ # Windows.ApplicationModel.ExtendedExecution.ExtendedExecutionReason Windows.ApplicationModel.ExtendedExecution.ExtendedExecutionSession::get_Reason()
38
+ @_property
39
+ def reason(self) -> ExtendedExecutionReason: ...
40
+ # System.Void Windows.ApplicationModel.ExtendedExecution.ExtendedExecutionSession::put_Reason(Windows.ApplicationModel.ExtendedExecution.ExtendedExecutionReason)
41
+ @reason.setter
42
+ def reason(self, value: ExtendedExecutionReason) -> None: ...
43
+ # System.UInt32 Windows.ApplicationModel.ExtendedExecution.ExtendedExecutionSession::get_PercentProgress()
44
+ @_property
45
+ def percent_progress(self) -> winrt.system.UInt32: ...
46
+ # System.Void Windows.ApplicationModel.ExtendedExecution.ExtendedExecutionSession::put_PercentProgress(System.UInt32)
47
+ @percent_progress.setter
48
+ def percent_progress(self, value: winrt.system.UInt32) -> None: ...
49
+ # System.String Windows.ApplicationModel.ExtendedExecution.ExtendedExecutionSession::get_Description()
50
+ @_property
51
+ def description(self) -> str: ...
52
+ # System.Void Windows.ApplicationModel.ExtendedExecution.ExtendedExecutionSession::put_Description(System.String)
53
+ @description.setter
54
+ def description(self, value: str) -> None: ...
55
+
@@ -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_applicationmodel_extendedexecution import (
7
+ ExtendedExecutionRevokedEventArgs,
8
+ ExtendedExecutionSession,
9
+ )
10
+
11
+ __all__ = [
12
+ "ExtendedExecutionReason",
13
+ "ExtendedExecutionResult",
14
+ "ExtendedExecutionRevokedReason",
15
+ "ExtendedExecutionRevokedEventArgs",
16
+ "ExtendedExecutionSession",
17
+ ]
18
+
19
+ class ExtendedExecutionReason(enum.IntEnum):
20
+ UNSPECIFIED = 0
21
+ LOCATION_TRACKING = 1
22
+ SAVING_DATA = 2
23
+
24
+ class ExtendedExecutionResult(enum.IntEnum):
25
+ ALLOWED = 0
26
+ DENIED = 1
27
+
28
+ class ExtendedExecutionRevokedReason(enum.IntEnum):
29
+ RESUMED = 0
30
+ SYSTEM_POLICY = 1
31
+
@@ -0,0 +1,25 @@
1
+ Metadata-Version: 2.4
2
+ Name: winrt-Windows.ApplicationModel.ExtendedExecution
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
+
19
+ <!-- warning: Please don't edit this file. It was automatically generated. -->
20
+
21
+ # winrt-Windows.ApplicationModel.ExtendedExecution
22
+
23
+ Windows Runtime (WinRT) APIs for for the `Windows.ApplicationModel.ExtendedExecution` namespace.
24
+
25
+ This package provides the `winrt.windows.applicationmodel.extendedexecution` module.
@@ -0,0 +1,8 @@
1
+ winrt/_winrt_windows_applicationmodel_extendedexecution.cp314-win_arm64.pyd,sha256=JI1OekJcR7FcddiJ22VpeOEyPzJ4PHV2jWbE2E07edY,78336
2
+ winrt/_winrt_windows_applicationmodel_extendedexecution.pyi,sha256=WYIpaUy8q7M4dzkSYsRos8gOQTj0am6rCJntgg9W__s,3573
3
+ winrt/windows/applicationmodel/extendedexecution/__init__.py,sha256=39AARoqvklWeFmMIg7fgC_4PTL5nAB2j56FeAhv5Dz4,724
4
+ winrt/windows/applicationmodel/extendedexecution/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
+ winrt_windows_applicationmodel_extendedexecution-3.2.1.dist-info/METADATA,sha256=n0PyA7-BnHna3yZyA6VbfMDKJsd3bjXVqI3ekZMxtEs,1125
6
+ winrt_windows_applicationmodel_extendedexecution-3.2.1.dist-info/WHEEL,sha256=bMXkUWfr_3hlaRObp_pv9_U0ksvQo0T0Mwq6lQkXaZc,101
7
+ winrt_windows_applicationmodel_extendedexecution-3.2.1.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
8
+ winrt_windows_applicationmodel_extendedexecution-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_arm64
5
+