winrt-Windows.ApplicationModel.ExtendedExecution 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.
- winrt/windows/applicationmodel/extendedexecution/__init__.py +15 -0
- winrt/windows/applicationmodel/extendedexecution/__init__.pyi +71 -0
- winrt/windows/applicationmodel/extendedexecution/_table.pywinrt +0 -0
- winrt/windows/applicationmodel/extendedexecution/py.typed +0 -0
- winrt_windows_applicationmodel_extendedexecution-4!10.0.28000.2705.dist-info/METADATA +44 -0
- winrt_windows_applicationmodel_extendedexecution-4!10.0.28000.2705.dist-info/RECORD +8 -0
- winrt_windows_applicationmodel_extendedexecution-4!10.0.28000.2705.dist-info/WHEEL +4 -0
- winrt_windows_applicationmodel_extendedexecution-4!10.0.28000.2705.dist-info/licenses/LICENSE +22 -0
|
@@ -0,0 +1,15 @@
|
|
|
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
|
+
"ExtendedExecutionReason",
|
|
10
|
+
"ExtendedExecutionResult",
|
|
11
|
+
"ExtendedExecutionRevokedReason",
|
|
12
|
+
"ExtendedExecutionRevokedEventArgs",
|
|
13
|
+
"ExtendedExecutionSession",
|
|
14
|
+
]
|
|
15
|
+
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT
|
|
2
|
+
|
|
3
|
+
import enum
|
|
4
|
+
import types
|
|
5
|
+
import typing
|
|
6
|
+
from builtins import property as _property
|
|
7
|
+
|
|
8
|
+
import winrt.system
|
|
9
|
+
import winrt.windows.foundation as windows_foundation
|
|
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
|
+
|
|
32
|
+
@typing.final
|
|
33
|
+
class ExtendedExecutionRevokedEventArgs(winrt.system.Object):
|
|
34
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
35
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
36
|
+
# Windows.ApplicationModel.ExtendedExecution.ExtendedExecutionRevokedReason Windows.ApplicationModel.ExtendedExecution.ExtendedExecutionRevokedEventArgs::get_Reason()
|
|
37
|
+
@_property
|
|
38
|
+
def reason(self) -> ExtendedExecutionRevokedReason: ...
|
|
39
|
+
|
|
40
|
+
@typing.final
|
|
41
|
+
class ExtendedExecutionSession(windows_foundation.IClosable, winrt.system.Object):
|
|
42
|
+
def __enter__(self) -> typing.Self: ...
|
|
43
|
+
def __exit__(self, exc_type: type[BaseException] | None, exc_value: BaseException | None, traceback: types.TracebackType | None) -> None: ...
|
|
44
|
+
def __new__(cls) -> typing.Self: ...
|
|
45
|
+
# System.Void Windows.ApplicationModel.ExtendedExecution.ExtendedExecutionSession::Close()
|
|
46
|
+
def close(self) -> None: ...
|
|
47
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.ApplicationModel.ExtendedExecution.ExtendedExecutionResult> Windows.ApplicationModel.ExtendedExecution.ExtendedExecutionSession::RequestExtensionAsync()
|
|
48
|
+
def request_extension_async(self) -> windows_foundation.IAsyncOperation[ExtendedExecutionResult]: ...
|
|
49
|
+
# Windows.Foundation.EventRegistrationToken Windows.ApplicationModel.ExtendedExecution.ExtendedExecutionSession::add_Revoked(Windows.Foundation.TypedEventHandler`2<System.Object,Windows.ApplicationModel.ExtendedExecution.ExtendedExecutionRevokedEventArgs>)
|
|
50
|
+
def add_revoked(self, handler: windows_foundation.TypedEventHandler[winrt.system.Object, ExtendedExecutionRevokedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
51
|
+
# System.Void Windows.ApplicationModel.ExtendedExecution.ExtendedExecutionSession::remove_Revoked(Windows.Foundation.EventRegistrationToken)
|
|
52
|
+
def remove_revoked(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
53
|
+
# Windows.ApplicationModel.ExtendedExecution.ExtendedExecutionReason Windows.ApplicationModel.ExtendedExecution.ExtendedExecutionSession::get_Reason()
|
|
54
|
+
@_property
|
|
55
|
+
def reason(self) -> ExtendedExecutionReason: ...
|
|
56
|
+
# System.Void Windows.ApplicationModel.ExtendedExecution.ExtendedExecutionSession::put_Reason(Windows.ApplicationModel.ExtendedExecution.ExtendedExecutionReason)
|
|
57
|
+
@reason.setter
|
|
58
|
+
def reason(self, value: ExtendedExecutionReason) -> None: ...
|
|
59
|
+
# System.UInt32 Windows.ApplicationModel.ExtendedExecution.ExtendedExecutionSession::get_PercentProgress()
|
|
60
|
+
@_property
|
|
61
|
+
def percent_progress(self) -> winrt.system.UInt32: ...
|
|
62
|
+
# System.Void Windows.ApplicationModel.ExtendedExecution.ExtendedExecutionSession::put_PercentProgress(System.UInt32)
|
|
63
|
+
@percent_progress.setter
|
|
64
|
+
def percent_progress(self, value: winrt.system.UInt32 | typing.SupportsIndex) -> None: ...
|
|
65
|
+
# System.String Windows.ApplicationModel.ExtendedExecution.ExtendedExecutionSession::get_Description()
|
|
66
|
+
@_property
|
|
67
|
+
def description(self) -> str: ...
|
|
68
|
+
# System.Void Windows.ApplicationModel.ExtendedExecution.ExtendedExecutionSession::put_Description(System.String)
|
|
69
|
+
@description.setter
|
|
70
|
+
def description(self, value: str) -> None: ...
|
|
71
|
+
|
|
Binary file
|
|
File without changes
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: winrt-Windows.ApplicationModel.ExtendedExecution
|
|
3
|
+
Version: 4!10.0.28000.2705
|
|
4
|
+
Summary: PyWinRT projection of the Windows.ApplicationModel.ExtendedExecution 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>=4!10.0.28000.2705
|
|
24
|
+
Provides-Extra: all
|
|
25
|
+
Requires-Dist: winrt-windows-foundation[all]>=4!10.0.28000.2705; extra == 'all'
|
|
26
|
+
Description-Content-Type: text/markdown
|
|
27
|
+
|
|
28
|
+
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
29
|
+
|
|
30
|
+
# winrt-Windows.ApplicationModel.ExtendedExecution
|
|
31
|
+
|
|
32
|
+
Windows Runtime (WinRT) APIs for the `Windows.ApplicationModel.ExtendedExecution` namespace.
|
|
33
|
+
|
|
34
|
+
This package provides the `winrt.windows.applicationmodel.extendedexecution` module.
|
|
35
|
+
|
|
36
|
+
The WinRT APIs in it are those of version 10.0.28000.2705 of the
|
|
37
|
+
`Microsoft.Windows.SDK.CPP` NuGet package.
|
|
38
|
+
|
|
39
|
+
```
|
|
40
|
+
pip install winrt-Windows.ApplicationModel.ExtendedExecution
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
Other WinRT namespaces are packages of their own, so install the package of
|
|
44
|
+
each namespace your code imports from.
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
winrt/windows/applicationmodel/extendedexecution/__init__.py,sha256=GrJ5iZNPvbefd55mgNUjCAfMQ4XiVqt8g3LTrMMR7f0,367
|
|
2
|
+
winrt/windows/applicationmodel/extendedexecution/__init__.pyi,sha256=dTcC7ruM3aPYscyZfDaqAaY3TXiZqB9stWZQ5yN4X4w,3903
|
|
3
|
+
winrt/windows/applicationmodel/extendedexecution/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
|
+
winrt/windows/applicationmodel/extendedexecution/_table.pywinrt,sha256=GJjz2PIw_oS8jLx_4HEjpVVkFd2kc6N8atEhhtQmPwg,6184
|
|
5
|
+
winrt_windows_applicationmodel_extendedexecution-4!10.0.28000.2705.dist-info/METADATA,sha256=eWsWbPeyc4FFnX5srffybU9PS3-NSzx8ZHo6eUxTap0,1898
|
|
6
|
+
winrt_windows_applicationmodel_extendedexecution-4!10.0.28000.2705.dist-info/WHEEL,sha256=W3fkpkm7-wf9vBI5Z-7s0eWkeM-spu78I8Neb98DeEg,87
|
|
7
|
+
winrt_windows_applicationmodel_extendedexecution-4!10.0.28000.2705.dist-info/licenses/LICENSE,sha256=dyVKOMqPV0fimbzMhqN3zpg6K6Y2OlekwrdfiZTBm8M,1225
|
|
8
|
+
winrt_windows_applicationmodel_extendedexecution-4!10.0.28000.2705.dist-info/RECORD,,
|
|
@@ -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
|