winrt-Windows.ApplicationModel.ExtendedExecution.Foreground 3.2.1__cp314-cp314-win32.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/_winrt_windows_applicationmodel_extendedexecution_foreground.cp314-win32.pyd +0 -0
- winrt/_winrt_windows_applicationmodel_extendedexecution_foreground.pyi +49 -0
- winrt/windows/applicationmodel/extendedexecution/foreground/__init__.py +32 -0
- winrt/windows/applicationmodel/extendedexecution/foreground/py.typed +0 -0
- winrt_windows_applicationmodel_extendedexecution_foreground-3.2.1.dist-info/METADATA +25 -0
- winrt_windows_applicationmodel_extendedexecution_foreground-3.2.1.dist-info/RECORD +8 -0
- winrt_windows_applicationmodel_extendedexecution_foreground-3.2.1.dist-info/WHEEL +5 -0
- winrt_windows_applicationmodel_extendedexecution_foreground-3.2.1.dist-info/top_level.txt +1 -0
|
Binary file
|
|
@@ -0,0 +1,49 @@
|
|
|
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.foreground import ExtendedExecutionForegroundReason, ExtendedExecutionForegroundResult, ExtendedExecutionForegroundRevokedReason
|
|
15
|
+
|
|
16
|
+
Self = typing.TypeVar('Self')
|
|
17
|
+
|
|
18
|
+
@typing.final
|
|
19
|
+
class ExtendedExecutionForegroundRevokedEventArgs(winrt.system.Object):
|
|
20
|
+
# Windows.ApplicationModel.ExtendedExecution.Foreground.ExtendedExecutionForegroundRevokedReason Windows.ApplicationModel.ExtendedExecution.Foreground.ExtendedExecutionForegroundRevokedEventArgs::get_Reason()
|
|
21
|
+
@_property
|
|
22
|
+
def reason(self) -> ExtendedExecutionForegroundRevokedReason: ...
|
|
23
|
+
|
|
24
|
+
@typing.final
|
|
25
|
+
class ExtendedExecutionForegroundSession(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.Foreground.ExtendedExecutionForegroundSession::Close()
|
|
30
|
+
def close(self) -> None: ...
|
|
31
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.ApplicationModel.ExtendedExecution.Foreground.ExtendedExecutionForegroundResult> Windows.ApplicationModel.ExtendedExecution.Foreground.ExtendedExecutionForegroundSession::RequestExtensionAsync()
|
|
32
|
+
def request_extension_async(self) -> windows_foundation.IAsyncOperation[ExtendedExecutionForegroundResult]: ...
|
|
33
|
+
# Windows.Foundation.EventRegistrationToken Windows.ApplicationModel.ExtendedExecution.Foreground.ExtendedExecutionForegroundSession::add_Revoked(Windows.Foundation.TypedEventHandler`2<System.Object,Windows.ApplicationModel.ExtendedExecution.Foreground.ExtendedExecutionForegroundRevokedEventArgs>)
|
|
34
|
+
def add_revoked(self, handler: windows_foundation.TypedEventHandler[winrt.system.Object, ExtendedExecutionForegroundRevokedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
35
|
+
# System.Void Windows.ApplicationModel.ExtendedExecution.Foreground.ExtendedExecutionForegroundSession::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.Foreground.ExtendedExecutionForegroundReason Windows.ApplicationModel.ExtendedExecution.Foreground.ExtendedExecutionForegroundSession::get_Reason()
|
|
38
|
+
@_property
|
|
39
|
+
def reason(self) -> ExtendedExecutionForegroundReason: ...
|
|
40
|
+
# System.Void Windows.ApplicationModel.ExtendedExecution.Foreground.ExtendedExecutionForegroundSession::put_Reason(Windows.ApplicationModel.ExtendedExecution.Foreground.ExtendedExecutionForegroundReason)
|
|
41
|
+
@reason.setter
|
|
42
|
+
def reason(self, value: ExtendedExecutionForegroundReason) -> None: ...
|
|
43
|
+
# System.String Windows.ApplicationModel.ExtendedExecution.Foreground.ExtendedExecutionForegroundSession::get_Description()
|
|
44
|
+
@_property
|
|
45
|
+
def description(self) -> str: ...
|
|
46
|
+
# System.Void Windows.ApplicationModel.ExtendedExecution.Foreground.ExtendedExecutionForegroundSession::put_Description(System.String)
|
|
47
|
+
@description.setter
|
|
48
|
+
def description(self, value: str) -> None: ...
|
|
49
|
+
|
|
@@ -0,0 +1,32 @@
|
|
|
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_foreground import (
|
|
7
|
+
ExtendedExecutionForegroundRevokedEventArgs,
|
|
8
|
+
ExtendedExecutionForegroundSession,
|
|
9
|
+
)
|
|
10
|
+
|
|
11
|
+
__all__ = [
|
|
12
|
+
"ExtendedExecutionForegroundReason",
|
|
13
|
+
"ExtendedExecutionForegroundResult",
|
|
14
|
+
"ExtendedExecutionForegroundRevokedReason",
|
|
15
|
+
"ExtendedExecutionForegroundRevokedEventArgs",
|
|
16
|
+
"ExtendedExecutionForegroundSession",
|
|
17
|
+
]
|
|
18
|
+
|
|
19
|
+
class ExtendedExecutionForegroundReason(enum.IntEnum):
|
|
20
|
+
UNSPECIFIED = 0
|
|
21
|
+
SAVING_DATA = 1
|
|
22
|
+
BACKGROUND_AUDIO = 2
|
|
23
|
+
UNCONSTRAINED = 3
|
|
24
|
+
|
|
25
|
+
class ExtendedExecutionForegroundResult(enum.IntEnum):
|
|
26
|
+
ALLOWED = 0
|
|
27
|
+
DENIED = 1
|
|
28
|
+
|
|
29
|
+
class ExtendedExecutionForegroundRevokedReason(enum.IntEnum):
|
|
30
|
+
RESUMED = 0
|
|
31
|
+
SYSTEM_POLICY = 1
|
|
32
|
+
|
|
File without changes
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: winrt-Windows.ApplicationModel.ExtendedExecution.Foreground
|
|
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.Foreground
|
|
22
|
+
|
|
23
|
+
Windows Runtime (WinRT) APIs for for the `Windows.ApplicationModel.ExtendedExecution.Foreground` namespace.
|
|
24
|
+
|
|
25
|
+
This package provides the `winrt.windows.applicationmodel.extendedexecution.foreground` module.
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
winrt/_winrt_windows_applicationmodel_extendedexecution_foreground.cp314-win32.pyd,sha256=TlVusiBjsILUc9_lGdpoiTroSo1Z3LexOxmnnm5-07A,75264
|
|
2
|
+
winrt/_winrt_windows_applicationmodel_extendedexecution_foreground.pyi,sha256=-LTVwB-tw6btbpFfi2nC7OCZmXO7rx3w3CjYxF1hk_8,3570
|
|
3
|
+
winrt/windows/applicationmodel/extendedexecution/foreground/__init__.py,sha256=AjDtAe185z8QrS1YrxLJ1BkJ28Uai-AgHKV8BXTr24A,856
|
|
4
|
+
winrt/windows/applicationmodel/extendedexecution/foreground/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
|
+
winrt_windows_applicationmodel_extendedexecution_foreground-3.2.1.dist-info/METADATA,sha256=HtkmaZcL0EyTFgzzKYnq7hIihz_HfWWx5Eok_2ES__g,1169
|
|
6
|
+
winrt_windows_applicationmodel_extendedexecution_foreground-3.2.1.dist-info/WHEEL,sha256=avp3B09fSRXVHn4cshTNKc58MtFVN-cVe0NyrqeYT2s,97
|
|
7
|
+
winrt_windows_applicationmodel_extendedexecution_foreground-3.2.1.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
|
|
8
|
+
winrt_windows_applicationmodel_extendedexecution_foreground-3.2.1.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
winrt
|