winrt-Windows.ApplicationModel.AppService 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.
- winrt/_winrt_windows_applicationmodel_appservice.cp314-win_arm64.pyd +0 -0
- winrt/_winrt_windows_applicationmodel_appservice.pyi +140 -0
- winrt/windows/applicationmodel/appservice/__init__.py +83 -0
- winrt/windows/applicationmodel/appservice/py.typed +0 -0
- winrt_windows_applicationmodel_appservice-3.2.1.dist-info/METADATA +29 -0
- winrt_windows_applicationmodel_appservice-3.2.1.dist-info/RECORD +8 -0
- winrt_windows_applicationmodel_appservice-3.2.1.dist-info/WHEEL +5 -0
- winrt_windows_applicationmodel_appservice-3.2.1.dist-info/top_level.txt +1 -0
|
Binary file
|
|
@@ -0,0 +1,140 @@
|
|
|
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.applicationmodel as windows_applicationmodel
|
|
13
|
+
import winrt.windows.foundation as windows_foundation
|
|
14
|
+
import winrt.windows.foundation.collections as windows_foundation_collections
|
|
15
|
+
import winrt.windows.system as windows_system
|
|
16
|
+
import winrt.windows.system.remotesystems as windows_system_remotesystems
|
|
17
|
+
|
|
18
|
+
from winrt.windows.applicationmodel.appservice import AppServiceClosedStatus, AppServiceConnectionStatus, AppServiceResponseStatus, StatelessAppServiceResponseStatus
|
|
19
|
+
|
|
20
|
+
Self = typing.TypeVar('Self')
|
|
21
|
+
|
|
22
|
+
@typing.final
|
|
23
|
+
class AppServiceCatalog_Static(winrt._winrt.IInspectable_Static):
|
|
24
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Foundation.Collections.IVectorView`1<Windows.ApplicationModel.AppInfo>> Windows.ApplicationModel.AppService.AppServiceCatalog::FindAppServiceProvidersAsync(System.String)
|
|
25
|
+
def find_app_service_providers_async(cls, app_service_name: str, /) -> windows_foundation.IAsyncOperation[typing.Sequence[windows_applicationmodel.AppInfo]]: ...
|
|
26
|
+
|
|
27
|
+
@typing.final
|
|
28
|
+
class AppServiceCatalog(winrt.system.Object, metaclass=AppServiceCatalog_Static):
|
|
29
|
+
pass
|
|
30
|
+
|
|
31
|
+
@typing.final
|
|
32
|
+
class AppServiceClosedEventArgs(winrt.system.Object):
|
|
33
|
+
# Windows.ApplicationModel.AppService.AppServiceClosedStatus Windows.ApplicationModel.AppService.AppServiceClosedEventArgs::get_Status()
|
|
34
|
+
@_property
|
|
35
|
+
def status(self) -> AppServiceClosedStatus: ...
|
|
36
|
+
|
|
37
|
+
@typing.final
|
|
38
|
+
class AppServiceConnection_Static(winrt._winrt.IInspectable_Static):
|
|
39
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.ApplicationModel.AppService.StatelessAppServiceResponse> Windows.ApplicationModel.AppService.AppServiceConnection::SendStatelessMessageAsync(Windows.ApplicationModel.AppService.AppServiceConnection,Windows.System.RemoteSystems.RemoteSystemConnectionRequest,Windows.Foundation.Collections.ValueSet)
|
|
40
|
+
def send_stateless_message_async(cls, connection: AppServiceConnection, connection_request: windows_system_remotesystems.RemoteSystemConnectionRequest, message: windows_foundation_collections.ValueSet, /) -> windows_foundation.IAsyncOperation[StatelessAppServiceResponse]: ...
|
|
41
|
+
|
|
42
|
+
@typing.final
|
|
43
|
+
class AppServiceConnection(winrt.system.Object, windows_foundation.IClosable, metaclass=AppServiceConnection_Static):
|
|
44
|
+
def __enter__(self: Self) -> Self: ...
|
|
45
|
+
def __exit__(self, exc_type: typing.Optional[typing.Type[BaseException]], exc_value: typing.Optional[BaseException], traceback: typing.Optional[types.TracebackType]) -> None: ...
|
|
46
|
+
def __new__(cls: typing.Type[Self]) -> Self: ...
|
|
47
|
+
# System.Void Windows.ApplicationModel.AppService.AppServiceConnection::Close()
|
|
48
|
+
def close(self) -> None: ...
|
|
49
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.ApplicationModel.AppService.AppServiceConnectionStatus> Windows.ApplicationModel.AppService.AppServiceConnection::OpenAsync()
|
|
50
|
+
def open_async(self) -> windows_foundation.IAsyncOperation[AppServiceConnectionStatus]: ...
|
|
51
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.ApplicationModel.AppService.AppServiceConnectionStatus> Windows.ApplicationModel.AppService.AppServiceConnection::OpenRemoteAsync(Windows.System.RemoteSystems.RemoteSystemConnectionRequest)
|
|
52
|
+
def open_remote_async(self, remote_system_connection_request: windows_system_remotesystems.RemoteSystemConnectionRequest, /) -> windows_foundation.IAsyncOperation[AppServiceConnectionStatus]: ...
|
|
53
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.ApplicationModel.AppService.AppServiceResponse> Windows.ApplicationModel.AppService.AppServiceConnection::SendMessageAsync(Windows.Foundation.Collections.ValueSet)
|
|
54
|
+
def send_message_async(self, message: windows_foundation_collections.ValueSet, /) -> windows_foundation.IAsyncOperation[AppServiceResponse]: ...
|
|
55
|
+
# Windows.Foundation.EventRegistrationToken Windows.ApplicationModel.AppService.AppServiceConnection::add_RequestReceived(Windows.Foundation.TypedEventHandler`2<Windows.ApplicationModel.AppService.AppServiceConnection,Windows.ApplicationModel.AppService.AppServiceRequestReceivedEventArgs>)
|
|
56
|
+
def add_request_received(self, handler: windows_foundation.TypedEventHandler[AppServiceConnection, AppServiceRequestReceivedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
57
|
+
# System.Void Windows.ApplicationModel.AppService.AppServiceConnection::remove_RequestReceived(Windows.Foundation.EventRegistrationToken)
|
|
58
|
+
def remove_request_received(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
|
|
59
|
+
# Windows.Foundation.EventRegistrationToken Windows.ApplicationModel.AppService.AppServiceConnection::add_ServiceClosed(Windows.Foundation.TypedEventHandler`2<Windows.ApplicationModel.AppService.AppServiceConnection,Windows.ApplicationModel.AppService.AppServiceClosedEventArgs>)
|
|
60
|
+
def add_service_closed(self, handler: windows_foundation.TypedEventHandler[AppServiceConnection, AppServiceClosedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
61
|
+
# System.Void Windows.ApplicationModel.AppService.AppServiceConnection::remove_ServiceClosed(Windows.Foundation.EventRegistrationToken)
|
|
62
|
+
def remove_service_closed(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
|
|
63
|
+
# System.String Windows.ApplicationModel.AppService.AppServiceConnection::get_PackageFamilyName()
|
|
64
|
+
@_property
|
|
65
|
+
def package_family_name(self) -> str: ...
|
|
66
|
+
# System.Void Windows.ApplicationModel.AppService.AppServiceConnection::put_PackageFamilyName(System.String)
|
|
67
|
+
@package_family_name.setter
|
|
68
|
+
def package_family_name(self, value: str) -> None: ...
|
|
69
|
+
# System.String Windows.ApplicationModel.AppService.AppServiceConnection::get_AppServiceName()
|
|
70
|
+
@_property
|
|
71
|
+
def app_service_name(self) -> str: ...
|
|
72
|
+
# System.Void Windows.ApplicationModel.AppService.AppServiceConnection::put_AppServiceName(System.String)
|
|
73
|
+
@app_service_name.setter
|
|
74
|
+
def app_service_name(self, value: str) -> None: ...
|
|
75
|
+
# Windows.System.User Windows.ApplicationModel.AppService.AppServiceConnection::get_User()
|
|
76
|
+
@_property
|
|
77
|
+
def user(self) -> windows_system.User: ...
|
|
78
|
+
# System.Void Windows.ApplicationModel.AppService.AppServiceConnection::put_User(Windows.System.User)
|
|
79
|
+
@user.setter
|
|
80
|
+
def user(self, value: windows_system.User) -> None: ...
|
|
81
|
+
|
|
82
|
+
@typing.final
|
|
83
|
+
class AppServiceDeferral(winrt.system.Object):
|
|
84
|
+
# System.Void Windows.ApplicationModel.AppService.AppServiceDeferral::Complete()
|
|
85
|
+
def complete(self) -> None: ...
|
|
86
|
+
|
|
87
|
+
@typing.final
|
|
88
|
+
class AppServiceRequest(winrt.system.Object):
|
|
89
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.ApplicationModel.AppService.AppServiceResponseStatus> Windows.ApplicationModel.AppService.AppServiceRequest::SendResponseAsync(Windows.Foundation.Collections.ValueSet)
|
|
90
|
+
def send_response_async(self, message: windows_foundation_collections.ValueSet, /) -> windows_foundation.IAsyncOperation[AppServiceResponseStatus]: ...
|
|
91
|
+
# Windows.Foundation.Collections.ValueSet Windows.ApplicationModel.AppService.AppServiceRequest::get_Message()
|
|
92
|
+
@_property
|
|
93
|
+
def message(self) -> windows_foundation_collections.ValueSet: ...
|
|
94
|
+
|
|
95
|
+
@typing.final
|
|
96
|
+
class AppServiceRequestReceivedEventArgs(winrt.system.Object):
|
|
97
|
+
# Windows.ApplicationModel.AppService.AppServiceDeferral Windows.ApplicationModel.AppService.AppServiceRequestReceivedEventArgs::GetDeferral()
|
|
98
|
+
def get_deferral(self) -> AppServiceDeferral: ...
|
|
99
|
+
# Windows.ApplicationModel.AppService.AppServiceRequest Windows.ApplicationModel.AppService.AppServiceRequestReceivedEventArgs::get_Request()
|
|
100
|
+
@_property
|
|
101
|
+
def request(self) -> AppServiceRequest: ...
|
|
102
|
+
|
|
103
|
+
@typing.final
|
|
104
|
+
class AppServiceResponse(winrt.system.Object):
|
|
105
|
+
# Windows.Foundation.Collections.ValueSet Windows.ApplicationModel.AppService.AppServiceResponse::get_Message()
|
|
106
|
+
@_property
|
|
107
|
+
def message(self) -> windows_foundation_collections.ValueSet: ...
|
|
108
|
+
# Windows.ApplicationModel.AppService.AppServiceResponseStatus Windows.ApplicationModel.AppService.AppServiceResponse::get_Status()
|
|
109
|
+
@_property
|
|
110
|
+
def status(self) -> AppServiceResponseStatus: ...
|
|
111
|
+
|
|
112
|
+
@typing.final
|
|
113
|
+
class AppServiceTriggerDetails(winrt.system.Object):
|
|
114
|
+
# Windows.Foundation.IAsyncOperation`1<System.Boolean> Windows.ApplicationModel.AppService.AppServiceTriggerDetails::CheckCallerForCapabilityAsync(System.String)
|
|
115
|
+
def check_caller_for_capability_async(self, capability_name: str, /) -> windows_foundation.IAsyncOperation[bool]: ...
|
|
116
|
+
# Windows.ApplicationModel.AppService.AppServiceConnection Windows.ApplicationModel.AppService.AppServiceTriggerDetails::get_AppServiceConnection()
|
|
117
|
+
@_property
|
|
118
|
+
def app_service_connection(self) -> AppServiceConnection: ...
|
|
119
|
+
# System.String Windows.ApplicationModel.AppService.AppServiceTriggerDetails::get_CallerPackageFamilyName()
|
|
120
|
+
@_property
|
|
121
|
+
def caller_package_family_name(self) -> str: ...
|
|
122
|
+
# System.String Windows.ApplicationModel.AppService.AppServiceTriggerDetails::get_Name()
|
|
123
|
+
@_property
|
|
124
|
+
def name(self) -> str: ...
|
|
125
|
+
# System.Boolean Windows.ApplicationModel.AppService.AppServiceTriggerDetails::get_IsRemoteSystemConnection()
|
|
126
|
+
@_property
|
|
127
|
+
def is_remote_system_connection(self) -> bool: ...
|
|
128
|
+
# System.String Windows.ApplicationModel.AppService.AppServiceTriggerDetails::get_CallerRemoteConnectionToken()
|
|
129
|
+
@_property
|
|
130
|
+
def caller_remote_connection_token(self) -> str: ...
|
|
131
|
+
|
|
132
|
+
@typing.final
|
|
133
|
+
class StatelessAppServiceResponse(winrt.system.Object):
|
|
134
|
+
# Windows.Foundation.Collections.ValueSet Windows.ApplicationModel.AppService.StatelessAppServiceResponse::get_Message()
|
|
135
|
+
@_property
|
|
136
|
+
def message(self) -> windows_foundation_collections.ValueSet: ...
|
|
137
|
+
# Windows.ApplicationModel.AppService.StatelessAppServiceResponseStatus Windows.ApplicationModel.AppService.StatelessAppServiceResponse::get_Status()
|
|
138
|
+
@_property
|
|
139
|
+
def status(self) -> StatelessAppServiceResponseStatus: ...
|
|
140
|
+
|
|
@@ -0,0 +1,83 @@
|
|
|
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_appservice import (
|
|
7
|
+
AppServiceCatalog,
|
|
8
|
+
AppServiceClosedEventArgs,
|
|
9
|
+
AppServiceConnection,
|
|
10
|
+
AppServiceDeferral,
|
|
11
|
+
AppServiceRequest,
|
|
12
|
+
AppServiceRequestReceivedEventArgs,
|
|
13
|
+
AppServiceResponse,
|
|
14
|
+
AppServiceTriggerDetails,
|
|
15
|
+
StatelessAppServiceResponse,
|
|
16
|
+
)
|
|
17
|
+
|
|
18
|
+
__all__ = [
|
|
19
|
+
"AppServiceClosedStatus",
|
|
20
|
+
"AppServiceConnectionStatus",
|
|
21
|
+
"AppServiceResponseStatus",
|
|
22
|
+
"StatelessAppServiceResponseStatus",
|
|
23
|
+
"AppServiceCatalog",
|
|
24
|
+
"AppServiceClosedEventArgs",
|
|
25
|
+
"AppServiceConnection",
|
|
26
|
+
"AppServiceDeferral",
|
|
27
|
+
"AppServiceRequest",
|
|
28
|
+
"AppServiceRequestReceivedEventArgs",
|
|
29
|
+
"AppServiceResponse",
|
|
30
|
+
"AppServiceTriggerDetails",
|
|
31
|
+
"StatelessAppServiceResponse",
|
|
32
|
+
]
|
|
33
|
+
|
|
34
|
+
class AppServiceClosedStatus(enum.IntEnum):
|
|
35
|
+
COMPLETED = 0
|
|
36
|
+
CANCELED = 1
|
|
37
|
+
RESOURCE_LIMITS_EXCEEDED = 2
|
|
38
|
+
UNKNOWN = 3
|
|
39
|
+
|
|
40
|
+
class AppServiceConnectionStatus(enum.IntEnum):
|
|
41
|
+
SUCCESS = 0
|
|
42
|
+
APP_NOT_INSTALLED = 1
|
|
43
|
+
APP_UNAVAILABLE = 2
|
|
44
|
+
APP_SERVICE_UNAVAILABLE = 3
|
|
45
|
+
UNKNOWN = 4
|
|
46
|
+
REMOTE_SYSTEM_UNAVAILABLE = 5
|
|
47
|
+
REMOTE_SYSTEM_NOT_SUPPORTED_BY_APP = 6
|
|
48
|
+
NOT_AUTHORIZED = 7
|
|
49
|
+
AUTHENTICATION_ERROR = 8
|
|
50
|
+
NETWORK_NOT_AVAILABLE = 9
|
|
51
|
+
DISABLED_BY_POLICY = 10
|
|
52
|
+
WEB_SERVICE_UNAVAILABLE = 11
|
|
53
|
+
|
|
54
|
+
class AppServiceResponseStatus(enum.IntEnum):
|
|
55
|
+
SUCCESS = 0
|
|
56
|
+
FAILURE = 1
|
|
57
|
+
RESOURCE_LIMITS_EXCEEDED = 2
|
|
58
|
+
UNKNOWN = 3
|
|
59
|
+
REMOTE_SYSTEM_UNAVAILABLE = 4
|
|
60
|
+
MESSAGE_SIZE_TOO_LARGE = 5
|
|
61
|
+
APP_UNAVAILABLE = 6
|
|
62
|
+
AUTHENTICATION_ERROR = 7
|
|
63
|
+
NETWORK_NOT_AVAILABLE = 8
|
|
64
|
+
DISABLED_BY_POLICY = 9
|
|
65
|
+
WEB_SERVICE_UNAVAILABLE = 10
|
|
66
|
+
|
|
67
|
+
class StatelessAppServiceResponseStatus(enum.IntEnum):
|
|
68
|
+
SUCCESS = 0
|
|
69
|
+
APP_NOT_INSTALLED = 1
|
|
70
|
+
APP_UNAVAILABLE = 2
|
|
71
|
+
APP_SERVICE_UNAVAILABLE = 3
|
|
72
|
+
REMOTE_SYSTEM_UNAVAILABLE = 4
|
|
73
|
+
REMOTE_SYSTEM_NOT_SUPPORTED_BY_APP = 5
|
|
74
|
+
NOT_AUTHORIZED = 6
|
|
75
|
+
RESOURCE_LIMITS_EXCEEDED = 7
|
|
76
|
+
MESSAGE_SIZE_TOO_LARGE = 8
|
|
77
|
+
FAILURE = 9
|
|
78
|
+
UNKNOWN = 10
|
|
79
|
+
AUTHENTICATION_ERROR = 11
|
|
80
|
+
NETWORK_NOT_AVAILABLE = 12
|
|
81
|
+
DISABLED_BY_POLICY = 13
|
|
82
|
+
WEB_SERVICE_UNAVAILABLE = 14
|
|
83
|
+
|
|
File without changes
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: winrt-Windows.ApplicationModel.AppService
|
|
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.ApplicationModel[all]~=3.2.1.0; extra == "all"
|
|
18
|
+
Requires-Dist: winrt-Windows.Foundation[all]~=3.2.1.0; extra == "all"
|
|
19
|
+
Requires-Dist: winrt-Windows.Foundation.Collections[all]~=3.2.1.0; extra == "all"
|
|
20
|
+
Requires-Dist: winrt-Windows.System[all]~=3.2.1.0; extra == "all"
|
|
21
|
+
Requires-Dist: winrt-Windows.System.RemoteSystems[all]~=3.2.1.0; extra == "all"
|
|
22
|
+
|
|
23
|
+
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
24
|
+
|
|
25
|
+
# winrt-Windows.ApplicationModel.AppService
|
|
26
|
+
|
|
27
|
+
Windows Runtime (WinRT) APIs for for the `Windows.ApplicationModel.AppService` namespace.
|
|
28
|
+
|
|
29
|
+
This package provides the `winrt.windows.applicationmodel.appservice` module.
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
winrt/_winrt_windows_applicationmodel_appservice.cp314-win_arm64.pyd,sha256=B-ei2Dn1MHq_jH4H5zpUnL84CCK-bVAIJJv9RmiNyz8,200192
|
|
2
|
+
winrt/_winrt_windows_applicationmodel_appservice.pyi,sha256=2k7Cv1Ct8S9PA-pncZZJZO4Zo9-wL6-a_waRY-jAlZU,10095
|
|
3
|
+
winrt/windows/applicationmodel/appservice/__init__.py,sha256=FuTVIwl-W7fQfMDvGEK3gOdc4jS_9AiE7N8Q9dIHMiE,2179
|
|
4
|
+
winrt/windows/applicationmodel/appservice/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
|
+
winrt_windows_applicationmodel_appservice-3.2.1.dist-info/METADATA,sha256=cywPfY3pvF2MIj2FSw__Bm3K3LhAj1s0wUNof53nHf8,1405
|
|
6
|
+
winrt_windows_applicationmodel_appservice-3.2.1.dist-info/WHEEL,sha256=bMXkUWfr_3hlaRObp_pv9_U0ksvQo0T0Mwq6lQkXaZc,101
|
|
7
|
+
winrt_windows_applicationmodel_appservice-3.2.1.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
|
|
8
|
+
winrt_windows_applicationmodel_appservice-3.2.1.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
winrt
|