winrt-Windows.ApplicationModel.ExtendedExecution.Foreground 2.2.0__cp313-cp313-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.cp313-win32.pyd +0 -0
- winrt/_winrt_windows_applicationmodel_extendedexecution_foreground.pyi +44 -0
- winrt/windows/applicationmodel/extendedexecution/foreground/__init__.py +31 -0
- winrt/windows/applicationmodel/extendedexecution/foreground/py.typed +0 -0
- winrt_Windows.ApplicationModel.ExtendedExecution.Foreground-2.2.0.dist-info/METADATA +25 -0
- winrt_Windows.ApplicationModel.ExtendedExecution.Foreground-2.2.0.dist-info/RECORD +8 -0
- winrt_Windows.ApplicationModel.ExtendedExecution.Foreground-2.2.0.dist-info/WHEEL +5 -0
- winrt_Windows.ApplicationModel.ExtendedExecution.Foreground-2.2.0.dist-info/top_level.txt +1 -0
|
Binary file
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
|
|
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
|
+
@staticmethod
|
|
21
|
+
def _from(obj: winrt.system.Object, /) -> ExtendedExecutionForegroundRevokedEventArgs: ...
|
|
22
|
+
@_property
|
|
23
|
+
def reason(self) -> ExtendedExecutionForegroundRevokedReason: ...
|
|
24
|
+
|
|
25
|
+
@typing.final
|
|
26
|
+
class ExtendedExecutionForegroundSession(winrt.system.Object):
|
|
27
|
+
def __enter__(self: Self) -> Self: ...
|
|
28
|
+
def __exit__(self, *args) -> None: ...
|
|
29
|
+
@staticmethod
|
|
30
|
+
def _from(obj: winrt.system.Object, /) -> ExtendedExecutionForegroundSession: ...
|
|
31
|
+
def __new__(cls: typing.Type[ExtendedExecutionForegroundSession]) -> ExtendedExecutionForegroundSession: ...
|
|
32
|
+
def close(self) -> None: ...
|
|
33
|
+
def request_extension_async(self) -> windows_foundation.IAsyncOperation[ExtendedExecutionForegroundResult]: ...
|
|
34
|
+
def add_revoked(self, handler: windows_foundation.TypedEventHandler[winrt.system.Object, ExtendedExecutionForegroundRevokedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
35
|
+
def remove_revoked(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
36
|
+
@_property
|
|
37
|
+
def reason(self) -> ExtendedExecutionForegroundReason: ...
|
|
38
|
+
@reason.setter
|
|
39
|
+
def reason(self, value: ExtendedExecutionForegroundReason) -> None: ...
|
|
40
|
+
@_property
|
|
41
|
+
def description(self) -> str: ...
|
|
42
|
+
@description.setter
|
|
43
|
+
def description(self, value: str) -> None: ...
|
|
44
|
+
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
|
|
2
|
+
|
|
3
|
+
import enum
|
|
4
|
+
|
|
5
|
+
import winrt.system
|
|
6
|
+
from winrt import _winrt_windows_applicationmodel_extendedexecution_foreground
|
|
7
|
+
|
|
8
|
+
__all__ = [
|
|
9
|
+
"ExtendedExecutionForegroundReason",
|
|
10
|
+
"ExtendedExecutionForegroundResult",
|
|
11
|
+
"ExtendedExecutionForegroundRevokedReason",
|
|
12
|
+
"ExtendedExecutionForegroundRevokedEventArgs",
|
|
13
|
+
"ExtendedExecutionForegroundSession",
|
|
14
|
+
]
|
|
15
|
+
|
|
16
|
+
class ExtendedExecutionForegroundReason(enum.IntEnum):
|
|
17
|
+
UNSPECIFIED = 0
|
|
18
|
+
SAVING_DATA = 1
|
|
19
|
+
BACKGROUND_AUDIO = 2
|
|
20
|
+
UNCONSTRAINED = 3
|
|
21
|
+
|
|
22
|
+
class ExtendedExecutionForegroundResult(enum.IntEnum):
|
|
23
|
+
ALLOWED = 0
|
|
24
|
+
DENIED = 1
|
|
25
|
+
|
|
26
|
+
class ExtendedExecutionForegroundRevokedReason(enum.IntEnum):
|
|
27
|
+
RESUMED = 0
|
|
28
|
+
SYSTEM_POLICY = 1
|
|
29
|
+
|
|
30
|
+
ExtendedExecutionForegroundRevokedEventArgs = _winrt_windows_applicationmodel_extendedexecution_foreground.ExtendedExecutionForegroundRevokedEventArgs
|
|
31
|
+
ExtendedExecutionForegroundSession = _winrt_windows_applicationmodel_extendedexecution_foreground.ExtendedExecutionForegroundSession
|
|
File without changes
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: winrt-Windows.ApplicationModel.ExtendedExecution.Foreground
|
|
3
|
+
Version: 2.2.0
|
|
4
|
+
Summary: Python projection of Windows Runtime (WinRT) APIs
|
|
5
|
+
License: 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.14,>=3.9
|
|
14
|
+
Description-Content-Type: text/markdown
|
|
15
|
+
Requires-Dist: winrt-runtime ==2.2.0
|
|
16
|
+
Provides-Extra: all
|
|
17
|
+
Requires-Dist: winrt-Windows.Foundation[all] ==2.2.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.cp313-win32.pyd,sha256=39xbFHVod1SYjCQ_mApG-_ok9p_i3svYRzF-W2qs8_I,61440
|
|
2
|
+
winrt/_winrt_windows_applicationmodel_extendedexecution_foreground.pyi,sha256=xd_2B7dDbGquymgBaKUKTsaJyWndWlv5PCiyiUYuhGA,1913
|
|
3
|
+
winrt/windows/applicationmodel/extendedexecution/foreground/__init__.py,sha256=8QdNlCQZcD8x8mqtl8j1B2NR9PrOzqAbLKUkRzbZdwQ,1047
|
|
4
|
+
winrt/windows/applicationmodel/extendedexecution/foreground/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
|
+
winrt_Windows.ApplicationModel.ExtendedExecution.Foreground-2.2.0.dist-info/METADATA,sha256=G301Lc3CjcY0da3MFrshAfs-s4mDr0UKv-1UFFlO39w,1163
|
|
6
|
+
winrt_Windows.ApplicationModel.ExtendedExecution.Foreground-2.2.0.dist-info/WHEEL,sha256=rHSPOKLHVf857fDiba9Pzuf1iCvh9pcRQ5-VWQYz3ms,97
|
|
7
|
+
winrt_Windows.ApplicationModel.ExtendedExecution.Foreground-2.2.0.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
|
|
8
|
+
winrt_Windows.ApplicationModel.ExtendedExecution.Foreground-2.2.0.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
winrt
|