winrt-Windows.ApplicationModel.AppService 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.
@@ -0,0 +1,23 @@
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
+ "AppServiceClosedStatus",
10
+ "AppServiceConnectionStatus",
11
+ "AppServiceResponseStatus",
12
+ "StatelessAppServiceResponseStatus",
13
+ "AppServiceCatalog",
14
+ "AppServiceClosedEventArgs",
15
+ "AppServiceConnection",
16
+ "AppServiceDeferral",
17
+ "AppServiceRequest",
18
+ "AppServiceRequestReceivedEventArgs",
19
+ "AppServiceResponse",
20
+ "AppServiceTriggerDetails",
21
+ "StatelessAppServiceResponse",
22
+ ]
23
+
@@ -0,0 +1,215 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT
2
+
3
+ import collections.abc as _cabc
4
+ import enum
5
+ import types
6
+ import typing
7
+ from builtins import property as _property
8
+
9
+ import winrt.system
10
+ import winrt.windows.applicationmodel as windows_applicationmodel
11
+ import winrt.windows.foundation as windows_foundation
12
+ import winrt.windows.foundation.collections as windows_foundation_collections
13
+ import winrt.windows.system as windows_system
14
+ import winrt.windows.system.remotesystems as windows_system_remotesystems
15
+
16
+ __all__ = [
17
+ "AppServiceClosedStatus",
18
+ "AppServiceConnectionStatus",
19
+ "AppServiceResponseStatus",
20
+ "StatelessAppServiceResponseStatus",
21
+ "AppServiceCatalog",
22
+ "AppServiceClosedEventArgs",
23
+ "AppServiceConnection",
24
+ "AppServiceDeferral",
25
+ "AppServiceRequest",
26
+ "AppServiceRequestReceivedEventArgs",
27
+ "AppServiceResponse",
28
+ "AppServiceTriggerDetails",
29
+ "StatelessAppServiceResponse",
30
+ ]
31
+
32
+ class AppServiceClosedStatus(enum.IntEnum):
33
+ COMPLETED = 0
34
+ CANCELED = 1
35
+ RESOURCE_LIMITS_EXCEEDED = 2
36
+ UNKNOWN = 3
37
+
38
+ class AppServiceConnectionStatus(enum.IntEnum):
39
+ SUCCESS = 0
40
+ APP_NOT_INSTALLED = 1
41
+ APP_UNAVAILABLE = 2
42
+ APP_SERVICE_UNAVAILABLE = 3
43
+ UNKNOWN = 4
44
+ REMOTE_SYSTEM_UNAVAILABLE = 5
45
+ REMOTE_SYSTEM_NOT_SUPPORTED_BY_APP = 6
46
+ NOT_AUTHORIZED = 7
47
+ AUTHENTICATION_ERROR = 8
48
+ NETWORK_NOT_AVAILABLE = 9
49
+ DISABLED_BY_POLICY = 10
50
+ WEB_SERVICE_UNAVAILABLE = 11
51
+
52
+ class AppServiceResponseStatus(enum.IntEnum):
53
+ SUCCESS = 0
54
+ FAILURE = 1
55
+ RESOURCE_LIMITS_EXCEEDED = 2
56
+ UNKNOWN = 3
57
+ REMOTE_SYSTEM_UNAVAILABLE = 4
58
+ MESSAGE_SIZE_TOO_LARGE = 5
59
+ APP_UNAVAILABLE = 6
60
+ AUTHENTICATION_ERROR = 7
61
+ NETWORK_NOT_AVAILABLE = 8
62
+ DISABLED_BY_POLICY = 9
63
+ WEB_SERVICE_UNAVAILABLE = 10
64
+
65
+ class StatelessAppServiceResponseStatus(enum.IntEnum):
66
+ SUCCESS = 0
67
+ APP_NOT_INSTALLED = 1
68
+ APP_UNAVAILABLE = 2
69
+ APP_SERVICE_UNAVAILABLE = 3
70
+ REMOTE_SYSTEM_UNAVAILABLE = 4
71
+ REMOTE_SYSTEM_NOT_SUPPORTED_BY_APP = 5
72
+ NOT_AUTHORIZED = 6
73
+ RESOURCE_LIMITS_EXCEEDED = 7
74
+ MESSAGE_SIZE_TOO_LARGE = 8
75
+ FAILURE = 9
76
+ UNKNOWN = 10
77
+ AUTHENTICATION_ERROR = 11
78
+ NETWORK_NOT_AVAILABLE = 12
79
+ DISABLED_BY_POLICY = 13
80
+ WEB_SERVICE_UNAVAILABLE = 14
81
+
82
+ @typing.final
83
+ class AppServiceCatalog_Static(winrt.system.Object_Static):
84
+ # Windows.Foundation.IAsyncOperation`1<Windows.Foundation.Collections.IVectorView`1<Windows.ApplicationModel.AppInfo>> Windows.ApplicationModel.AppService.AppServiceCatalog::FindAppServiceProvidersAsync(System.String)
85
+ def find_app_service_providers_async(cls, app_service_name: str, /) -> windows_foundation.IAsyncOperation[_cabc.Sequence[windows_applicationmodel.AppInfo]]: ...
86
+
87
+ @typing.final
88
+ class AppServiceCatalog(winrt.system.Object, metaclass=AppServiceCatalog_Static):
89
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
90
+ """A class of static members only, so there is nothing to create."""
91
+
92
+ @typing.final
93
+ class AppServiceClosedEventArgs(winrt.system.Object):
94
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
95
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
96
+ # Windows.ApplicationModel.AppService.AppServiceClosedStatus Windows.ApplicationModel.AppService.AppServiceClosedEventArgs::get_Status()
97
+ @_property
98
+ def status(self) -> AppServiceClosedStatus: ...
99
+
100
+ @typing.final
101
+ class AppServiceConnection_Static(winrt.system.Object_Static):
102
+ # 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)
103
+ def send_stateless_message_async(cls, connection: AppServiceConnection, connection_request: windows_system_remotesystems.RemoteSystemConnectionRequest, message: windows_foundation_collections.ValueSet, /) -> windows_foundation.IAsyncOperation[StatelessAppServiceResponse]: ...
104
+
105
+ @typing.final
106
+ class AppServiceConnection(windows_foundation.IClosable, winrt.system.Object, metaclass=AppServiceConnection_Static):
107
+ def __enter__(self) -> typing.Self: ...
108
+ def __exit__(self, exc_type: type[BaseException] | None, exc_value: BaseException | None, traceback: types.TracebackType | None) -> None: ...
109
+ def __new__(cls) -> typing.Self: ...
110
+ # System.Void Windows.ApplicationModel.AppService.AppServiceConnection::Close()
111
+ def close(self) -> None: ...
112
+ # Windows.Foundation.IAsyncOperation`1<Windows.ApplicationModel.AppService.AppServiceConnectionStatus> Windows.ApplicationModel.AppService.AppServiceConnection::OpenAsync()
113
+ def open_async(self) -> windows_foundation.IAsyncOperation[AppServiceConnectionStatus]: ...
114
+ # Windows.Foundation.IAsyncOperation`1<Windows.ApplicationModel.AppService.AppServiceConnectionStatus> Windows.ApplicationModel.AppService.AppServiceConnection::OpenRemoteAsync(Windows.System.RemoteSystems.RemoteSystemConnectionRequest)
115
+ def open_remote_async(self, remote_system_connection_request: windows_system_remotesystems.RemoteSystemConnectionRequest, /) -> windows_foundation.IAsyncOperation[AppServiceConnectionStatus]: ...
116
+ # Windows.Foundation.IAsyncOperation`1<Windows.ApplicationModel.AppService.AppServiceResponse> Windows.ApplicationModel.AppService.AppServiceConnection::SendMessageAsync(Windows.Foundation.Collections.ValueSet)
117
+ def send_message_async(self, message: windows_foundation_collections.ValueSet, /) -> windows_foundation.IAsyncOperation[AppServiceResponse]: ...
118
+ # Windows.Foundation.EventRegistrationToken Windows.ApplicationModel.AppService.AppServiceConnection::add_RequestReceived(Windows.Foundation.TypedEventHandler`2<Windows.ApplicationModel.AppService.AppServiceConnection,Windows.ApplicationModel.AppService.AppServiceRequestReceivedEventArgs>)
119
+ def add_request_received(self, handler: windows_foundation.TypedEventHandler[AppServiceConnection, AppServiceRequestReceivedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
120
+ # System.Void Windows.ApplicationModel.AppService.AppServiceConnection::remove_RequestReceived(Windows.Foundation.EventRegistrationToken)
121
+ def remove_request_received(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
122
+ # Windows.Foundation.EventRegistrationToken Windows.ApplicationModel.AppService.AppServiceConnection::add_ServiceClosed(Windows.Foundation.TypedEventHandler`2<Windows.ApplicationModel.AppService.AppServiceConnection,Windows.ApplicationModel.AppService.AppServiceClosedEventArgs>)
123
+ def add_service_closed(self, handler: windows_foundation.TypedEventHandler[AppServiceConnection, AppServiceClosedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
124
+ # System.Void Windows.ApplicationModel.AppService.AppServiceConnection::remove_ServiceClosed(Windows.Foundation.EventRegistrationToken)
125
+ def remove_service_closed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
126
+ # System.String Windows.ApplicationModel.AppService.AppServiceConnection::get_PackageFamilyName()
127
+ @_property
128
+ def package_family_name(self) -> str: ...
129
+ # System.Void Windows.ApplicationModel.AppService.AppServiceConnection::put_PackageFamilyName(System.String)
130
+ @package_family_name.setter
131
+ def package_family_name(self, value: str) -> None: ...
132
+ # System.String Windows.ApplicationModel.AppService.AppServiceConnection::get_AppServiceName()
133
+ @_property
134
+ def app_service_name(self) -> str: ...
135
+ # System.Void Windows.ApplicationModel.AppService.AppServiceConnection::put_AppServiceName(System.String)
136
+ @app_service_name.setter
137
+ def app_service_name(self, value: str) -> None: ...
138
+ # Windows.System.User Windows.ApplicationModel.AppService.AppServiceConnection::get_User()
139
+ @_property
140
+ def user(self) -> windows_system.User: ...
141
+ # System.Void Windows.ApplicationModel.AppService.AppServiceConnection::put_User(Windows.System.User)
142
+ @user.setter
143
+ def user(self, value: windows_system.User) -> None: ...
144
+
145
+ @typing.final
146
+ class AppServiceDeferral(winrt.system.Object):
147
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
148
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
149
+ # System.Void Windows.ApplicationModel.AppService.AppServiceDeferral::Complete()
150
+ def complete(self) -> None: ...
151
+
152
+ @typing.final
153
+ class AppServiceRequest(winrt.system.Object):
154
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
155
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
156
+ # Windows.Foundation.IAsyncOperation`1<Windows.ApplicationModel.AppService.AppServiceResponseStatus> Windows.ApplicationModel.AppService.AppServiceRequest::SendResponseAsync(Windows.Foundation.Collections.ValueSet)
157
+ def send_response_async(self, message: windows_foundation_collections.ValueSet, /) -> windows_foundation.IAsyncOperation[AppServiceResponseStatus]: ...
158
+ # Windows.Foundation.Collections.ValueSet Windows.ApplicationModel.AppService.AppServiceRequest::get_Message()
159
+ @_property
160
+ def message(self) -> windows_foundation_collections.ValueSet: ...
161
+
162
+ @typing.final
163
+ class AppServiceRequestReceivedEventArgs(winrt.system.Object):
164
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
165
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
166
+ # Windows.ApplicationModel.AppService.AppServiceDeferral Windows.ApplicationModel.AppService.AppServiceRequestReceivedEventArgs::GetDeferral()
167
+ def get_deferral(self) -> AppServiceDeferral: ...
168
+ # Windows.ApplicationModel.AppService.AppServiceRequest Windows.ApplicationModel.AppService.AppServiceRequestReceivedEventArgs::get_Request()
169
+ @_property
170
+ def request(self) -> AppServiceRequest: ...
171
+
172
+ @typing.final
173
+ class AppServiceResponse(winrt.system.Object):
174
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
175
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
176
+ # Windows.Foundation.Collections.ValueSet Windows.ApplicationModel.AppService.AppServiceResponse::get_Message()
177
+ @_property
178
+ def message(self) -> windows_foundation_collections.ValueSet: ...
179
+ # Windows.ApplicationModel.AppService.AppServiceResponseStatus Windows.ApplicationModel.AppService.AppServiceResponse::get_Status()
180
+ @_property
181
+ def status(self) -> AppServiceResponseStatus: ...
182
+
183
+ @typing.final
184
+ class AppServiceTriggerDetails(winrt.system.Object):
185
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
186
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
187
+ # Windows.Foundation.IAsyncOperation`1<System.Boolean> Windows.ApplicationModel.AppService.AppServiceTriggerDetails::CheckCallerForCapabilityAsync(System.String)
188
+ def check_caller_for_capability_async(self, capability_name: str, /) -> windows_foundation.IAsyncOperation[bool]: ...
189
+ # Windows.ApplicationModel.AppService.AppServiceConnection Windows.ApplicationModel.AppService.AppServiceTriggerDetails::get_AppServiceConnection()
190
+ @_property
191
+ def app_service_connection(self) -> AppServiceConnection: ...
192
+ # System.String Windows.ApplicationModel.AppService.AppServiceTriggerDetails::get_CallerPackageFamilyName()
193
+ @_property
194
+ def caller_package_family_name(self) -> str: ...
195
+ # System.String Windows.ApplicationModel.AppService.AppServiceTriggerDetails::get_Name()
196
+ @_property
197
+ def name(self) -> str: ...
198
+ # System.Boolean Windows.ApplicationModel.AppService.AppServiceTriggerDetails::get_IsRemoteSystemConnection()
199
+ @_property
200
+ def is_remote_system_connection(self) -> bool: ...
201
+ # System.String Windows.ApplicationModel.AppService.AppServiceTriggerDetails::get_CallerRemoteConnectionToken()
202
+ @_property
203
+ def caller_remote_connection_token(self) -> str: ...
204
+
205
+ @typing.final
206
+ class StatelessAppServiceResponse(winrt.system.Object):
207
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
208
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
209
+ # Windows.Foundation.Collections.ValueSet Windows.ApplicationModel.AppService.StatelessAppServiceResponse::get_Message()
210
+ @_property
211
+ def message(self) -> windows_foundation_collections.ValueSet: ...
212
+ # Windows.ApplicationModel.AppService.StatelessAppServiceResponseStatus Windows.ApplicationModel.AppService.StatelessAppServiceResponse::get_Status()
213
+ @_property
214
+ def status(self) -> StatelessAppServiceResponseStatus: ...
215
+
File without changes
@@ -0,0 +1,49 @@
1
+ Metadata-Version: 2.5
2
+ Name: winrt-Windows.ApplicationModel.AppService
3
+ Version: 4!10.0.28000.2705
4
+ Summary: PyWinRT projection of the Windows.ApplicationModel.AppService 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-collections>=4!10.0.28000.2705
24
+ Requires-Dist: winrt-windows-foundation>=4!10.0.28000.2705
25
+ Provides-Extra: all
26
+ Requires-Dist: winrt-windows-applicationmodel[all]>=4!10.0.28000.2705; extra == 'all'
27
+ Requires-Dist: winrt-windows-foundation-collections[all]>=4!10.0.28000.2705; extra == 'all'
28
+ Requires-Dist: winrt-windows-foundation[all]>=4!10.0.28000.2705; extra == 'all'
29
+ Requires-Dist: winrt-windows-system-remotesystems[all]>=4!10.0.28000.2705; extra == 'all'
30
+ Requires-Dist: winrt-windows-system[all]>=4!10.0.28000.2705; extra == 'all'
31
+ Description-Content-Type: text/markdown
32
+
33
+ <!-- warning: Please don't edit this file. It was automatically generated. -->
34
+
35
+ # winrt-Windows.ApplicationModel.AppService
36
+
37
+ Windows Runtime (WinRT) APIs for the `Windows.ApplicationModel.AppService` namespace.
38
+
39
+ This package provides the `winrt.windows.applicationmodel.appservice` module.
40
+
41
+ The WinRT APIs in it are those of version 10.0.28000.2705 of the
42
+ `Microsoft.Windows.SDK.CPP` NuGet package.
43
+
44
+ ```
45
+ pip install winrt-Windows.ApplicationModel.AppService
46
+ ```
47
+
48
+ Other WinRT namespaces are packages of their own, so install the package of
49
+ each namespace your code imports from.
@@ -0,0 +1,8 @@
1
+ winrt/windows/applicationmodel/appservice/__init__.py,sha256=nW7H25v9hiH9FpMsDxqlvz15d5IzjP2VmNdvtQW8muE,603
2
+ winrt/windows/applicationmodel/appservice/__init__.pyi,sha256=Gl0_vBK9FjrY87ENVwI3K75Vt18-8xefNIM0DuLdEu4,12783
3
+ winrt/windows/applicationmodel/appservice/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
+ winrt/windows/applicationmodel/appservice/_table.pywinrt,sha256=ql81wv9TyXho_LLy-cQh6TZ4fHTxAshs3Md7RCtpXKQ,22400
5
+ winrt_windows_applicationmodel_appservice-4!10.0.28000.2705.dist-info/METADATA,sha256=i5ITKl_4fDnQbiXDu69SNsT8wlZrRcqHHfNe77Ai9o0,2271
6
+ winrt_windows_applicationmodel_appservice-4!10.0.28000.2705.dist-info/WHEEL,sha256=W3fkpkm7-wf9vBI5Z-7s0eWkeM-spu78I8Neb98DeEg,87
7
+ winrt_windows_applicationmodel_appservice-4!10.0.28000.2705.dist-info/licenses/LICENSE,sha256=dyVKOMqPV0fimbzMhqN3zpg6K6Y2OlekwrdfiZTBm8M,1225
8
+ winrt_windows_applicationmodel_appservice-4!10.0.28000.2705.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: hatchling 1.32.4
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
@@ -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