winrt-Windows.ApplicationModel 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/__init__.py +63 -0
- winrt/windows/applicationmodel/__init__.pyi +949 -0
- winrt/windows/applicationmodel/_table.pywinrt +0 -0
- winrt/windows/applicationmodel/py.typed +0 -0
- winrt_windows_applicationmodel-4!10.0.28000.2705.dist-info/METADATA +52 -0
- winrt_windows_applicationmodel-4!10.0.28000.2705.dist-info/RECORD +8 -0
- winrt_windows_applicationmodel-4!10.0.28000.2705.dist-info/WHEEL +4 -0
- winrt_windows_applicationmodel-4!10.0.28000.2705.dist-info/licenses/LICENSE +22 -0
|
@@ -0,0 +1,63 @@
|
|
|
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
|
+
"AddResourcePackageOptions",
|
|
10
|
+
"AppExecutionContext",
|
|
11
|
+
"AppInstallerPolicySource",
|
|
12
|
+
"FullTrustLaunchResult",
|
|
13
|
+
"LimitedAccessFeatureStatus",
|
|
14
|
+
"PackageContentGroupState",
|
|
15
|
+
"PackageRelationship",
|
|
16
|
+
"PackageSignatureKind",
|
|
17
|
+
"PackageUpdateAvailability",
|
|
18
|
+
"StartupTaskState",
|
|
19
|
+
"PackageInstallProgress",
|
|
20
|
+
"PackageVersion",
|
|
21
|
+
"AppDisplayInfo",
|
|
22
|
+
"AppInfo",
|
|
23
|
+
"AppInstallerInfo",
|
|
24
|
+
"AppInstance",
|
|
25
|
+
"DesignMode",
|
|
26
|
+
"EnteredBackgroundEventArgs",
|
|
27
|
+
"FindRelatedPackagesOptions",
|
|
28
|
+
"FullTrustProcessLaunchResult",
|
|
29
|
+
"FullTrustProcessLauncher",
|
|
30
|
+
"LeavingBackgroundEventArgs",
|
|
31
|
+
"LimitedAccessFeatureRequestResult",
|
|
32
|
+
"LimitedAccessFeatures",
|
|
33
|
+
"Package",
|
|
34
|
+
"PackageCatalog",
|
|
35
|
+
"PackageCatalogAddOptionalPackageResult",
|
|
36
|
+
"PackageCatalogAddResourcePackageResult",
|
|
37
|
+
"PackageCatalogRemoveOptionalPackagesResult",
|
|
38
|
+
"PackageCatalogRemoveResourcePackagesResult",
|
|
39
|
+
"PackageContentGroup",
|
|
40
|
+
"PackageContentGroupStagingEventArgs",
|
|
41
|
+
"PackageId",
|
|
42
|
+
"PackageInstallingEventArgs",
|
|
43
|
+
"PackageStagingEventArgs",
|
|
44
|
+
"PackageStatus",
|
|
45
|
+
"PackageStatusChangedEventArgs",
|
|
46
|
+
"PackageUninstallingEventArgs",
|
|
47
|
+
"PackageUpdateAvailabilityResult",
|
|
48
|
+
"PackageUpdatingEventArgs",
|
|
49
|
+
"StartupTask",
|
|
50
|
+
"SuspendingDeferral",
|
|
51
|
+
"SuspendingEventArgs",
|
|
52
|
+
"SuspendingOperation",
|
|
53
|
+
"IEnteredBackgroundEventArgs",
|
|
54
|
+
"ILeavingBackgroundEventArgs",
|
|
55
|
+
"IPackageCatalogStatics2",
|
|
56
|
+
"ISuspendingDeferral",
|
|
57
|
+
"ISuspendingEventArgs",
|
|
58
|
+
"ISuspendingOperation",
|
|
59
|
+
]
|
|
60
|
+
|
|
61
|
+
winrt.runtime._internals.alias_static_method(FullTrustProcessLauncher, "launch_full_trust_process_for_app_with_parameters_async", "launch_full_trust_process_for_app_async")
|
|
62
|
+
winrt.runtime._internals.alias_static_method(FullTrustProcessLauncher, "launch_full_trust_process_for_current_app_with_parameters_async", "launch_full_trust_process_for_current_app_async")
|
|
63
|
+
winrt.runtime._internals.alias_method(Package, "stage_content_groups_with_priority_async", "stage_content_groups_async")
|
|
@@ -0,0 +1,949 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT
|
|
2
|
+
|
|
3
|
+
import collections.abc as _cabc
|
|
4
|
+
import datetime
|
|
5
|
+
import enum
|
|
6
|
+
import typing
|
|
7
|
+
import uuid as _uuid
|
|
8
|
+
from builtins import property as _property
|
|
9
|
+
from abc import abstractmethod
|
|
10
|
+
from typing_extensions import deprecated
|
|
11
|
+
|
|
12
|
+
import winrt.system
|
|
13
|
+
import winrt.windows.applicationmodel.activation as windows_applicationmodel_activation
|
|
14
|
+
import winrt.windows.applicationmodel.core as windows_applicationmodel_core
|
|
15
|
+
import winrt.windows.foundation as windows_foundation
|
|
16
|
+
import winrt.windows.foundation.collections as windows_foundation_collections
|
|
17
|
+
import winrt.windows.storage as windows_storage
|
|
18
|
+
import winrt.windows.storage.streams as windows_storage_streams
|
|
19
|
+
import winrt.windows.system as windows_system
|
|
20
|
+
|
|
21
|
+
__all__ = [
|
|
22
|
+
"AddResourcePackageOptions",
|
|
23
|
+
"AppExecutionContext",
|
|
24
|
+
"AppInstallerPolicySource",
|
|
25
|
+
"FullTrustLaunchResult",
|
|
26
|
+
"LimitedAccessFeatureStatus",
|
|
27
|
+
"PackageContentGroupState",
|
|
28
|
+
"PackageRelationship",
|
|
29
|
+
"PackageSignatureKind",
|
|
30
|
+
"PackageUpdateAvailability",
|
|
31
|
+
"StartupTaskState",
|
|
32
|
+
"PackageInstallProgress",
|
|
33
|
+
"PackageVersion",
|
|
34
|
+
"AppDisplayInfo",
|
|
35
|
+
"AppInfo",
|
|
36
|
+
"AppInstallerInfo",
|
|
37
|
+
"AppInstance",
|
|
38
|
+
"DesignMode",
|
|
39
|
+
"EnteredBackgroundEventArgs",
|
|
40
|
+
"FindRelatedPackagesOptions",
|
|
41
|
+
"FullTrustProcessLaunchResult",
|
|
42
|
+
"FullTrustProcessLauncher",
|
|
43
|
+
"LeavingBackgroundEventArgs",
|
|
44
|
+
"LimitedAccessFeatureRequestResult",
|
|
45
|
+
"LimitedAccessFeatures",
|
|
46
|
+
"Package",
|
|
47
|
+
"PackageCatalog",
|
|
48
|
+
"PackageCatalogAddOptionalPackageResult",
|
|
49
|
+
"PackageCatalogAddResourcePackageResult",
|
|
50
|
+
"PackageCatalogRemoveOptionalPackagesResult",
|
|
51
|
+
"PackageCatalogRemoveResourcePackagesResult",
|
|
52
|
+
"PackageContentGroup",
|
|
53
|
+
"PackageContentGroupStagingEventArgs",
|
|
54
|
+
"PackageId",
|
|
55
|
+
"PackageInstallingEventArgs",
|
|
56
|
+
"PackageStagingEventArgs",
|
|
57
|
+
"PackageStatus",
|
|
58
|
+
"PackageStatusChangedEventArgs",
|
|
59
|
+
"PackageUninstallingEventArgs",
|
|
60
|
+
"PackageUpdateAvailabilityResult",
|
|
61
|
+
"PackageUpdatingEventArgs",
|
|
62
|
+
"StartupTask",
|
|
63
|
+
"SuspendingDeferral",
|
|
64
|
+
"SuspendingEventArgs",
|
|
65
|
+
"SuspendingOperation",
|
|
66
|
+
"IEnteredBackgroundEventArgs",
|
|
67
|
+
"ILeavingBackgroundEventArgs",
|
|
68
|
+
"IPackageCatalogStatics2",
|
|
69
|
+
"ISuspendingDeferral",
|
|
70
|
+
"ISuspendingEventArgs",
|
|
71
|
+
"ISuspendingOperation",
|
|
72
|
+
]
|
|
73
|
+
|
|
74
|
+
class AddResourcePackageOptions(enum.IntFlag):
|
|
75
|
+
NONE = 0x0
|
|
76
|
+
FORCE_TARGET_APP_SHUTDOWN = 0x1
|
|
77
|
+
APPLY_UPDATE_IF_AVAILABLE = 0x2
|
|
78
|
+
|
|
79
|
+
class AppExecutionContext(enum.IntEnum):
|
|
80
|
+
UNKNOWN = 0
|
|
81
|
+
HOST = 1
|
|
82
|
+
GUEST = 2
|
|
83
|
+
|
|
84
|
+
class AppInstallerPolicySource(enum.IntEnum):
|
|
85
|
+
DEFAULT = 0
|
|
86
|
+
SYSTEM = 1
|
|
87
|
+
|
|
88
|
+
class FullTrustLaunchResult(enum.IntEnum):
|
|
89
|
+
SUCCESS = 0
|
|
90
|
+
ACCESS_DENIED = 1
|
|
91
|
+
FILE_NOT_FOUND = 2
|
|
92
|
+
UNKNOWN = 3
|
|
93
|
+
|
|
94
|
+
class LimitedAccessFeatureStatus(enum.IntEnum):
|
|
95
|
+
UNAVAILABLE = 0
|
|
96
|
+
AVAILABLE = 1
|
|
97
|
+
AVAILABLE_WITHOUT_TOKEN = 2
|
|
98
|
+
UNKNOWN = 3
|
|
99
|
+
|
|
100
|
+
class PackageContentGroupState(enum.IntEnum):
|
|
101
|
+
NOT_STAGED = 0
|
|
102
|
+
QUEUED = 1
|
|
103
|
+
STAGING = 2
|
|
104
|
+
STAGED = 3
|
|
105
|
+
|
|
106
|
+
class PackageRelationship(enum.IntEnum):
|
|
107
|
+
DEPENDENCIES = 0
|
|
108
|
+
DEPENDENTS = 1
|
|
109
|
+
ALL = 2
|
|
110
|
+
|
|
111
|
+
class PackageSignatureKind(enum.IntEnum):
|
|
112
|
+
NONE = 0
|
|
113
|
+
DEVELOPER = 1
|
|
114
|
+
ENTERPRISE = 2
|
|
115
|
+
STORE = 3
|
|
116
|
+
SYSTEM = 4
|
|
117
|
+
|
|
118
|
+
class PackageUpdateAvailability(enum.IntEnum):
|
|
119
|
+
UNKNOWN = 0
|
|
120
|
+
NO_UPDATES = 1
|
|
121
|
+
AVAILABLE = 2
|
|
122
|
+
REQUIRED = 3
|
|
123
|
+
ERROR = 4
|
|
124
|
+
|
|
125
|
+
class StartupTaskState(enum.IntEnum):
|
|
126
|
+
DISABLED = 0
|
|
127
|
+
DISABLED_BY_USER = 1
|
|
128
|
+
ENABLED = 2
|
|
129
|
+
DISABLED_BY_POLICY = 3
|
|
130
|
+
ENABLED_BY_POLICY = 4
|
|
131
|
+
|
|
132
|
+
@typing.final
|
|
133
|
+
class PackageInstallProgress:
|
|
134
|
+
__match_args__ = ("percent_complete",)
|
|
135
|
+
@_property
|
|
136
|
+
def percent_complete(self) -> winrt.system.UInt32: ...
|
|
137
|
+
def __new__(cls, percent_complete: winrt.system.UInt32 | typing.SupportsIndex = 0) -> PackageInstallProgress: ...
|
|
138
|
+
def __replace__(self, /, **changes: typing.Any) -> PackageInstallProgress: ...
|
|
139
|
+
|
|
140
|
+
@typing.final
|
|
141
|
+
class PackageVersion:
|
|
142
|
+
__match_args__ = ("major", "minor", "build", "revision")
|
|
143
|
+
@_property
|
|
144
|
+
def major(self) -> winrt.system.UInt16: ...
|
|
145
|
+
@_property
|
|
146
|
+
def minor(self) -> winrt.system.UInt16: ...
|
|
147
|
+
@_property
|
|
148
|
+
def build(self) -> winrt.system.UInt16: ...
|
|
149
|
+
@_property
|
|
150
|
+
def revision(self) -> winrt.system.UInt16: ...
|
|
151
|
+
def __new__(cls, major: winrt.system.UInt16 | typing.SupportsIndex = 0, minor: winrt.system.UInt16 | typing.SupportsIndex = 0, build: winrt.system.UInt16 | typing.SupportsIndex = 0, revision: winrt.system.UInt16 | typing.SupportsIndex = 0) -> PackageVersion: ...
|
|
152
|
+
def __replace__(self, /, **changes: typing.Any) -> PackageVersion: ...
|
|
153
|
+
def unpack(self) -> tuple[winrt.system.UInt16, winrt.system.UInt16, winrt.system.UInt16, winrt.system.UInt16]: ...
|
|
154
|
+
|
|
155
|
+
@typing.final
|
|
156
|
+
class AppDisplayInfo(winrt.system.Object):
|
|
157
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
158
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
159
|
+
# Windows.Storage.Streams.RandomAccessStreamReference Windows.ApplicationModel.AppDisplayInfo::GetLogo(Windows.Foundation.Size)
|
|
160
|
+
def get_logo(self, size: windows_foundation.Size | tuple[winrt.system.Single, winrt.system.Single], /) -> windows_storage_streams.RandomAccessStreamReference: ...
|
|
161
|
+
# System.String Windows.ApplicationModel.AppDisplayInfo::get_Description()
|
|
162
|
+
@_property
|
|
163
|
+
def description(self) -> str: ...
|
|
164
|
+
# System.String Windows.ApplicationModel.AppDisplayInfo::get_DisplayName()
|
|
165
|
+
@_property
|
|
166
|
+
def display_name(self) -> str: ...
|
|
167
|
+
|
|
168
|
+
@typing.final
|
|
169
|
+
class AppInfo_Static(winrt.system.Object_Static):
|
|
170
|
+
# Windows.ApplicationModel.AppInfo Windows.ApplicationModel.AppInfo::GetFromAppUserModelId(System.String)
|
|
171
|
+
def get_from_app_user_model_id(cls, app_user_model_id: str, /) -> AppInfo: ...
|
|
172
|
+
# Windows.ApplicationModel.AppInfo Windows.ApplicationModel.AppInfo::GetFromAppUserModelIdForUser(Windows.System.User,System.String)
|
|
173
|
+
def get_from_app_user_model_id_for_user(cls, user: windows_system.User, app_user_model_id: str, /) -> AppInfo: ...
|
|
174
|
+
# Windows.ApplicationModel.AppInfo Windows.ApplicationModel.AppInfo::get_Current()
|
|
175
|
+
@_property
|
|
176
|
+
def current(cls) -> AppInfo: ...
|
|
177
|
+
|
|
178
|
+
@typing.final
|
|
179
|
+
class AppInfo(winrt.system.Object, metaclass=AppInfo_Static):
|
|
180
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
181
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
182
|
+
# System.String Windows.ApplicationModel.AppInfo::get_AppUserModelId()
|
|
183
|
+
@_property
|
|
184
|
+
def app_user_model_id(self) -> str: ...
|
|
185
|
+
# Windows.ApplicationModel.AppDisplayInfo Windows.ApplicationModel.AppInfo::get_DisplayInfo()
|
|
186
|
+
@_property
|
|
187
|
+
def display_info(self) -> AppDisplayInfo: ...
|
|
188
|
+
# System.String Windows.ApplicationModel.AppInfo::get_Id()
|
|
189
|
+
@_property
|
|
190
|
+
def id(self) -> str: ...
|
|
191
|
+
# System.String Windows.ApplicationModel.AppInfo::get_PackageFamilyName()
|
|
192
|
+
@_property
|
|
193
|
+
def package_family_name(self) -> str: ...
|
|
194
|
+
# Windows.ApplicationModel.Package Windows.ApplicationModel.AppInfo::get_Package()
|
|
195
|
+
@_property
|
|
196
|
+
def package(self) -> Package: ...
|
|
197
|
+
# Windows.ApplicationModel.AppExecutionContext Windows.ApplicationModel.AppInfo::get_ExecutionContext()
|
|
198
|
+
@_property
|
|
199
|
+
def execution_context(self) -> AppExecutionContext: ...
|
|
200
|
+
# System.String[] Windows.ApplicationModel.AppInfo::get_SupportedFileExtensions()
|
|
201
|
+
@_property
|
|
202
|
+
def supported_file_extensions(self) -> winrt.system.Array[str]: ...
|
|
203
|
+
|
|
204
|
+
@typing.final
|
|
205
|
+
class AppInstallerInfo(winrt.system.Object):
|
|
206
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
207
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
208
|
+
# Windows.Foundation.Uri Windows.ApplicationModel.AppInstallerInfo::get_Uri()
|
|
209
|
+
@_property
|
|
210
|
+
def uri(self) -> windows_foundation.Uri: ...
|
|
211
|
+
# System.Boolean Windows.ApplicationModel.AppInstallerInfo::get_AutomaticBackgroundTask()
|
|
212
|
+
@_property
|
|
213
|
+
def automatic_background_task(self) -> bool: ...
|
|
214
|
+
# Windows.Foundation.Collections.IVectorView`1<Windows.Foundation.Uri> Windows.ApplicationModel.AppInstallerInfo::get_DependencyPackageUris()
|
|
215
|
+
@_property
|
|
216
|
+
def dependency_package_uris(self) -> _cabc.Sequence[windows_foundation.Uri]: ...
|
|
217
|
+
# System.Boolean Windows.ApplicationModel.AppInstallerInfo::get_ForceUpdateFromAnyVersion()
|
|
218
|
+
@_property
|
|
219
|
+
def force_update_from_any_version(self) -> bool: ...
|
|
220
|
+
# System.UInt32 Windows.ApplicationModel.AppInstallerInfo::get_HoursBetweenUpdateChecks()
|
|
221
|
+
@_property
|
|
222
|
+
def hours_between_update_checks(self) -> winrt.system.UInt32: ...
|
|
223
|
+
# System.Boolean Windows.ApplicationModel.AppInstallerInfo::get_IsAutoRepairEnabled()
|
|
224
|
+
@_property
|
|
225
|
+
def is_auto_repair_enabled(self) -> bool: ...
|
|
226
|
+
# Windows.Foundation.DateTime Windows.ApplicationModel.AppInstallerInfo::get_LastChecked()
|
|
227
|
+
@_property
|
|
228
|
+
def last_checked(self) -> datetime.datetime: ...
|
|
229
|
+
# System.Boolean Windows.ApplicationModel.AppInstallerInfo::get_OnLaunch()
|
|
230
|
+
@_property
|
|
231
|
+
def on_launch(self) -> bool: ...
|
|
232
|
+
# Windows.Foundation.Collections.IVectorView`1<Windows.Foundation.Uri> Windows.ApplicationModel.AppInstallerInfo::get_OptionalPackageUris()
|
|
233
|
+
@_property
|
|
234
|
+
def optional_package_uris(self) -> _cabc.Sequence[windows_foundation.Uri]: ...
|
|
235
|
+
# Windows.Foundation.IReference`1<Windows.Foundation.DateTime> Windows.ApplicationModel.AppInstallerInfo::get_PausedUntil()
|
|
236
|
+
@_property
|
|
237
|
+
def paused_until(self) -> datetime.datetime | None: ...
|
|
238
|
+
# Windows.ApplicationModel.AppInstallerPolicySource Windows.ApplicationModel.AppInstallerInfo::get_PolicySource()
|
|
239
|
+
@_property
|
|
240
|
+
def policy_source(self) -> AppInstallerPolicySource: ...
|
|
241
|
+
# Windows.Foundation.Collections.IVectorView`1<Windows.Foundation.Uri> Windows.ApplicationModel.AppInstallerInfo::get_RepairUris()
|
|
242
|
+
@_property
|
|
243
|
+
def repair_uris(self) -> _cabc.Sequence[windows_foundation.Uri]: ...
|
|
244
|
+
# System.Boolean Windows.ApplicationModel.AppInstallerInfo::get_ShowPrompt()
|
|
245
|
+
@_property
|
|
246
|
+
def show_prompt(self) -> bool: ...
|
|
247
|
+
# System.Boolean Windows.ApplicationModel.AppInstallerInfo::get_UpdateBlocksActivation()
|
|
248
|
+
@_property
|
|
249
|
+
def update_blocks_activation(self) -> bool: ...
|
|
250
|
+
# Windows.Foundation.Collections.IVectorView`1<Windows.Foundation.Uri> Windows.ApplicationModel.AppInstallerInfo::get_UpdateUris()
|
|
251
|
+
@_property
|
|
252
|
+
def update_uris(self) -> _cabc.Sequence[windows_foundation.Uri]: ...
|
|
253
|
+
# Windows.ApplicationModel.PackageVersion Windows.ApplicationModel.AppInstallerInfo::get_Version()
|
|
254
|
+
@_property
|
|
255
|
+
def version(self) -> PackageVersion: ...
|
|
256
|
+
|
|
257
|
+
@typing.final
|
|
258
|
+
class AppInstance_Static(winrt.system.Object_Static):
|
|
259
|
+
# Windows.ApplicationModel.AppInstance Windows.ApplicationModel.AppInstance::FindOrRegisterInstanceForKey(System.String)
|
|
260
|
+
def find_or_register_instance_for_key(cls, key: str, /) -> AppInstance: ...
|
|
261
|
+
# Windows.ApplicationModel.Activation.IActivatedEventArgs Windows.ApplicationModel.AppInstance::GetActivatedEventArgs()
|
|
262
|
+
def get_activated_event_args(cls) -> windows_applicationmodel_activation.IActivatedEventArgs: ...
|
|
263
|
+
# Windows.Foundation.Collections.IVector`1<Windows.ApplicationModel.AppInstance> Windows.ApplicationModel.AppInstance::GetInstances()
|
|
264
|
+
def get_instances(cls) -> _cabc.MutableSequence[AppInstance]: ...
|
|
265
|
+
# System.Void Windows.ApplicationModel.AppInstance::Unregister()
|
|
266
|
+
def unregister(cls) -> None: ...
|
|
267
|
+
# Windows.ApplicationModel.AppInstance Windows.ApplicationModel.AppInstance::get_RecommendedInstance()
|
|
268
|
+
@_property
|
|
269
|
+
def recommended_instance(cls) -> AppInstance: ...
|
|
270
|
+
|
|
271
|
+
@typing.final
|
|
272
|
+
class AppInstance(winrt.system.Object, metaclass=AppInstance_Static):
|
|
273
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
274
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
275
|
+
# System.Void Windows.ApplicationModel.AppInstance::RedirectActivationTo()
|
|
276
|
+
def redirect_activation_to(self) -> None: ...
|
|
277
|
+
# System.Boolean Windows.ApplicationModel.AppInstance::get_IsCurrentInstance()
|
|
278
|
+
@_property
|
|
279
|
+
def is_current_instance(self) -> bool: ...
|
|
280
|
+
# System.String Windows.ApplicationModel.AppInstance::get_Key()
|
|
281
|
+
@_property
|
|
282
|
+
def key(self) -> str: ...
|
|
283
|
+
|
|
284
|
+
@typing.final
|
|
285
|
+
class DesignMode_Static(winrt.system.Object_Static):
|
|
286
|
+
# System.Boolean Windows.ApplicationModel.DesignMode::get_DesignModeEnabled()
|
|
287
|
+
@_property
|
|
288
|
+
def design_mode_enabled(cls) -> bool: ...
|
|
289
|
+
# System.Boolean Windows.ApplicationModel.DesignMode::get_DesignMode2Enabled()
|
|
290
|
+
@_property
|
|
291
|
+
def design_mode2_enabled(cls) -> bool: ...
|
|
292
|
+
|
|
293
|
+
@typing.final
|
|
294
|
+
class DesignMode(winrt.system.Object, metaclass=DesignMode_Static):
|
|
295
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
296
|
+
"""A class of static members only, so there is nothing to create."""
|
|
297
|
+
|
|
298
|
+
@typing.final
|
|
299
|
+
class EnteredBackgroundEventArgs(IEnteredBackgroundEventArgs, winrt.system.Object):
|
|
300
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
301
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
302
|
+
# Windows.Foundation.Deferral Windows.ApplicationModel.EnteredBackgroundEventArgs::GetDeferral()
|
|
303
|
+
def get_deferral(self) -> windows_foundation.Deferral: ...
|
|
304
|
+
|
|
305
|
+
@typing.final
|
|
306
|
+
class FindRelatedPackagesOptions(winrt.system.Object):
|
|
307
|
+
def __new__(cls, relationship: PackageRelationship, /) -> typing.Self: ...
|
|
308
|
+
# Windows.ApplicationModel.PackageRelationship Windows.ApplicationModel.FindRelatedPackagesOptions::get_Relationship()
|
|
309
|
+
@_property
|
|
310
|
+
def relationship(self) -> PackageRelationship: ...
|
|
311
|
+
# System.Void Windows.ApplicationModel.FindRelatedPackagesOptions::put_Relationship(Windows.ApplicationModel.PackageRelationship)
|
|
312
|
+
@relationship.setter
|
|
313
|
+
def relationship(self, value: PackageRelationship) -> None: ...
|
|
314
|
+
# System.Boolean Windows.ApplicationModel.FindRelatedPackagesOptions::get_IncludeResources()
|
|
315
|
+
@_property
|
|
316
|
+
def include_resources(self) -> bool: ...
|
|
317
|
+
# System.Void Windows.ApplicationModel.FindRelatedPackagesOptions::put_IncludeResources(System.Boolean)
|
|
318
|
+
@include_resources.setter
|
|
319
|
+
def include_resources(self, value: bool) -> None: ...
|
|
320
|
+
# System.Boolean Windows.ApplicationModel.FindRelatedPackagesOptions::get_IncludeOptionals()
|
|
321
|
+
@_property
|
|
322
|
+
def include_optionals(self) -> bool: ...
|
|
323
|
+
# System.Void Windows.ApplicationModel.FindRelatedPackagesOptions::put_IncludeOptionals(System.Boolean)
|
|
324
|
+
@include_optionals.setter
|
|
325
|
+
def include_optionals(self, value: bool) -> None: ...
|
|
326
|
+
# System.Boolean Windows.ApplicationModel.FindRelatedPackagesOptions::get_IncludeHostRuntimes()
|
|
327
|
+
@_property
|
|
328
|
+
def include_host_runtimes(self) -> bool: ...
|
|
329
|
+
# System.Void Windows.ApplicationModel.FindRelatedPackagesOptions::put_IncludeHostRuntimes(System.Boolean)
|
|
330
|
+
@include_host_runtimes.setter
|
|
331
|
+
def include_host_runtimes(self, value: bool) -> None: ...
|
|
332
|
+
# System.Boolean Windows.ApplicationModel.FindRelatedPackagesOptions::get_IncludeFrameworks()
|
|
333
|
+
@_property
|
|
334
|
+
def include_frameworks(self) -> bool: ...
|
|
335
|
+
# System.Void Windows.ApplicationModel.FindRelatedPackagesOptions::put_IncludeFrameworks(System.Boolean)
|
|
336
|
+
@include_frameworks.setter
|
|
337
|
+
def include_frameworks(self, value: bool) -> None: ...
|
|
338
|
+
|
|
339
|
+
@typing.final
|
|
340
|
+
class FullTrustProcessLaunchResult(winrt.system.Object):
|
|
341
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
342
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
343
|
+
# Windows.Foundation.HResult Windows.ApplicationModel.FullTrustProcessLaunchResult::get_ExtendedError()
|
|
344
|
+
@_property
|
|
345
|
+
def extended_error(self) -> windows_foundation.HResult: ...
|
|
346
|
+
# Windows.ApplicationModel.FullTrustLaunchResult Windows.ApplicationModel.FullTrustProcessLaunchResult::get_LaunchResult()
|
|
347
|
+
@_property
|
|
348
|
+
def launch_result(self) -> FullTrustLaunchResult: ...
|
|
349
|
+
|
|
350
|
+
@typing.final
|
|
351
|
+
class FullTrustProcessLauncher_Static(winrt.system.Object_Static):
|
|
352
|
+
@typing.overload
|
|
353
|
+
# Windows.Foundation.IAsyncAction Windows.ApplicationModel.FullTrustProcessLauncher::LaunchFullTrustProcessForAppAsync(System.String)
|
|
354
|
+
def launch_full_trust_process_for_app_async(cls, full_trust_package_relative_app_id: str, /) -> windows_foundation.IAsyncAction: ...
|
|
355
|
+
@typing.overload
|
|
356
|
+
# Windows.Foundation.IAsyncAction Windows.ApplicationModel.FullTrustProcessLauncher::LaunchFullTrustProcessForAppAsync(System.String,System.String)
|
|
357
|
+
def launch_full_trust_process_for_app_async(cls, full_trust_package_relative_app_id: str, parameter_group_id: str, /) -> windows_foundation.IAsyncAction: ...
|
|
358
|
+
# Deprecated alias of launch_full_trust_process_for_app_async() for pywinrt v3.x compatibility.
|
|
359
|
+
# Windows.Foundation.IAsyncAction Windows.ApplicationModel.FullTrustProcessLauncher::LaunchFullTrustProcessForAppAsync(System.String,System.String)
|
|
360
|
+
@deprecated("Use launch_full_trust_process_for_app_async() instead.")
|
|
361
|
+
def launch_full_trust_process_for_app_with_parameters_async(cls, full_trust_package_relative_app_id: str, parameter_group_id: str, /) -> windows_foundation.IAsyncAction: ...
|
|
362
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.ApplicationModel.FullTrustProcessLaunchResult> Windows.ApplicationModel.FullTrustProcessLauncher::LaunchFullTrustProcessForAppWithArgumentsAsync(System.String,System.String)
|
|
363
|
+
def launch_full_trust_process_for_app_with_arguments_async(cls, full_trust_package_relative_app_id: str, command_line: str, /) -> windows_foundation.IAsyncOperation[FullTrustProcessLaunchResult]: ...
|
|
364
|
+
@typing.overload
|
|
365
|
+
# Windows.Foundation.IAsyncAction Windows.ApplicationModel.FullTrustProcessLauncher::LaunchFullTrustProcessForCurrentAppAsync()
|
|
366
|
+
def launch_full_trust_process_for_current_app_async(cls) -> windows_foundation.IAsyncAction: ...
|
|
367
|
+
@typing.overload
|
|
368
|
+
# Windows.Foundation.IAsyncAction Windows.ApplicationModel.FullTrustProcessLauncher::LaunchFullTrustProcessForCurrentAppAsync(System.String)
|
|
369
|
+
def launch_full_trust_process_for_current_app_async(cls, parameter_group_id: str, /) -> windows_foundation.IAsyncAction: ...
|
|
370
|
+
# Deprecated alias of launch_full_trust_process_for_current_app_async() for pywinrt v3.x compatibility.
|
|
371
|
+
# Windows.Foundation.IAsyncAction Windows.ApplicationModel.FullTrustProcessLauncher::LaunchFullTrustProcessForCurrentAppAsync(System.String)
|
|
372
|
+
@deprecated("Use launch_full_trust_process_for_current_app_async() instead.")
|
|
373
|
+
def launch_full_trust_process_for_current_app_with_parameters_async(cls, parameter_group_id: str, /) -> windows_foundation.IAsyncAction: ...
|
|
374
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.ApplicationModel.FullTrustProcessLaunchResult> Windows.ApplicationModel.FullTrustProcessLauncher::LaunchFullTrustProcessForCurrentAppWithArgumentsAsync(System.String)
|
|
375
|
+
def launch_full_trust_process_for_current_app_with_arguments_async(cls, command_line: str, /) -> windows_foundation.IAsyncOperation[FullTrustProcessLaunchResult]: ...
|
|
376
|
+
|
|
377
|
+
@typing.final
|
|
378
|
+
class FullTrustProcessLauncher(winrt.system.Object, metaclass=FullTrustProcessLauncher_Static):
|
|
379
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
380
|
+
"""A class of static members only, so there is nothing to create."""
|
|
381
|
+
|
|
382
|
+
@typing.final
|
|
383
|
+
class LeavingBackgroundEventArgs(ILeavingBackgroundEventArgs, winrt.system.Object):
|
|
384
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
385
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
386
|
+
# Windows.Foundation.Deferral Windows.ApplicationModel.LeavingBackgroundEventArgs::GetDeferral()
|
|
387
|
+
def get_deferral(self) -> windows_foundation.Deferral: ...
|
|
388
|
+
|
|
389
|
+
@typing.final
|
|
390
|
+
class LimitedAccessFeatureRequestResult(winrt.system.Object):
|
|
391
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
392
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
393
|
+
# Windows.Foundation.IReference`1<Windows.Foundation.DateTime> Windows.ApplicationModel.LimitedAccessFeatureRequestResult::get_EstimatedRemovalDate()
|
|
394
|
+
@_property
|
|
395
|
+
def estimated_removal_date(self) -> datetime.datetime | None: ...
|
|
396
|
+
# System.String Windows.ApplicationModel.LimitedAccessFeatureRequestResult::get_FeatureId()
|
|
397
|
+
@_property
|
|
398
|
+
def feature_id(self) -> str: ...
|
|
399
|
+
# Windows.ApplicationModel.LimitedAccessFeatureStatus Windows.ApplicationModel.LimitedAccessFeatureRequestResult::get_Status()
|
|
400
|
+
@_property
|
|
401
|
+
def status(self) -> LimitedAccessFeatureStatus: ...
|
|
402
|
+
|
|
403
|
+
@typing.final
|
|
404
|
+
class LimitedAccessFeatures_Static(winrt.system.Object_Static):
|
|
405
|
+
# Windows.ApplicationModel.LimitedAccessFeatureRequestResult Windows.ApplicationModel.LimitedAccessFeatures::TryUnlockFeature(System.String,System.String,System.String)
|
|
406
|
+
def try_unlock_feature(cls, feature_id: str, token: str, attestation: str, /) -> LimitedAccessFeatureRequestResult: ...
|
|
407
|
+
|
|
408
|
+
@typing.final
|
|
409
|
+
class LimitedAccessFeatures(winrt.system.Object, metaclass=LimitedAccessFeatures_Static):
|
|
410
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
411
|
+
"""A class of static members only, so there is nothing to create."""
|
|
412
|
+
|
|
413
|
+
@typing.final
|
|
414
|
+
class Package_Static(winrt.system.Object_Static):
|
|
415
|
+
# Windows.ApplicationModel.Package Windows.ApplicationModel.Package::get_Current()
|
|
416
|
+
@_property
|
|
417
|
+
def current(cls) -> Package: ...
|
|
418
|
+
|
|
419
|
+
@typing.final
|
|
420
|
+
class Package(winrt.system.Object, metaclass=Package_Static):
|
|
421
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
422
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
423
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.ApplicationModel.PackageUpdateAvailabilityResult> Windows.ApplicationModel.Package::CheckUpdateAvailabilityAsync()
|
|
424
|
+
def check_update_availability_async(self) -> windows_foundation.IAsyncOperation[PackageUpdateAvailabilityResult]: ...
|
|
425
|
+
# Windows.Foundation.Collections.IVector`1<Windows.ApplicationModel.Package> Windows.ApplicationModel.Package::FindRelatedPackages(Windows.ApplicationModel.FindRelatedPackagesOptions)
|
|
426
|
+
def find_related_packages(self, options: FindRelatedPackagesOptions, /) -> _cabc.MutableSequence[Package]: ...
|
|
427
|
+
# Windows.ApplicationModel.AppInstallerInfo Windows.ApplicationModel.Package::GetAppInstallerInfo()
|
|
428
|
+
def get_app_installer_info(self) -> AppInstallerInfo: ...
|
|
429
|
+
# Windows.Foundation.Collections.IVectorView`1<Windows.ApplicationModel.Core.AppListEntry> Windows.ApplicationModel.Package::GetAppListEntries()
|
|
430
|
+
def get_app_list_entries(self) -> _cabc.Sequence[windows_applicationmodel_core.AppListEntry]: ...
|
|
431
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Foundation.Collections.IVectorView`1<Windows.ApplicationModel.Core.AppListEntry>> Windows.ApplicationModel.Package::GetAppListEntriesAsync()
|
|
432
|
+
def get_app_list_entries_async(self) -> windows_foundation.IAsyncOperation[_cabc.Sequence[windows_applicationmodel_core.AppListEntry]]: ...
|
|
433
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.ApplicationModel.PackageContentGroup> Windows.ApplicationModel.Package::GetContentGroupAsync(System.String)
|
|
434
|
+
def get_content_group_async(self, name: str, /) -> windows_foundation.IAsyncOperation[PackageContentGroup]: ...
|
|
435
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Foundation.Collections.IVector`1<Windows.ApplicationModel.PackageContentGroup>> Windows.ApplicationModel.Package::GetContentGroupsAsync()
|
|
436
|
+
def get_content_groups_async(self) -> windows_foundation.IAsyncOperation[_cabc.MutableSequence[PackageContentGroup]]: ...
|
|
437
|
+
# Windows.Storage.Streams.RandomAccessStreamReference Windows.ApplicationModel.Package::GetLogoAsRandomAccessStreamReference(Windows.Foundation.Size)
|
|
438
|
+
def get_logo_as_random_access_stream_reference(self, size: windows_foundation.Size | tuple[winrt.system.Single, winrt.system.Single], /) -> windows_storage_streams.RandomAccessStreamReference: ...
|
|
439
|
+
# System.String Windows.ApplicationModel.Package::GetThumbnailToken()
|
|
440
|
+
def get_thumbnail_token(self) -> str: ...
|
|
441
|
+
# System.Void Windows.ApplicationModel.Package::Launch(System.String)
|
|
442
|
+
@deprecated("Launch may be altered or unavailable for releases after Windows 8.1. Instead, for SmartCardTrigger scenarios use SmartCardTriggerDetails.TryLaunchSelfAsync")
|
|
443
|
+
def launch(self, parameters: str, /) -> None: ...
|
|
444
|
+
# Windows.Foundation.IAsyncOperation`1<System.Boolean> Windows.ApplicationModel.Package::SetInUseAsync(System.Boolean)
|
|
445
|
+
def set_in_use_async(self, in_use: bool, /) -> windows_foundation.IAsyncOperation[bool]: ...
|
|
446
|
+
@typing.overload
|
|
447
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Foundation.Collections.IVector`1<Windows.ApplicationModel.PackageContentGroup>> Windows.ApplicationModel.Package::StageContentGroupsAsync(Windows.Foundation.Collections.IIterable`1<System.String>)
|
|
448
|
+
def stage_content_groups_async(self, names: _cabc.Iterable[str], /) -> windows_foundation.IAsyncOperation[_cabc.MutableSequence[PackageContentGroup]]: ...
|
|
449
|
+
@typing.overload
|
|
450
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Foundation.Collections.IVector`1<Windows.ApplicationModel.PackageContentGroup>> Windows.ApplicationModel.Package::StageContentGroupsAsync(Windows.Foundation.Collections.IIterable`1<System.String>,System.Boolean)
|
|
451
|
+
def stage_content_groups_async(self, names: _cabc.Iterable[str], move_to_head_of_queue: bool, /) -> windows_foundation.IAsyncOperation[_cabc.MutableSequence[PackageContentGroup]]: ...
|
|
452
|
+
# Deprecated alias of stage_content_groups_async() for pywinrt v3.x compatibility.
|
|
453
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Foundation.Collections.IVector`1<Windows.ApplicationModel.PackageContentGroup>> Windows.ApplicationModel.Package::StageContentGroupsAsync(Windows.Foundation.Collections.IIterable`1<System.String>,System.Boolean)
|
|
454
|
+
@deprecated("Use stage_content_groups_async() instead.")
|
|
455
|
+
def stage_content_groups_with_priority_async(self, names: _cabc.Iterable[str], move_to_head_of_queue: bool, /) -> windows_foundation.IAsyncOperation[_cabc.MutableSequence[PackageContentGroup]]: ...
|
|
456
|
+
# Windows.Foundation.IAsyncOperation`1<System.Boolean> Windows.ApplicationModel.Package::VerifyContentIntegrityAsync()
|
|
457
|
+
def verify_content_integrity_async(self) -> windows_foundation.IAsyncOperation[bool]: ...
|
|
458
|
+
# Windows.Foundation.Collections.IVectorView`1<Windows.ApplicationModel.Package> Windows.ApplicationModel.Package::get_Dependencies()
|
|
459
|
+
@_property
|
|
460
|
+
def dependencies(self) -> _cabc.Sequence[Package]: ...
|
|
461
|
+
# Windows.ApplicationModel.PackageId Windows.ApplicationModel.Package::get_Id()
|
|
462
|
+
@_property
|
|
463
|
+
def id(self) -> PackageId: ...
|
|
464
|
+
# Windows.Storage.StorageFolder Windows.ApplicationModel.Package::get_InstalledLocation()
|
|
465
|
+
@_property
|
|
466
|
+
def installed_location(self) -> windows_storage.StorageFolder: ...
|
|
467
|
+
# System.Boolean Windows.ApplicationModel.Package::get_IsFramework()
|
|
468
|
+
@_property
|
|
469
|
+
def is_framework(self) -> bool: ...
|
|
470
|
+
# System.String Windows.ApplicationModel.Package::get_Description()
|
|
471
|
+
@_property
|
|
472
|
+
def description(self) -> str: ...
|
|
473
|
+
# System.String Windows.ApplicationModel.Package::get_DisplayName()
|
|
474
|
+
@_property
|
|
475
|
+
def display_name(self) -> str: ...
|
|
476
|
+
# System.Boolean Windows.ApplicationModel.Package::get_IsBundle()
|
|
477
|
+
@_property
|
|
478
|
+
def is_bundle(self) -> bool: ...
|
|
479
|
+
# System.Boolean Windows.ApplicationModel.Package::get_IsDevelopmentMode()
|
|
480
|
+
@_property
|
|
481
|
+
def is_development_mode(self) -> bool: ...
|
|
482
|
+
# System.Boolean Windows.ApplicationModel.Package::get_IsResourcePackage()
|
|
483
|
+
@_property
|
|
484
|
+
def is_resource_package(self) -> bool: ...
|
|
485
|
+
# Windows.Foundation.Uri Windows.ApplicationModel.Package::get_Logo()
|
|
486
|
+
@_property
|
|
487
|
+
def logo(self) -> windows_foundation.Uri: ...
|
|
488
|
+
# System.String Windows.ApplicationModel.Package::get_PublisherDisplayName()
|
|
489
|
+
@_property
|
|
490
|
+
def publisher_display_name(self) -> str: ...
|
|
491
|
+
# Windows.Foundation.DateTime Windows.ApplicationModel.Package::get_InstalledDate()
|
|
492
|
+
@_property
|
|
493
|
+
def installed_date(self) -> datetime.datetime: ...
|
|
494
|
+
# Windows.ApplicationModel.PackageStatus Windows.ApplicationModel.Package::get_Status()
|
|
495
|
+
@_property
|
|
496
|
+
def status(self) -> PackageStatus: ...
|
|
497
|
+
# System.Boolean Windows.ApplicationModel.Package::get_IsOptional()
|
|
498
|
+
@_property
|
|
499
|
+
def is_optional(self) -> bool: ...
|
|
500
|
+
# Windows.ApplicationModel.PackageSignatureKind Windows.ApplicationModel.Package::get_SignatureKind()
|
|
501
|
+
@_property
|
|
502
|
+
def signature_kind(self) -> PackageSignatureKind: ...
|
|
503
|
+
# Windows.Storage.StorageFolder Windows.ApplicationModel.Package::get_EffectiveLocation()
|
|
504
|
+
@_property
|
|
505
|
+
def effective_location(self) -> windows_storage.StorageFolder: ...
|
|
506
|
+
# Windows.Storage.StorageFolder Windows.ApplicationModel.Package::get_MutableLocation()
|
|
507
|
+
@_property
|
|
508
|
+
def mutable_location(self) -> windows_storage.StorageFolder: ...
|
|
509
|
+
# Windows.Storage.StorageFolder Windows.ApplicationModel.Package::get_EffectiveExternalLocation()
|
|
510
|
+
@_property
|
|
511
|
+
def effective_external_location(self) -> windows_storage.StorageFolder: ...
|
|
512
|
+
# System.String Windows.ApplicationModel.Package::get_EffectiveExternalPath()
|
|
513
|
+
@_property
|
|
514
|
+
def effective_external_path(self) -> str: ...
|
|
515
|
+
# System.String Windows.ApplicationModel.Package::get_EffectivePath()
|
|
516
|
+
@_property
|
|
517
|
+
def effective_path(self) -> str: ...
|
|
518
|
+
# System.String Windows.ApplicationModel.Package::get_InstalledPath()
|
|
519
|
+
@_property
|
|
520
|
+
def installed_path(self) -> str: ...
|
|
521
|
+
# System.Boolean Windows.ApplicationModel.Package::get_IsStub()
|
|
522
|
+
@_property
|
|
523
|
+
def is_stub(self) -> bool: ...
|
|
524
|
+
# Windows.Storage.StorageFolder Windows.ApplicationModel.Package::get_MachineExternalLocation()
|
|
525
|
+
@_property
|
|
526
|
+
def machine_external_location(self) -> windows_storage.StorageFolder: ...
|
|
527
|
+
# System.String Windows.ApplicationModel.Package::get_MachineExternalPath()
|
|
528
|
+
@_property
|
|
529
|
+
def machine_external_path(self) -> str: ...
|
|
530
|
+
# System.String Windows.ApplicationModel.Package::get_MutablePath()
|
|
531
|
+
@_property
|
|
532
|
+
def mutable_path(self) -> str: ...
|
|
533
|
+
# Windows.Storage.StorageFolder Windows.ApplicationModel.Package::get_UserExternalLocation()
|
|
534
|
+
@_property
|
|
535
|
+
def user_external_location(self) -> windows_storage.StorageFolder: ...
|
|
536
|
+
# System.String Windows.ApplicationModel.Package::get_UserExternalPath()
|
|
537
|
+
@_property
|
|
538
|
+
def user_external_path(self) -> str: ...
|
|
539
|
+
# System.String Windows.ApplicationModel.Package::get_SourceUriSchemeName()
|
|
540
|
+
@_property
|
|
541
|
+
def source_uri_scheme_name(self) -> str: ...
|
|
542
|
+
# Windows.Foundation.DateTime Windows.ApplicationModel.Package::get_InstallDate()
|
|
543
|
+
@_property
|
|
544
|
+
def install_date(self) -> datetime.datetime: ...
|
|
545
|
+
|
|
546
|
+
@typing.final
|
|
547
|
+
class PackageCatalog_Static(winrt.system.Object_Static):
|
|
548
|
+
# Windows.ApplicationModel.PackageCatalog Windows.ApplicationModel.PackageCatalog::OpenForCurrentPackage()
|
|
549
|
+
def open_for_current_package(cls) -> PackageCatalog: ...
|
|
550
|
+
# Windows.ApplicationModel.PackageCatalog Windows.ApplicationModel.PackageCatalog::OpenForCurrentUser()
|
|
551
|
+
def open_for_current_user(cls) -> PackageCatalog: ...
|
|
552
|
+
# Windows.ApplicationModel.PackageCatalog Windows.ApplicationModel.PackageCatalog::OpenForPackage(Windows.ApplicationModel.Package)
|
|
553
|
+
def open_for_package(cls, package: Package, /) -> PackageCatalog: ...
|
|
554
|
+
|
|
555
|
+
@typing.final
|
|
556
|
+
class PackageCatalog(winrt.system.Object, metaclass=PackageCatalog_Static):
|
|
557
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
558
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
559
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.ApplicationModel.PackageCatalogAddOptionalPackageResult> Windows.ApplicationModel.PackageCatalog::AddOptionalPackageAsync(System.String)
|
|
560
|
+
def add_optional_package_async(self, optional_package_family_name: str, /) -> windows_foundation.IAsyncOperation[PackageCatalogAddOptionalPackageResult]: ...
|
|
561
|
+
# Windows.Foundation.IAsyncOperationWithProgress`2<Windows.ApplicationModel.PackageCatalogAddResourcePackageResult,Windows.ApplicationModel.PackageInstallProgress> Windows.ApplicationModel.PackageCatalog::AddResourcePackageAsync(System.String,System.String,Windows.ApplicationModel.AddResourcePackageOptions)
|
|
562
|
+
def add_resource_package_async(self, resource_package_family_name: str, resource_id: str, options: AddResourcePackageOptions, /) -> windows_foundation.IAsyncOperationWithProgress[PackageCatalogAddResourcePackageResult, PackageInstallProgress]: ...
|
|
563
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.ApplicationModel.PackageCatalogRemoveOptionalPackagesResult> Windows.ApplicationModel.PackageCatalog::RemoveOptionalPackagesAsync(Windows.Foundation.Collections.IIterable`1<System.String>)
|
|
564
|
+
def remove_optional_packages_async(self, optional_package_family_names: _cabc.Iterable[str], /) -> windows_foundation.IAsyncOperation[PackageCatalogRemoveOptionalPackagesResult]: ...
|
|
565
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.ApplicationModel.PackageCatalogRemoveResourcePackagesResult> Windows.ApplicationModel.PackageCatalog::RemoveResourcePackagesAsync(Windows.Foundation.Collections.IIterable`1<Windows.ApplicationModel.Package>)
|
|
566
|
+
def remove_resource_packages_async(self, resource_packages: _cabc.Iterable[Package], /) -> windows_foundation.IAsyncOperation[PackageCatalogRemoveResourcePackagesResult]: ...
|
|
567
|
+
# Windows.Foundation.EventRegistrationToken Windows.ApplicationModel.PackageCatalog::add_PackageInstalling(Windows.Foundation.TypedEventHandler`2<Windows.ApplicationModel.PackageCatalog,Windows.ApplicationModel.PackageInstallingEventArgs>)
|
|
568
|
+
def add_package_installing(self, handler: windows_foundation.TypedEventHandler[PackageCatalog, PackageInstallingEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
569
|
+
# System.Void Windows.ApplicationModel.PackageCatalog::remove_PackageInstalling(Windows.Foundation.EventRegistrationToken)
|
|
570
|
+
def remove_package_installing(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
571
|
+
# Windows.Foundation.EventRegistrationToken Windows.ApplicationModel.PackageCatalog::add_PackageStaging(Windows.Foundation.TypedEventHandler`2<Windows.ApplicationModel.PackageCatalog,Windows.ApplicationModel.PackageStagingEventArgs>)
|
|
572
|
+
def add_package_staging(self, handler: windows_foundation.TypedEventHandler[PackageCatalog, PackageStagingEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
573
|
+
# System.Void Windows.ApplicationModel.PackageCatalog::remove_PackageStaging(Windows.Foundation.EventRegistrationToken)
|
|
574
|
+
def remove_package_staging(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
575
|
+
# Windows.Foundation.EventRegistrationToken Windows.ApplicationModel.PackageCatalog::add_PackageStatusChanged(Windows.Foundation.TypedEventHandler`2<Windows.ApplicationModel.PackageCatalog,Windows.ApplicationModel.PackageStatusChangedEventArgs>)
|
|
576
|
+
def add_package_status_changed(self, handler: windows_foundation.TypedEventHandler[PackageCatalog, PackageStatusChangedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
577
|
+
# System.Void Windows.ApplicationModel.PackageCatalog::remove_PackageStatusChanged(Windows.Foundation.EventRegistrationToken)
|
|
578
|
+
def remove_package_status_changed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
579
|
+
# Windows.Foundation.EventRegistrationToken Windows.ApplicationModel.PackageCatalog::add_PackageUninstalling(Windows.Foundation.TypedEventHandler`2<Windows.ApplicationModel.PackageCatalog,Windows.ApplicationModel.PackageUninstallingEventArgs>)
|
|
580
|
+
def add_package_uninstalling(self, handler: windows_foundation.TypedEventHandler[PackageCatalog, PackageUninstallingEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
581
|
+
# System.Void Windows.ApplicationModel.PackageCatalog::remove_PackageUninstalling(Windows.Foundation.EventRegistrationToken)
|
|
582
|
+
def remove_package_uninstalling(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
583
|
+
# Windows.Foundation.EventRegistrationToken Windows.ApplicationModel.PackageCatalog::add_PackageUpdating(Windows.Foundation.TypedEventHandler`2<Windows.ApplicationModel.PackageCatalog,Windows.ApplicationModel.PackageUpdatingEventArgs>)
|
|
584
|
+
def add_package_updating(self, handler: windows_foundation.TypedEventHandler[PackageCatalog, PackageUpdatingEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
585
|
+
# System.Void Windows.ApplicationModel.PackageCatalog::remove_PackageUpdating(Windows.Foundation.EventRegistrationToken)
|
|
586
|
+
def remove_package_updating(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
587
|
+
# Windows.Foundation.EventRegistrationToken Windows.ApplicationModel.PackageCatalog::add_PackageContentGroupStaging(Windows.Foundation.TypedEventHandler`2<Windows.ApplicationModel.PackageCatalog,Windows.ApplicationModel.PackageContentGroupStagingEventArgs>)
|
|
588
|
+
def add_package_content_group_staging(self, handler: windows_foundation.TypedEventHandler[PackageCatalog, PackageContentGroupStagingEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
589
|
+
# System.Void Windows.ApplicationModel.PackageCatalog::remove_PackageContentGroupStaging(Windows.Foundation.EventRegistrationToken)
|
|
590
|
+
def remove_package_content_group_staging(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
591
|
+
|
|
592
|
+
@typing.final
|
|
593
|
+
class PackageCatalogAddOptionalPackageResult(winrt.system.Object):
|
|
594
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
595
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
596
|
+
# Windows.Foundation.HResult Windows.ApplicationModel.PackageCatalogAddOptionalPackageResult::get_ExtendedError()
|
|
597
|
+
@_property
|
|
598
|
+
def extended_error(self) -> windows_foundation.HResult: ...
|
|
599
|
+
# Windows.ApplicationModel.Package Windows.ApplicationModel.PackageCatalogAddOptionalPackageResult::get_Package()
|
|
600
|
+
@_property
|
|
601
|
+
def package(self) -> Package: ...
|
|
602
|
+
|
|
603
|
+
@typing.final
|
|
604
|
+
class PackageCatalogAddResourcePackageResult(winrt.system.Object):
|
|
605
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
606
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
607
|
+
# Windows.Foundation.HResult Windows.ApplicationModel.PackageCatalogAddResourcePackageResult::get_ExtendedError()
|
|
608
|
+
@_property
|
|
609
|
+
def extended_error(self) -> windows_foundation.HResult: ...
|
|
610
|
+
# System.Boolean Windows.ApplicationModel.PackageCatalogAddResourcePackageResult::get_IsComplete()
|
|
611
|
+
@_property
|
|
612
|
+
def is_complete(self) -> bool: ...
|
|
613
|
+
# Windows.ApplicationModel.Package Windows.ApplicationModel.PackageCatalogAddResourcePackageResult::get_Package()
|
|
614
|
+
@_property
|
|
615
|
+
def package(self) -> Package: ...
|
|
616
|
+
|
|
617
|
+
@typing.final
|
|
618
|
+
class PackageCatalogRemoveOptionalPackagesResult(winrt.system.Object):
|
|
619
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
620
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
621
|
+
# Windows.Foundation.HResult Windows.ApplicationModel.PackageCatalogRemoveOptionalPackagesResult::get_ExtendedError()
|
|
622
|
+
@_property
|
|
623
|
+
def extended_error(self) -> windows_foundation.HResult: ...
|
|
624
|
+
# Windows.Foundation.Collections.IVectorView`1<Windows.ApplicationModel.Package> Windows.ApplicationModel.PackageCatalogRemoveOptionalPackagesResult::get_PackagesRemoved()
|
|
625
|
+
@_property
|
|
626
|
+
def packages_removed(self) -> _cabc.Sequence[Package]: ...
|
|
627
|
+
|
|
628
|
+
@typing.final
|
|
629
|
+
class PackageCatalogRemoveResourcePackagesResult(winrt.system.Object):
|
|
630
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
631
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
632
|
+
# Windows.Foundation.HResult Windows.ApplicationModel.PackageCatalogRemoveResourcePackagesResult::get_ExtendedError()
|
|
633
|
+
@_property
|
|
634
|
+
def extended_error(self) -> windows_foundation.HResult: ...
|
|
635
|
+
# Windows.Foundation.Collections.IVectorView`1<Windows.ApplicationModel.Package> Windows.ApplicationModel.PackageCatalogRemoveResourcePackagesResult::get_PackagesRemoved()
|
|
636
|
+
@_property
|
|
637
|
+
def packages_removed(self) -> _cabc.Sequence[Package]: ...
|
|
638
|
+
|
|
639
|
+
@typing.final
|
|
640
|
+
class PackageContentGroup_Static(winrt.system.Object_Static):
|
|
641
|
+
# System.String Windows.ApplicationModel.PackageContentGroup::get_RequiredGroupName()
|
|
642
|
+
@_property
|
|
643
|
+
def required_group_name(cls) -> str: ...
|
|
644
|
+
|
|
645
|
+
@typing.final
|
|
646
|
+
class PackageContentGroup(winrt.system.Object, metaclass=PackageContentGroup_Static):
|
|
647
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
648
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
649
|
+
# System.Boolean Windows.ApplicationModel.PackageContentGroup::get_IsRequired()
|
|
650
|
+
@_property
|
|
651
|
+
def is_required(self) -> bool: ...
|
|
652
|
+
# System.String Windows.ApplicationModel.PackageContentGroup::get_Name()
|
|
653
|
+
@_property
|
|
654
|
+
def name(self) -> str: ...
|
|
655
|
+
# Windows.ApplicationModel.Package Windows.ApplicationModel.PackageContentGroup::get_Package()
|
|
656
|
+
@_property
|
|
657
|
+
def package(self) -> Package: ...
|
|
658
|
+
# Windows.ApplicationModel.PackageContentGroupState Windows.ApplicationModel.PackageContentGroup::get_State()
|
|
659
|
+
@_property
|
|
660
|
+
def state(self) -> PackageContentGroupState: ...
|
|
661
|
+
|
|
662
|
+
@typing.final
|
|
663
|
+
class PackageContentGroupStagingEventArgs(winrt.system.Object):
|
|
664
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
665
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
666
|
+
# System.Guid Windows.ApplicationModel.PackageContentGroupStagingEventArgs::get_ActivityId()
|
|
667
|
+
@_property
|
|
668
|
+
def activity_id(self) -> _uuid.UUID: ...
|
|
669
|
+
# System.String Windows.ApplicationModel.PackageContentGroupStagingEventArgs::get_ContentGroupName()
|
|
670
|
+
@_property
|
|
671
|
+
def content_group_name(self) -> str: ...
|
|
672
|
+
# Windows.Foundation.HResult Windows.ApplicationModel.PackageContentGroupStagingEventArgs::get_ErrorCode()
|
|
673
|
+
@_property
|
|
674
|
+
def error_code(self) -> windows_foundation.HResult: ...
|
|
675
|
+
# System.Boolean Windows.ApplicationModel.PackageContentGroupStagingEventArgs::get_IsComplete()
|
|
676
|
+
@_property
|
|
677
|
+
def is_complete(self) -> bool: ...
|
|
678
|
+
# System.Boolean Windows.ApplicationModel.PackageContentGroupStagingEventArgs::get_IsContentGroupRequired()
|
|
679
|
+
@_property
|
|
680
|
+
def is_content_group_required(self) -> bool: ...
|
|
681
|
+
# Windows.ApplicationModel.Package Windows.ApplicationModel.PackageContentGroupStagingEventArgs::get_Package()
|
|
682
|
+
@_property
|
|
683
|
+
def package(self) -> Package: ...
|
|
684
|
+
# System.Double Windows.ApplicationModel.PackageContentGroupStagingEventArgs::get_Progress()
|
|
685
|
+
@_property
|
|
686
|
+
def progress(self) -> winrt.system.Double: ...
|
|
687
|
+
|
|
688
|
+
@typing.final
|
|
689
|
+
class PackageId(winrt.system.Object):
|
|
690
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
691
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
692
|
+
# Windows.System.ProcessorArchitecture Windows.ApplicationModel.PackageId::get_Architecture()
|
|
693
|
+
@_property
|
|
694
|
+
def architecture(self) -> windows_system.ProcessorArchitecture: ...
|
|
695
|
+
# System.String Windows.ApplicationModel.PackageId::get_FamilyName()
|
|
696
|
+
@_property
|
|
697
|
+
def family_name(self) -> str: ...
|
|
698
|
+
# System.String Windows.ApplicationModel.PackageId::get_FullName()
|
|
699
|
+
@_property
|
|
700
|
+
def full_name(self) -> str: ...
|
|
701
|
+
# System.String Windows.ApplicationModel.PackageId::get_Name()
|
|
702
|
+
@_property
|
|
703
|
+
def name(self) -> str: ...
|
|
704
|
+
# System.String Windows.ApplicationModel.PackageId::get_Publisher()
|
|
705
|
+
@_property
|
|
706
|
+
def publisher(self) -> str: ...
|
|
707
|
+
# System.String Windows.ApplicationModel.PackageId::get_PublisherId()
|
|
708
|
+
@_property
|
|
709
|
+
def publisher_id(self) -> str: ...
|
|
710
|
+
# System.String Windows.ApplicationModel.PackageId::get_ResourceId()
|
|
711
|
+
@_property
|
|
712
|
+
def resource_id(self) -> str: ...
|
|
713
|
+
# Windows.ApplicationModel.PackageVersion Windows.ApplicationModel.PackageId::get_Version()
|
|
714
|
+
@_property
|
|
715
|
+
def version(self) -> PackageVersion: ...
|
|
716
|
+
# System.String Windows.ApplicationModel.PackageId::get_Author()
|
|
717
|
+
@_property
|
|
718
|
+
def author(self) -> str: ...
|
|
719
|
+
# System.String Windows.ApplicationModel.PackageId::get_ProductId()
|
|
720
|
+
@_property
|
|
721
|
+
def product_id(self) -> str: ...
|
|
722
|
+
|
|
723
|
+
@typing.final
|
|
724
|
+
class PackageInstallingEventArgs(winrt.system.Object):
|
|
725
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
726
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
727
|
+
# System.Guid Windows.ApplicationModel.PackageInstallingEventArgs::get_ActivityId()
|
|
728
|
+
@_property
|
|
729
|
+
def activity_id(self) -> _uuid.UUID: ...
|
|
730
|
+
# Windows.Foundation.HResult Windows.ApplicationModel.PackageInstallingEventArgs::get_ErrorCode()
|
|
731
|
+
@_property
|
|
732
|
+
def error_code(self) -> windows_foundation.HResult: ...
|
|
733
|
+
# System.Boolean Windows.ApplicationModel.PackageInstallingEventArgs::get_IsComplete()
|
|
734
|
+
@_property
|
|
735
|
+
def is_complete(self) -> bool: ...
|
|
736
|
+
# Windows.ApplicationModel.Package Windows.ApplicationModel.PackageInstallingEventArgs::get_Package()
|
|
737
|
+
@_property
|
|
738
|
+
def package(self) -> Package: ...
|
|
739
|
+
# System.Double Windows.ApplicationModel.PackageInstallingEventArgs::get_Progress()
|
|
740
|
+
@_property
|
|
741
|
+
def progress(self) -> winrt.system.Double: ...
|
|
742
|
+
|
|
743
|
+
@typing.final
|
|
744
|
+
class PackageStagingEventArgs(winrt.system.Object):
|
|
745
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
746
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
747
|
+
# System.Guid Windows.ApplicationModel.PackageStagingEventArgs::get_ActivityId()
|
|
748
|
+
@_property
|
|
749
|
+
def activity_id(self) -> _uuid.UUID: ...
|
|
750
|
+
# Windows.Foundation.HResult Windows.ApplicationModel.PackageStagingEventArgs::get_ErrorCode()
|
|
751
|
+
@_property
|
|
752
|
+
def error_code(self) -> windows_foundation.HResult: ...
|
|
753
|
+
# System.Boolean Windows.ApplicationModel.PackageStagingEventArgs::get_IsComplete()
|
|
754
|
+
@_property
|
|
755
|
+
def is_complete(self) -> bool: ...
|
|
756
|
+
# Windows.ApplicationModel.Package Windows.ApplicationModel.PackageStagingEventArgs::get_Package()
|
|
757
|
+
@_property
|
|
758
|
+
def package(self) -> Package: ...
|
|
759
|
+
# System.Double Windows.ApplicationModel.PackageStagingEventArgs::get_Progress()
|
|
760
|
+
@_property
|
|
761
|
+
def progress(self) -> winrt.system.Double: ...
|
|
762
|
+
|
|
763
|
+
@typing.final
|
|
764
|
+
class PackageStatus(winrt.system.Object):
|
|
765
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
766
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
767
|
+
# System.Boolean Windows.ApplicationModel.PackageStatus::VerifyIsOK()
|
|
768
|
+
def verify_is_ok(self) -> bool: ...
|
|
769
|
+
# System.Boolean Windows.ApplicationModel.PackageStatus::get_DataOffline()
|
|
770
|
+
@_property
|
|
771
|
+
def data_offline(self) -> bool: ...
|
|
772
|
+
# System.Boolean Windows.ApplicationModel.PackageStatus::get_DependencyIssue()
|
|
773
|
+
@_property
|
|
774
|
+
def dependency_issue(self) -> bool: ...
|
|
775
|
+
# System.Boolean Windows.ApplicationModel.PackageStatus::get_DeploymentInProgress()
|
|
776
|
+
@_property
|
|
777
|
+
def deployment_in_progress(self) -> bool: ...
|
|
778
|
+
# System.Boolean Windows.ApplicationModel.PackageStatus::get_Disabled()
|
|
779
|
+
@_property
|
|
780
|
+
def disabled(self) -> bool: ...
|
|
781
|
+
# System.Boolean Windows.ApplicationModel.PackageStatus::get_LicenseIssue()
|
|
782
|
+
@_property
|
|
783
|
+
def license_issue(self) -> bool: ...
|
|
784
|
+
# System.Boolean Windows.ApplicationModel.PackageStatus::get_Modified()
|
|
785
|
+
@_property
|
|
786
|
+
def modified(self) -> bool: ...
|
|
787
|
+
# System.Boolean Windows.ApplicationModel.PackageStatus::get_NeedsRemediation()
|
|
788
|
+
@_property
|
|
789
|
+
def needs_remediation(self) -> bool: ...
|
|
790
|
+
# System.Boolean Windows.ApplicationModel.PackageStatus::get_NotAvailable()
|
|
791
|
+
@_property
|
|
792
|
+
def not_available(self) -> bool: ...
|
|
793
|
+
# System.Boolean Windows.ApplicationModel.PackageStatus::get_PackageOffline()
|
|
794
|
+
@_property
|
|
795
|
+
def package_offline(self) -> bool: ...
|
|
796
|
+
# System.Boolean Windows.ApplicationModel.PackageStatus::get_Servicing()
|
|
797
|
+
@_property
|
|
798
|
+
def servicing(self) -> bool: ...
|
|
799
|
+
# System.Boolean Windows.ApplicationModel.PackageStatus::get_Tampered()
|
|
800
|
+
@_property
|
|
801
|
+
def tampered(self) -> bool: ...
|
|
802
|
+
# System.Boolean Windows.ApplicationModel.PackageStatus::get_IsPartiallyStaged()
|
|
803
|
+
@_property
|
|
804
|
+
def is_partially_staged(self) -> bool: ...
|
|
805
|
+
|
|
806
|
+
@typing.final
|
|
807
|
+
class PackageStatusChangedEventArgs(winrt.system.Object):
|
|
808
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
809
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
810
|
+
# Windows.ApplicationModel.Package Windows.ApplicationModel.PackageStatusChangedEventArgs::get_Package()
|
|
811
|
+
@_property
|
|
812
|
+
def package(self) -> Package: ...
|
|
813
|
+
|
|
814
|
+
@typing.final
|
|
815
|
+
class PackageUninstallingEventArgs(winrt.system.Object):
|
|
816
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
817
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
818
|
+
# System.Guid Windows.ApplicationModel.PackageUninstallingEventArgs::get_ActivityId()
|
|
819
|
+
@_property
|
|
820
|
+
def activity_id(self) -> _uuid.UUID: ...
|
|
821
|
+
# Windows.Foundation.HResult Windows.ApplicationModel.PackageUninstallingEventArgs::get_ErrorCode()
|
|
822
|
+
@_property
|
|
823
|
+
def error_code(self) -> windows_foundation.HResult: ...
|
|
824
|
+
# System.Boolean Windows.ApplicationModel.PackageUninstallingEventArgs::get_IsComplete()
|
|
825
|
+
@_property
|
|
826
|
+
def is_complete(self) -> bool: ...
|
|
827
|
+
# Windows.ApplicationModel.Package Windows.ApplicationModel.PackageUninstallingEventArgs::get_Package()
|
|
828
|
+
@_property
|
|
829
|
+
def package(self) -> Package: ...
|
|
830
|
+
# System.Double Windows.ApplicationModel.PackageUninstallingEventArgs::get_Progress()
|
|
831
|
+
@_property
|
|
832
|
+
def progress(self) -> winrt.system.Double: ...
|
|
833
|
+
|
|
834
|
+
@typing.final
|
|
835
|
+
class PackageUpdateAvailabilityResult(winrt.system.Object):
|
|
836
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
837
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
838
|
+
# Windows.ApplicationModel.PackageUpdateAvailability Windows.ApplicationModel.PackageUpdateAvailabilityResult::get_Availability()
|
|
839
|
+
@_property
|
|
840
|
+
def availability(self) -> PackageUpdateAvailability: ...
|
|
841
|
+
# Windows.Foundation.HResult Windows.ApplicationModel.PackageUpdateAvailabilityResult::get_ExtendedError()
|
|
842
|
+
@_property
|
|
843
|
+
def extended_error(self) -> windows_foundation.HResult: ...
|
|
844
|
+
|
|
845
|
+
@typing.final
|
|
846
|
+
class PackageUpdatingEventArgs(winrt.system.Object):
|
|
847
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
848
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
849
|
+
# System.Guid Windows.ApplicationModel.PackageUpdatingEventArgs::get_ActivityId()
|
|
850
|
+
@_property
|
|
851
|
+
def activity_id(self) -> _uuid.UUID: ...
|
|
852
|
+
# Windows.Foundation.HResult Windows.ApplicationModel.PackageUpdatingEventArgs::get_ErrorCode()
|
|
853
|
+
@_property
|
|
854
|
+
def error_code(self) -> windows_foundation.HResult: ...
|
|
855
|
+
# System.Boolean Windows.ApplicationModel.PackageUpdatingEventArgs::get_IsComplete()
|
|
856
|
+
@_property
|
|
857
|
+
def is_complete(self) -> bool: ...
|
|
858
|
+
# System.Double Windows.ApplicationModel.PackageUpdatingEventArgs::get_Progress()
|
|
859
|
+
@_property
|
|
860
|
+
def progress(self) -> winrt.system.Double: ...
|
|
861
|
+
# Windows.ApplicationModel.Package Windows.ApplicationModel.PackageUpdatingEventArgs::get_SourcePackage()
|
|
862
|
+
@_property
|
|
863
|
+
def source_package(self) -> Package: ...
|
|
864
|
+
# Windows.ApplicationModel.Package Windows.ApplicationModel.PackageUpdatingEventArgs::get_TargetPackage()
|
|
865
|
+
@_property
|
|
866
|
+
def target_package(self) -> Package: ...
|
|
867
|
+
|
|
868
|
+
@typing.final
|
|
869
|
+
class StartupTask_Static(winrt.system.Object_Static):
|
|
870
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.ApplicationModel.StartupTask> Windows.ApplicationModel.StartupTask::GetAsync(System.String)
|
|
871
|
+
def get_async(cls, task_id: str, /) -> windows_foundation.IAsyncOperation[StartupTask]: ...
|
|
872
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Foundation.Collections.IVectorView`1<Windows.ApplicationModel.StartupTask>> Windows.ApplicationModel.StartupTask::GetForCurrentPackageAsync()
|
|
873
|
+
def get_for_current_package_async(cls) -> windows_foundation.IAsyncOperation[_cabc.Sequence[StartupTask]]: ...
|
|
874
|
+
|
|
875
|
+
@typing.final
|
|
876
|
+
class StartupTask(winrt.system.Object, metaclass=StartupTask_Static):
|
|
877
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
878
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
879
|
+
# System.Void Windows.ApplicationModel.StartupTask::Disable()
|
|
880
|
+
def disable(self) -> None: ...
|
|
881
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.ApplicationModel.StartupTaskState> Windows.ApplicationModel.StartupTask::RequestEnableAsync()
|
|
882
|
+
def request_enable_async(self) -> windows_foundation.IAsyncOperation[StartupTaskState]: ...
|
|
883
|
+
# Windows.ApplicationModel.StartupTaskState Windows.ApplicationModel.StartupTask::get_State()
|
|
884
|
+
@_property
|
|
885
|
+
def state(self) -> StartupTaskState: ...
|
|
886
|
+
# System.String Windows.ApplicationModel.StartupTask::get_TaskId()
|
|
887
|
+
@_property
|
|
888
|
+
def task_id(self) -> str: ...
|
|
889
|
+
|
|
890
|
+
@typing.final
|
|
891
|
+
class SuspendingDeferral(ISuspendingDeferral, winrt.system.Object):
|
|
892
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
893
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
894
|
+
# System.Void Windows.ApplicationModel.SuspendingDeferral::Complete()
|
|
895
|
+
def complete(self) -> None: ...
|
|
896
|
+
|
|
897
|
+
@typing.final
|
|
898
|
+
class SuspendingEventArgs(ISuspendingEventArgs, winrt.system.Object):
|
|
899
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
900
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
901
|
+
# Windows.ApplicationModel.SuspendingOperation Windows.ApplicationModel.SuspendingEventArgs::get_SuspendingOperation()
|
|
902
|
+
@_property
|
|
903
|
+
def suspending_operation(self) -> SuspendingOperation: ...
|
|
904
|
+
|
|
905
|
+
@typing.final
|
|
906
|
+
class SuspendingOperation(ISuspendingOperation, winrt.system.Object):
|
|
907
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
908
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
909
|
+
# Windows.ApplicationModel.SuspendingDeferral Windows.ApplicationModel.SuspendingOperation::GetDeferral()
|
|
910
|
+
def get_deferral(self) -> SuspendingDeferral: ...
|
|
911
|
+
# Windows.Foundation.DateTime Windows.ApplicationModel.SuspendingOperation::get_Deadline()
|
|
912
|
+
@_property
|
|
913
|
+
def deadline(self) -> datetime.datetime: ...
|
|
914
|
+
|
|
915
|
+
class IEnteredBackgroundEventArgs(winrt.system.Object):
|
|
916
|
+
# Windows.Foundation.Deferral Windows.ApplicationModel.IEnteredBackgroundEventArgs::GetDeferral()
|
|
917
|
+
@abstractmethod
|
|
918
|
+
def get_deferral(self) -> windows_foundation.Deferral: ...
|
|
919
|
+
|
|
920
|
+
class ILeavingBackgroundEventArgs(winrt.system.Object):
|
|
921
|
+
# Windows.Foundation.Deferral Windows.ApplicationModel.ILeavingBackgroundEventArgs::GetDeferral()
|
|
922
|
+
@abstractmethod
|
|
923
|
+
def get_deferral(self) -> windows_foundation.Deferral: ...
|
|
924
|
+
|
|
925
|
+
class IPackageCatalogStatics2(winrt.system.Object):
|
|
926
|
+
# Windows.ApplicationModel.PackageCatalog Windows.ApplicationModel.IPackageCatalogStatics2::OpenForPackage(Windows.ApplicationModel.Package)
|
|
927
|
+
@abstractmethod
|
|
928
|
+
def open_for_package(self, package: Package, /) -> PackageCatalog: ...
|
|
929
|
+
|
|
930
|
+
class ISuspendingDeferral(winrt.system.Object):
|
|
931
|
+
# System.Void Windows.ApplicationModel.ISuspendingDeferral::Complete()
|
|
932
|
+
@abstractmethod
|
|
933
|
+
def complete(self) -> None: ...
|
|
934
|
+
|
|
935
|
+
class ISuspendingEventArgs(winrt.system.Object):
|
|
936
|
+
# Windows.ApplicationModel.SuspendingOperation Windows.ApplicationModel.ISuspendingEventArgs::get_SuspendingOperation()
|
|
937
|
+
@_property
|
|
938
|
+
@abstractmethod
|
|
939
|
+
def suspending_operation(self) -> SuspendingOperation: ...
|
|
940
|
+
|
|
941
|
+
class ISuspendingOperation(winrt.system.Object):
|
|
942
|
+
# Windows.ApplicationModel.SuspendingDeferral Windows.ApplicationModel.ISuspendingOperation::GetDeferral()
|
|
943
|
+
@abstractmethod
|
|
944
|
+
def get_deferral(self) -> SuspendingDeferral: ...
|
|
945
|
+
# Windows.Foundation.DateTime Windows.ApplicationModel.ISuspendingOperation::get_Deadline()
|
|
946
|
+
@_property
|
|
947
|
+
@abstractmethod
|
|
948
|
+
def deadline(self) -> datetime.datetime: ...
|
|
949
|
+
|
|
Binary file
|
|
File without changes
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: winrt-Windows.ApplicationModel
|
|
3
|
+
Version: 4!10.0.28000.2705
|
|
4
|
+
Summary: PyWinRT projection of the Windows.ApplicationModel 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
|
+
Requires-Dist: winrt-windows-storage-streams>=4!10.0.28000.2705
|
|
26
|
+
Provides-Extra: all
|
|
27
|
+
Requires-Dist: winrt-windows-applicationmodel-activation[all]>=4!10.0.28000.2705; extra == 'all'
|
|
28
|
+
Requires-Dist: winrt-windows-applicationmodel-core[all]>=4!10.0.28000.2705; extra == 'all'
|
|
29
|
+
Requires-Dist: winrt-windows-foundation-collections[all]>=4!10.0.28000.2705; extra == 'all'
|
|
30
|
+
Requires-Dist: winrt-windows-foundation[all]>=4!10.0.28000.2705; extra == 'all'
|
|
31
|
+
Requires-Dist: winrt-windows-storage-streams[all]>=4!10.0.28000.2705; extra == 'all'
|
|
32
|
+
Requires-Dist: winrt-windows-storage[all]>=4!10.0.28000.2705; extra == 'all'
|
|
33
|
+
Requires-Dist: winrt-windows-system[all]>=4!10.0.28000.2705; extra == 'all'
|
|
34
|
+
Description-Content-Type: text/markdown
|
|
35
|
+
|
|
36
|
+
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
37
|
+
|
|
38
|
+
# winrt-Windows.ApplicationModel
|
|
39
|
+
|
|
40
|
+
Windows Runtime (WinRT) APIs for the `Windows.ApplicationModel` namespace.
|
|
41
|
+
|
|
42
|
+
This package provides the `winrt.windows.applicationmodel` module.
|
|
43
|
+
|
|
44
|
+
The WinRT APIs in it are those of version 10.0.28000.2705 of the
|
|
45
|
+
`Microsoft.Windows.SDK.CPP` NuGet package.
|
|
46
|
+
|
|
47
|
+
```
|
|
48
|
+
pip install winrt-Windows.ApplicationModel
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
Other WinRT namespaces are packages of their own, so install the package of
|
|
52
|
+
each namespace your code imports from.
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
winrt/windows/applicationmodel/__init__.py,sha256=vOBd3owfbxDZFN4nveDUD328XjKhARK7i1dIvvprXl4,2195
|
|
2
|
+
winrt/windows/applicationmodel/__init__.pyi,sha256=5nkdhFL4gmzQgFIBHluQhoCPZ0QIvAQaBxekCLlp8F4,55857
|
|
3
|
+
winrt/windows/applicationmodel/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
|
+
winrt/windows/applicationmodel/_table.pywinrt,sha256=Oq8h86LjJc0dCrQSAiOb79VeyEADMe_vH_qpCRPAlBo,86208
|
|
5
|
+
winrt_windows_applicationmodel-4!10.0.28000.2705.dist-info/METADATA,sha256=wwi__vetXtbhE9DX68G_j0rRfpaI9GeZ6kcNr3ihHvg,2443
|
|
6
|
+
winrt_windows_applicationmodel-4!10.0.28000.2705.dist-info/WHEEL,sha256=W3fkpkm7-wf9vBI5Z-7s0eWkeM-spu78I8Neb98DeEg,87
|
|
7
|
+
winrt_windows_applicationmodel-4!10.0.28000.2705.dist-info/licenses/LICENSE,sha256=dyVKOMqPV0fimbzMhqN3zpg6K6Y2OlekwrdfiZTBm8M,1225
|
|
8
|
+
winrt_windows_applicationmodel-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
|