winrt-Windows.ApplicationModel.Store.Preview.InstallControl 3.2.1__tar.gz → 4!10.0.28000.2705__tar.gz

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.
Files changed (24) hide show
  1. winrt_windows_applicationmodel_store_preview_installcontrol-4!10.0.28000.2705/.gitignore +5 -0
  2. winrt_windows_applicationmodel_store_preview_installcontrol-4!10.0.28000.2705/LICENSE +22 -0
  3. winrt_windows_applicationmodel_store_preview_installcontrol-4!10.0.28000.2705/PKG-INFO +48 -0
  4. winrt_windows_applicationmodel_store_preview_installcontrol-4!10.0.28000.2705/README.md +17 -0
  5. winrt_windows_applicationmodel_store_preview_installcontrol-4!10.0.28000.2705/pyproject.toml +60 -0
  6. winrt_windows_applicationmodel_store_preview_installcontrol-4!10.0.28000.2705/winrt/windows/applicationmodel/store/preview/installcontrol/__init__.py +39 -0
  7. winrt_windows_applicationmodel_store_preview_installcontrol-3.2.1/winrt/_winrt_windows_applicationmodel_store_preview_installcontrol.pyi → winrt_windows_applicationmodel_store_preview_installcontrol-4!10.0.28000.2705/winrt/windows/applicationmodel/store/preview/installcontrol/__init__.pyi +191 -35
  8. winrt_windows_applicationmodel_store_preview_installcontrol-4!10.0.28000.2705/winrt/windows/applicationmodel/store/preview/installcontrol/_table.pywinrt.txt +925 -0
  9. winrt_windows_applicationmodel_store_preview_installcontrol-3.2.1/PKG-INFO +0 -28
  10. winrt_windows_applicationmodel_store_preview_installcontrol-3.2.1/README.md +0 -7
  11. winrt_windows_applicationmodel_store_preview_installcontrol-3.2.1/all-requirements.txt +0 -6
  12. winrt_windows_applicationmodel_store_preview_installcontrol-3.2.1/py.Windows.ApplicationModel.Store.Preview.InstallControl.cpp +0 -5391
  13. winrt_windows_applicationmodel_store_preview_installcontrol-3.2.1/pyproject.toml +0 -47
  14. winrt_windows_applicationmodel_store_preview_installcontrol-3.2.1/pywinrt-version.txt +0 -1
  15. winrt_windows_applicationmodel_store_preview_installcontrol-3.2.1/requirements.txt +0 -3
  16. winrt_windows_applicationmodel_store_preview_installcontrol-3.2.1/setup.cfg +0 -4
  17. winrt_windows_applicationmodel_store_preview_installcontrol-3.2.1/setup.py +0 -33
  18. winrt_windows_applicationmodel_store_preview_installcontrol-3.2.1/winrt/windows/applicationmodel/store/preview/installcontrol/__init__.py +0 -69
  19. winrt_windows_applicationmodel_store_preview_installcontrol-3.2.1/winrt_Windows.ApplicationModel.Store.Preview.InstallControl.egg-info/PKG-INFO +0 -28
  20. winrt_windows_applicationmodel_store_preview_installcontrol-3.2.1/winrt_Windows.ApplicationModel.Store.Preview.InstallControl.egg-info/SOURCES.txt +0 -15
  21. winrt_windows_applicationmodel_store_preview_installcontrol-3.2.1/winrt_Windows.ApplicationModel.Store.Preview.InstallControl.egg-info/dependency_links.txt +0 -1
  22. winrt_windows_applicationmodel_store_preview_installcontrol-3.2.1/winrt_Windows.ApplicationModel.Store.Preview.InstallControl.egg-info/requires.txt +0 -7
  23. winrt_windows_applicationmodel_store_preview_installcontrol-3.2.1/winrt_Windows.ApplicationModel.Store.Preview.InstallControl.egg-info/top_level.txt +0 -1
  24. {winrt_windows_applicationmodel_store_preview_installcontrol-3.2.1 → winrt_windows_applicationmodel_store_preview_installcontrol-4!10.0.28000.2705}/winrt/windows/applicationmodel/store/preview/installcontrol/py.typed +0 -0
@@ -0,0 +1,5 @@
1
+ *.egg-info
2
+ *.tar.gz
3
+ *.whl
4
+ build/
5
+ dist/
@@ -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
@@ -0,0 +1,48 @@
1
+ Metadata-Version: 2.5
2
+ Name: winrt-Windows.ApplicationModel.Store.Preview.InstallControl
3
+ Version: 4!10.0.28000.2705
4
+ Summary: PyWinRT projection of the Windows.ApplicationModel.Store.Preview.InstallControl 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-foundation-collections[all]>=4!10.0.28000.2705; extra == 'all'
27
+ Requires-Dist: winrt-windows-foundation[all]>=4!10.0.28000.2705; extra == 'all'
28
+ Requires-Dist: winrt-windows-management-deployment[all]>=4!10.0.28000.2705; extra == 'all'
29
+ Requires-Dist: winrt-windows-system[all]>=4!10.0.28000.2705; extra == 'all'
30
+ Description-Content-Type: text/markdown
31
+
32
+ <!-- warning: Please don't edit this file. It was automatically generated. -->
33
+
34
+ # winrt-Windows.ApplicationModel.Store.Preview.InstallControl
35
+
36
+ Windows Runtime (WinRT) APIs for the `Windows.ApplicationModel.Store.Preview.InstallControl` namespace.
37
+
38
+ This package provides the `winrt.windows.applicationmodel.store.preview.installcontrol` module.
39
+
40
+ The WinRT APIs in it are those of version 10.0.28000.2705 of the
41
+ `Microsoft.Windows.SDK.CPP` NuGet package.
42
+
43
+ ```
44
+ pip install winrt-Windows.ApplicationModel.Store.Preview.InstallControl
45
+ ```
46
+
47
+ Other WinRT namespaces are packages of their own, so install the package of
48
+ each namespace your code imports from.
@@ -0,0 +1,17 @@
1
+ <!-- warning: Please don't edit this file. It was automatically generated. -->
2
+
3
+ # winrt-Windows.ApplicationModel.Store.Preview.InstallControl
4
+
5
+ Windows Runtime (WinRT) APIs for the `Windows.ApplicationModel.Store.Preview.InstallControl` namespace.
6
+
7
+ This package provides the `winrt.windows.applicationmodel.store.preview.installcontrol` module.
8
+
9
+ The WinRT APIs in it are those of version 10.0.28000.2705 of the
10
+ `Microsoft.Windows.SDK.CPP` NuGet package.
11
+
12
+ ```
13
+ pip install winrt-Windows.ApplicationModel.Store.Preview.InstallControl
14
+ ```
15
+
16
+ Other WinRT namespaces are packages of their own, so install the package of
17
+ each namespace your code imports from.
@@ -0,0 +1,60 @@
1
+ # WARNING: Please don't edit this file. It was automatically generated.
2
+
3
+ [build-system]
4
+ requires = ["hatchling", "winrt-table-compiler>=4.0.0,<5"]
5
+ build-backend = "hatchling.build"
6
+
7
+ [project]
8
+ name = "winrt-Windows.ApplicationModel.Store.Preview.InstallControl"
9
+ version = "4!10.0.28000.2705"
10
+ description = "PyWinRT projection of the Windows.ApplicationModel.Store.Preview.InstallControl namespace"
11
+ readme = "README.md"
12
+ license = "MIT"
13
+ license-files = ["LICENSE"]
14
+ classifiers = [
15
+ "Operating System :: Microsoft :: Windows",
16
+ "Programming Language :: Python :: 3",
17
+ "Programming Language :: Python :: 3.11",
18
+ "Programming Language :: Python :: 3.12",
19
+ "Programming Language :: Python :: 3.13",
20
+ "Programming Language :: Python :: 3.14",
21
+ "Programming Language :: Python :: 3.15",
22
+ "Programming Language :: Python :: Implementation :: CPython",
23
+ "Intended Audience :: Developers",
24
+ "Programming Language :: Python :: Free Threading :: 2 - Beta",
25
+ "Typing :: Typed",
26
+ ]
27
+ requires-python = ">=3.11"
28
+ dependencies = [
29
+ "winrt-runtime>=4.0.0,<5",
30
+ "winrt-Windows.Foundation>=4!10.0.28000.2705",
31
+ "winrt-Windows.Foundation.Collections>=4!10.0.28000.2705",
32
+ ]
33
+
34
+ [project.optional-dependencies]
35
+ all = [
36
+ "winrt-Windows.Foundation[all]>=4!10.0.28000.2705",
37
+ "winrt-Windows.Foundation.Collections[all]>=4!10.0.28000.2705",
38
+ "winrt-Windows.Management.Deployment[all]>=4!10.0.28000.2705",
39
+ "winrt-Windows.System[all]>=4!10.0.28000.2705",
40
+ ]
41
+
42
+ [project.urls]
43
+ Documentation = "https://pywinrt.readthedocs.io"
44
+ Repository = "https://github.com/pywinrt/pywinrt"
45
+ Changelog = "https://github.com/pywinrt/pywinrt/blob/main/projection/winrt/CHANGELOG.md"
46
+
47
+ [tool.hatch.build.targets.sdist]
48
+ # The text form of the table is what the source distribution carries, and the
49
+ # compiled form is build output wherever it turns up. Hatchling reads no
50
+ # .gitignore above the package, so it has to be told about the latter.
51
+ only-include = ["winrt", "LICENSE", "README.md"]
52
+ exclude = ["**/_table.pywinrt"]
53
+
54
+ [tool.hatch.build.targets.wheel]
55
+ packages = ["winrt"]
56
+ exclude = ["**/_table.pywinrt.txt"]
57
+
58
+ # winrt.table.build_hooks in winrt-table-compiler, which compiles each table
59
+ # the package carries and puts the result beside the __init__.py that loads it.
60
+ [tool.hatch.build.targets.wheel.hooks.winrt-table-compiler]
@@ -0,0 +1,39 @@
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
+ "AppInstallState",
10
+ "AppInstallType",
11
+ "AppInstallationToastNotificationMode",
12
+ "AutoUpdateSetting",
13
+ "GetEntitlementStatus",
14
+ "AppInstallItem",
15
+ "AppInstallManager",
16
+ "AppInstallManagerItemEventArgs",
17
+ "AppInstallOptions",
18
+ "AppInstallStatus",
19
+ "AppUpdateOptions",
20
+ "GetEntitlementResult",
21
+ ]
22
+
23
+ winrt.runtime._internals.alias_method(AppInstallItem, "cancel_with_telemetry", "cancel")
24
+ winrt.runtime._internals.alias_method(AppInstallItem, "pause_with_telemetry", "pause")
25
+ winrt.runtime._internals.alias_method(AppInstallItem, "restart_with_telemetry", "restart")
26
+ winrt.runtime._internals.alias_method(AppInstallManager, "cancel_with_telemetry", "cancel")
27
+ winrt.runtime._internals.alias_method(AppInstallManager, "get_is_app_allowed_to_install_with_telemetry_async", "get_is_app_allowed_to_install_async")
28
+ winrt.runtime._internals.alias_method(AppInstallManager, "pause_with_telemetry", "pause")
29
+ winrt.runtime._internals.alias_method(AppInstallManager, "restart_with_telemetry", "restart")
30
+ winrt.runtime._internals.alias_method(AppInstallManager, "search_for_all_updates_with_telemetry_async", "search_for_all_updates_async")
31
+ winrt.runtime._internals.alias_method(AppInstallManager, "search_for_all_updates_with_update_options_async", "search_for_all_updates_async")
32
+ winrt.runtime._internals.alias_method(AppInstallManager, "search_for_all_updates_with_update_options_for_user_async", "search_for_all_updates_for_user_async")
33
+ winrt.runtime._internals.alias_method(AppInstallManager, "search_for_updates_with_telemetry_async", "search_for_updates_async")
34
+ winrt.runtime._internals.alias_method(AppInstallManager, "search_for_updates_with_update_options_async", "search_for_updates_async")
35
+ winrt.runtime._internals.alias_method(AppInstallManager, "search_for_updates_with_update_options_for_user_async", "search_for_updates_for_user_async")
36
+ winrt.runtime._internals.alias_method(AppInstallManager, "start_app_install_with_telemetry_async", "start_app_install_async")
37
+ winrt.runtime._internals.alias_method(AppInstallManager, "start_product_install_with_options_async", "start_product_install_async")
38
+ winrt.runtime._internals.alias_method(AppInstallManager, "start_product_install_with_options_for_user_async", "start_product_install_for_user_async")
39
+ winrt.runtime._internals.alias_method(AppInstallManager, "update_app_by_package_family_name_with_telemetry_async", "update_app_by_package_family_name_async")
@@ -1,47 +1,115 @@
1
- # WARNING: Please don't edit this file. It was generated by Python/WinRT v3.2.1
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT
2
2
 
3
- import datetime
4
- import sys
5
- import types
3
+ import collections.abc as _cabc
4
+ import enum
6
5
  import typing
7
- import uuid as _uuid
8
6
  from builtins import property as _property
7
+ from typing_extensions import deprecated
9
8
 
10
- import winrt._winrt
11
9
  import winrt.system
12
10
  import winrt.windows.foundation as windows_foundation
13
11
  import winrt.windows.foundation.collections as windows_foundation_collections
14
12
  import winrt.windows.management.deployment as windows_management_deployment
15
13
  import winrt.windows.system as windows_system
16
14
 
17
- from winrt.windows.applicationmodel.store.preview.installcontrol import AppInstallState, AppInstallType, AppInstallationToastNotificationMode, AutoUpdateSetting, GetEntitlementStatus
15
+ __all__ = [
16
+ "AppInstallState",
17
+ "AppInstallType",
18
+ "AppInstallationToastNotificationMode",
19
+ "AutoUpdateSetting",
20
+ "GetEntitlementStatus",
21
+ "AppInstallItem",
22
+ "AppInstallManager",
23
+ "AppInstallManagerItemEventArgs",
24
+ "AppInstallOptions",
25
+ "AppInstallStatus",
26
+ "AppUpdateOptions",
27
+ "GetEntitlementResult",
28
+ ]
18
29
 
19
- Self = typing.TypeVar('Self')
30
+ class AppInstallState(enum.IntEnum):
31
+ PENDING = 0
32
+ STARTING = 1
33
+ ACQUIRING_LICENSE = 2
34
+ DOWNLOADING = 3
35
+ RESTORING_DATA = 4
36
+ INSTALLING = 5
37
+ COMPLETED = 6
38
+ CANCELED = 7
39
+ PAUSED = 8
40
+ ERROR = 9
41
+ PAUSED_LOW_BATTERY = 10
42
+ PAUSED_WI_FI_RECOMMENDED = 11
43
+ PAUSED_WI_FI_REQUIRED = 12
44
+ READY_TO_DOWNLOAD = 13
45
+
46
+ class AppInstallType(enum.IntEnum):
47
+ INSTALL = 0
48
+ UPDATE = 1
49
+ REPAIR = 2
50
+
51
+ class AppInstallationToastNotificationMode(enum.IntEnum):
52
+ DEFAULT = 0
53
+ TOAST = 1
54
+ TOAST_WITHOUT_POPUP = 2
55
+ NO_TOAST = 3
56
+
57
+ class AutoUpdateSetting(enum.IntEnum):
58
+ DISABLED = 0
59
+ ENABLED = 1
60
+ DISABLED_BY_POLICY = 2
61
+ ENABLED_BY_POLICY = 3
62
+
63
+ class GetEntitlementStatus(enum.IntEnum):
64
+ SUCCEEDED = 0
65
+ NO_STORE_ACCOUNT = 1
66
+ NETWORK_ERROR = 2
67
+ SERVER_ERROR = 3
20
68
 
21
69
  @typing.final
22
70
  class AppInstallItem(winrt.system.Object):
71
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
72
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
73
+ @typing.overload
23
74
  # System.Void Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallItem::Cancel()
24
75
  def cancel(self) -> None: ...
76
+ @typing.overload
77
+ # System.Void Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallItem::Cancel(System.String)
78
+ def cancel(self, correlation_vector: str, /) -> None: ...
79
+ # Deprecated alias of cancel() for pywinrt v3.x compatibility.
25
80
  # System.Void Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallItem::Cancel(System.String)
81
+ @deprecated("Use cancel() instead.")
26
82
  def cancel_with_telemetry(self, correlation_vector: str, /) -> None: ...
27
83
  # Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallStatus Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallItem::GetCurrentStatus()
28
84
  def get_current_status(self) -> AppInstallStatus: ...
85
+ @typing.overload
29
86
  # System.Void Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallItem::Pause()
30
87
  def pause(self) -> None: ...
88
+ @typing.overload
31
89
  # System.Void Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallItem::Pause(System.String)
90
+ def pause(self, correlation_vector: str, /) -> None: ...
91
+ # Deprecated alias of pause() for pywinrt v3.x compatibility.
92
+ # System.Void Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallItem::Pause(System.String)
93
+ @deprecated("Use pause() instead.")
32
94
  def pause_with_telemetry(self, correlation_vector: str, /) -> None: ...
95
+ @typing.overload
33
96
  # System.Void Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallItem::Restart()
34
97
  def restart(self) -> None: ...
98
+ @typing.overload
99
+ # System.Void Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallItem::Restart(System.String)
100
+ def restart(self, correlation_vector: str, /) -> None: ...
101
+ # Deprecated alias of restart() for pywinrt v3.x compatibility.
35
102
  # System.Void Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallItem::Restart(System.String)
103
+ @deprecated("Use restart() instead.")
36
104
  def restart_with_telemetry(self, correlation_vector: str, /) -> None: ...
37
105
  # Windows.Foundation.EventRegistrationToken Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallItem::add_Completed(Windows.Foundation.TypedEventHandler`2<Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallItem,System.Object>)
38
106
  def add_completed(self, handler: windows_foundation.TypedEventHandler[AppInstallItem, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
39
107
  # System.Void Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallItem::remove_Completed(Windows.Foundation.EventRegistrationToken)
40
- def remove_completed(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
108
+ def remove_completed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
41
109
  # Windows.Foundation.EventRegistrationToken Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallItem::add_StatusChanged(Windows.Foundation.TypedEventHandler`2<Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallItem,System.Object>)
42
110
  def add_status_changed(self, handler: windows_foundation.TypedEventHandler[AppInstallItem, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
43
111
  # System.Void Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallItem::remove_StatusChanged(Windows.Foundation.EventRegistrationToken)
44
- def remove_status_changed(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
112
+ def remove_status_changed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
45
113
  # Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallType Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallItem::get_InstallType()
46
114
  @_property
47
115
  def install_type(self) -> AppInstallType: ...
@@ -56,7 +124,7 @@ class AppInstallItem(winrt.system.Object):
56
124
  def product_id(self) -> str: ...
57
125
  # Windows.Foundation.Collections.IVectorView`1<Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallItem> Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallItem::get_Children()
58
126
  @_property
59
- def children(self) -> typing.Sequence[AppInstallItem]: ...
127
+ def children(self) -> _cabc.Sequence[AppInstallItem]: ...
60
128
  # System.Boolean Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallItem::get_ItemOperationsMightAffectOtherItems()
61
129
  @_property
62
130
  def item_operations_might_affect_other_items(self) -> bool: ...
@@ -99,10 +167,16 @@ class AppInstallItem(winrt.system.Object):
99
167
 
100
168
  @typing.final
101
169
  class AppInstallManager(winrt.system.Object):
102
- def __new__(cls: typing.Type[Self]) -> Self: ...
170
+ def __new__(cls) -> typing.Self: ...
171
+ @typing.overload
103
172
  # System.Void Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallManager::Cancel(System.String)
104
173
  def cancel(self, product_id: str, /) -> None: ...
174
+ @typing.overload
175
+ # System.Void Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallManager::Cancel(System.String,System.String)
176
+ def cancel(self, product_id: str, correlation_vector: str, /) -> None: ...
177
+ # Deprecated alias of cancel() for pywinrt v3.x compatibility.
105
178
  # System.Void Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallManager::Cancel(System.String,System.String)
179
+ @deprecated("Use cancel() instead.")
106
180
  def cancel_with_telemetry(self, product_id: str, correlation_vector: str, /) -> None: ...
107
181
  # Windows.Foundation.IAsyncOperation`1<Windows.ApplicationModel.Store.Preview.InstallControl.GetEntitlementResult> Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallManager::GetFreeDeviceEntitlementAsync(System.String,System.String,System.String)
108
182
  def get_free_device_entitlement_async(self, store_id: str, campaign_id: str, correlation_vector: str, /) -> windows_foundation.IAsyncOperation[GetEntitlementResult]: ...
@@ -110,12 +184,18 @@ class AppInstallManager(winrt.system.Object):
110
184
  def get_free_user_entitlement_async(self, store_id: str, campaign_id: str, correlation_vector: str, /) -> windows_foundation.IAsyncOperation[GetEntitlementResult]: ...
111
185
  # Windows.Foundation.IAsyncOperation`1<Windows.ApplicationModel.Store.Preview.InstallControl.GetEntitlementResult> Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallManager::GetFreeUserEntitlementForUserAsync(Windows.System.User,System.String,System.String,System.String)
112
186
  def get_free_user_entitlement_for_user_async(self, user: windows_system.User, store_id: str, campaign_id: str, correlation_vector: str, /) -> windows_foundation.IAsyncOperation[GetEntitlementResult]: ...
187
+ @typing.overload
113
188
  # Windows.Foundation.IAsyncOperation`1<System.Boolean> Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallManager::GetIsAppAllowedToInstallAsync(System.String)
114
189
  def get_is_app_allowed_to_install_async(self, product_id: str, /) -> windows_foundation.IAsyncOperation[bool]: ...
115
- # Windows.Foundation.IAsyncOperation`1<System.Boolean> Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallManager::GetIsAppAllowedToInstallForUserAsync(Windows.System.User,System.String,System.String,System.String,System.String)
116
- def get_is_app_allowed_to_install_for_user_async(self, user: windows_system.User, product_id: str, sku_id: str, catalog_id: str, correlation_vector: str, /) -> windows_foundation.IAsyncOperation[bool]: ...
190
+ @typing.overload
117
191
  # Windows.Foundation.IAsyncOperation`1<System.Boolean> Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallManager::GetIsAppAllowedToInstallAsync(System.String,System.String,System.String,System.String)
192
+ def get_is_app_allowed_to_install_async(self, product_id: str, sku_id: str, catalog_id: str, correlation_vector: str, /) -> windows_foundation.IAsyncOperation[bool]: ...
193
+ # Deprecated alias of get_is_app_allowed_to_install_async() for pywinrt v3.x compatibility.
194
+ # Windows.Foundation.IAsyncOperation`1<System.Boolean> Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallManager::GetIsAppAllowedToInstallAsync(System.String,System.String,System.String,System.String)
195
+ @deprecated("Use get_is_app_allowed_to_install_async() instead.")
118
196
  def get_is_app_allowed_to_install_with_telemetry_async(self, product_id: str, sku_id: str, catalog_id: str, correlation_vector: str, /) -> windows_foundation.IAsyncOperation[bool]: ...
197
+ # Windows.Foundation.IAsyncOperation`1<System.Boolean> Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallManager::GetIsAppAllowedToInstallForUserAsync(Windows.System.User,System.String,System.String,System.String,System.String)
198
+ def get_is_app_allowed_to_install_for_user_async(self, user: windows_system.User, product_id: str, sku_id: str, catalog_id: str, correlation_vector: str, /) -> windows_foundation.IAsyncOperation[bool]: ...
119
199
  # Windows.Foundation.IAsyncOperation`1<System.Boolean> Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallManager::GetIsApplicableAsync(System.String,System.String)
120
200
  def get_is_applicable_async(self, product_id: str, sku_id: str, /) -> windows_foundation.IAsyncOperation[bool]: ...
121
201
  # Windows.Foundation.IAsyncOperation`1<System.Boolean> Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallManager::GetIsApplicableForUserAsync(Windows.System.User,System.String,System.String)
@@ -128,60 +208,130 @@ class AppInstallManager(winrt.system.Object):
128
208
  def is_store_blocked_by_policy_async(self, store_client_name: str, store_client_publisher: str, /) -> windows_foundation.IAsyncOperation[bool]: ...
129
209
  # System.Void Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallManager::MoveToFrontOfDownloadQueue(System.String,System.String)
130
210
  def move_to_front_of_download_queue(self, product_id: str, correlation_vector: str, /) -> None: ...
211
+ @typing.overload
131
212
  # System.Void Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallManager::Pause(System.String)
132
213
  def pause(self, product_id: str, /) -> None: ...
214
+ @typing.overload
133
215
  # System.Void Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallManager::Pause(System.String,System.String)
216
+ def pause(self, product_id: str, correlation_vector: str, /) -> None: ...
217
+ # Deprecated alias of pause() for pywinrt v3.x compatibility.
218
+ # System.Void Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallManager::Pause(System.String,System.String)
219
+ @deprecated("Use pause() instead.")
134
220
  def pause_with_telemetry(self, product_id: str, correlation_vector: str, /) -> None: ...
221
+ @typing.overload
135
222
  # System.Void Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallManager::Restart(System.String)
136
223
  def restart(self, product_id: str, /) -> None: ...
224
+ @typing.overload
225
+ # System.Void Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallManager::Restart(System.String,System.String)
226
+ def restart(self, product_id: str, correlation_vector: str, /) -> None: ...
227
+ # Deprecated alias of restart() for pywinrt v3.x compatibility.
137
228
  # System.Void Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallManager::Restart(System.String,System.String)
229
+ @deprecated("Use restart() instead.")
138
230
  def restart_with_telemetry(self, product_id: str, correlation_vector: str, /) -> None: ...
231
+ @typing.overload
139
232
  # Windows.Foundation.IAsyncOperation`1<Windows.Foundation.Collections.IVectorView`1<Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallItem>> Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallManager::SearchForAllUpdatesAsync()
140
- def search_for_all_updates_async(self) -> windows_foundation.IAsyncOperation[typing.Sequence[AppInstallItem]]: ...
141
- # Windows.Foundation.IAsyncOperation`1<Windows.Foundation.Collections.IVectorView`1<Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallItem>> Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallManager::SearchForAllUpdatesForUserAsync(Windows.System.User,System.String)
142
- def search_for_all_updates_for_user_async(self, user: windows_system.User, correlation_vector: str, /) -> windows_foundation.IAsyncOperation[typing.Sequence[AppInstallItem]]: ...
233
+ def search_for_all_updates_async(self) -> windows_foundation.IAsyncOperation[_cabc.Sequence[AppInstallItem]]: ...
234
+ @typing.overload
235
+ # Windows.Foundation.IAsyncOperation`1<Windows.Foundation.Collections.IVectorView`1<Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallItem>> Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallManager::SearchForAllUpdatesAsync(System.String)
236
+ def search_for_all_updates_async(self, correlation_vector: str, /) -> windows_foundation.IAsyncOperation[_cabc.Sequence[AppInstallItem]]: ...
237
+ @typing.overload
238
+ # Windows.Foundation.IAsyncOperation`1<Windows.Foundation.Collections.IVectorView`1<Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallItem>> Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallManager::SearchForAllUpdatesAsync(System.String,System.String,Windows.ApplicationModel.Store.Preview.InstallControl.AppUpdateOptions)
239
+ def search_for_all_updates_async(self, correlation_vector: str, client_id: str, update_options: AppUpdateOptions, /) -> windows_foundation.IAsyncOperation[_cabc.Sequence[AppInstallItem]]: ...
240
+ # Deprecated alias of search_for_all_updates_async() for pywinrt v3.x compatibility.
143
241
  # Windows.Foundation.IAsyncOperation`1<Windows.Foundation.Collections.IVectorView`1<Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallItem>> Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallManager::SearchForAllUpdatesAsync(System.String)
144
- def search_for_all_updates_with_telemetry_async(self, correlation_vector: str, /) -> windows_foundation.IAsyncOperation[typing.Sequence[AppInstallItem]]: ...
242
+ @deprecated("Use search_for_all_updates_async() instead.")
243
+ def search_for_all_updates_with_telemetry_async(self, correlation_vector: str, /) -> windows_foundation.IAsyncOperation[_cabc.Sequence[AppInstallItem]]: ...
244
+ # Deprecated alias of search_for_all_updates_async() for pywinrt v3.x compatibility.
145
245
  # Windows.Foundation.IAsyncOperation`1<Windows.Foundation.Collections.IVectorView`1<Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallItem>> Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallManager::SearchForAllUpdatesAsync(System.String,System.String,Windows.ApplicationModel.Store.Preview.InstallControl.AppUpdateOptions)
146
- def search_for_all_updates_with_update_options_async(self, correlation_vector: str, client_id: str, update_options: AppUpdateOptions, /) -> windows_foundation.IAsyncOperation[typing.Sequence[AppInstallItem]]: ...
246
+ @deprecated("Use search_for_all_updates_async() instead.")
247
+ def search_for_all_updates_with_update_options_async(self, correlation_vector: str, client_id: str, update_options: AppUpdateOptions, /) -> windows_foundation.IAsyncOperation[_cabc.Sequence[AppInstallItem]]: ...
248
+ @typing.overload
249
+ # Windows.Foundation.IAsyncOperation`1<Windows.Foundation.Collections.IVectorView`1<Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallItem>> Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallManager::SearchForAllUpdatesForUserAsync(Windows.System.User,System.String)
250
+ def search_for_all_updates_for_user_async(self, user: windows_system.User, correlation_vector: str, /) -> windows_foundation.IAsyncOperation[_cabc.Sequence[AppInstallItem]]: ...
251
+ @typing.overload
147
252
  # Windows.Foundation.IAsyncOperation`1<Windows.Foundation.Collections.IVectorView`1<Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallItem>> Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallManager::SearchForAllUpdatesForUserAsync(Windows.System.User,System.String,System.String,Windows.ApplicationModel.Store.Preview.InstallControl.AppUpdateOptions)
148
- def search_for_all_updates_with_update_options_for_user_async(self, user: windows_system.User, correlation_vector: str, client_id: str, update_options: AppUpdateOptions, /) -> windows_foundation.IAsyncOperation[typing.Sequence[AppInstallItem]]: ...
253
+ def search_for_all_updates_for_user_async(self, user: windows_system.User, correlation_vector: str, client_id: str, update_options: AppUpdateOptions, /) -> windows_foundation.IAsyncOperation[_cabc.Sequence[AppInstallItem]]: ...
254
+ # Deprecated alias of search_for_all_updates_for_user_async() for pywinrt v3.x compatibility.
255
+ # Windows.Foundation.IAsyncOperation`1<Windows.Foundation.Collections.IVectorView`1<Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallItem>> Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallManager::SearchForAllUpdatesForUserAsync(Windows.System.User,System.String,System.String,Windows.ApplicationModel.Store.Preview.InstallControl.AppUpdateOptions)
256
+ @deprecated("Use search_for_all_updates_for_user_async() instead.")
257
+ def search_for_all_updates_with_update_options_for_user_async(self, user: windows_system.User, correlation_vector: str, client_id: str, update_options: AppUpdateOptions, /) -> windows_foundation.IAsyncOperation[_cabc.Sequence[AppInstallItem]]: ...
258
+ @typing.overload
149
259
  # Windows.Foundation.IAsyncOperation`1<Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallItem> Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallManager::SearchForUpdatesAsync(System.String,System.String)
150
260
  def search_for_updates_async(self, product_id: str, sku_id: str, /) -> windows_foundation.IAsyncOperation[AppInstallItem]: ...
151
- # Windows.Foundation.IAsyncOperation`1<Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallItem> Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallManager::SearchForUpdatesForUserAsync(Windows.System.User,System.String,System.String,System.String,System.String)
152
- def search_for_updates_for_user_async(self, user: windows_system.User, product_id: str, sku_id: str, catalog_id: str, correlation_vector: str, /) -> windows_foundation.IAsyncOperation[AppInstallItem]: ...
261
+ @typing.overload
262
+ # Windows.Foundation.IAsyncOperation`1<Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallItem> Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallManager::SearchForUpdatesAsync(System.String,System.String,System.String,System.String)
263
+ def search_for_updates_async(self, product_id: str, sku_id: str, catalog_id: str, correlation_vector: str, /) -> windows_foundation.IAsyncOperation[AppInstallItem]: ...
264
+ @typing.overload
265
+ # Windows.Foundation.IAsyncOperation`1<Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallItem> Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallManager::SearchForUpdatesAsync(System.String,System.String,System.String,System.String,Windows.ApplicationModel.Store.Preview.InstallControl.AppUpdateOptions)
266
+ def search_for_updates_async(self, product_id: str, sku_id: str, correlation_vector: str, client_id: str, update_options: AppUpdateOptions, /) -> windows_foundation.IAsyncOperation[AppInstallItem]: ...
267
+ # Deprecated alias of search_for_updates_async() for pywinrt v3.x compatibility.
153
268
  # Windows.Foundation.IAsyncOperation`1<Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallItem> Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallManager::SearchForUpdatesAsync(System.String,System.String,System.String,System.String)
269
+ @deprecated("Use search_for_updates_async() instead.")
154
270
  def search_for_updates_with_telemetry_async(self, product_id: str, sku_id: str, catalog_id: str, correlation_vector: str, /) -> windows_foundation.IAsyncOperation[AppInstallItem]: ...
271
+ # Deprecated alias of search_for_updates_async() for pywinrt v3.x compatibility.
155
272
  # Windows.Foundation.IAsyncOperation`1<Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallItem> Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallManager::SearchForUpdatesAsync(System.String,System.String,System.String,System.String,Windows.ApplicationModel.Store.Preview.InstallControl.AppUpdateOptions)
273
+ @deprecated("Use search_for_updates_async() instead.")
156
274
  def search_for_updates_with_update_options_async(self, product_id: str, sku_id: str, correlation_vector: str, client_id: str, update_options: AppUpdateOptions, /) -> windows_foundation.IAsyncOperation[AppInstallItem]: ...
275
+ @typing.overload
276
+ # Windows.Foundation.IAsyncOperation`1<Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallItem> Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallManager::SearchForUpdatesForUserAsync(Windows.System.User,System.String,System.String,System.String,System.String)
277
+ def search_for_updates_for_user_async(self, user: windows_system.User, product_id: str, sku_id: str, catalog_id: str, correlation_vector: str, /) -> windows_foundation.IAsyncOperation[AppInstallItem]: ...
278
+ @typing.overload
157
279
  # Windows.Foundation.IAsyncOperation`1<Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallItem> Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallManager::SearchForUpdatesForUserAsync(Windows.System.User,System.String,System.String,System.String,System.String,Windows.ApplicationModel.Store.Preview.InstallControl.AppUpdateOptions)
280
+ def search_for_updates_for_user_async(self, user: windows_system.User, product_id: str, sku_id: str, correlation_vector: str, client_id: str, update_options: AppUpdateOptions, /) -> windows_foundation.IAsyncOperation[AppInstallItem]: ...
281
+ # Deprecated alias of search_for_updates_for_user_async() for pywinrt v3.x compatibility.
282
+ # Windows.Foundation.IAsyncOperation`1<Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallItem> Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallManager::SearchForUpdatesForUserAsync(Windows.System.User,System.String,System.String,System.String,System.String,Windows.ApplicationModel.Store.Preview.InstallControl.AppUpdateOptions)
283
+ @deprecated("Use search_for_updates_for_user_async() instead.")
158
284
  def search_for_updates_with_update_options_for_user_async(self, user: windows_system.User, product_id: str, sku_id: str, correlation_vector: str, client_id: str, update_options: AppUpdateOptions, /) -> windows_foundation.IAsyncOperation[AppInstallItem]: ...
285
+ @typing.overload
159
286
  # Windows.Foundation.IAsyncOperation`1<Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallItem> Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallManager::StartAppInstallAsync(System.String,System.String,System.Boolean,System.Boolean)
160
287
  def start_app_install_async(self, product_id: str, sku_id: str, repair: bool, force_use_of_non_removable_storage: bool, /) -> windows_foundation.IAsyncOperation[AppInstallItem]: ...
288
+ @typing.overload
289
+ # Windows.Foundation.IAsyncOperation`1<Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallItem> Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallManager::StartAppInstallAsync(System.String,System.String,System.Boolean,System.Boolean,System.String,System.String,System.String)
290
+ def start_app_install_async(self, product_id: str, sku_id: str, repair: bool, force_use_of_non_removable_storage: bool, catalog_id: str, bundle_id: str, correlation_vector: str, /) -> windows_foundation.IAsyncOperation[AppInstallItem]: ...
291
+ # Deprecated alias of start_app_install_async() for pywinrt v3.x compatibility.
161
292
  # Windows.Foundation.IAsyncOperation`1<Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallItem> Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallManager::StartAppInstallAsync(System.String,System.String,System.Boolean,System.Boolean,System.String,System.String,System.String)
293
+ @deprecated("Use start_app_install_async() instead.")
162
294
  def start_app_install_with_telemetry_async(self, product_id: str, sku_id: str, repair: bool, force_use_of_non_removable_storage: bool, catalog_id: str, bundle_id: str, correlation_vector: str, /) -> windows_foundation.IAsyncOperation[AppInstallItem]: ...
295
+ @typing.overload
296
+ # Windows.Foundation.IAsyncOperation`1<Windows.Foundation.Collections.IVectorView`1<Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallItem>> Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallManager::StartProductInstallAsync(System.String,System.String,System.String,System.String,Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallOptions)
297
+ def start_product_install_async(self, product_id: str, flight_id: str, client_id: str, correlation_vector: str, install_options: AppInstallOptions, /) -> windows_foundation.IAsyncOperation[_cabc.Sequence[AppInstallItem]]: ...
298
+ @typing.overload
163
299
  # Windows.Foundation.IAsyncOperation`1<Windows.Foundation.Collections.IVectorView`1<Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallItem>> Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallManager::StartProductInstallAsync(System.String,System.String,System.String,System.String,System.Boolean,System.Boolean,System.String,Windows.Management.Deployment.PackageVolume)
164
- def start_product_install_async(self, product_id: str, catalog_id: str, flight_id: str, client_id: str, repair: bool, force_use_of_non_removable_storage: bool, correlation_vector: str, target_volume: windows_management_deployment.PackageVolume, /) -> windows_foundation.IAsyncOperation[typing.Sequence[AppInstallItem]]: ...
165
- # Windows.Foundation.IAsyncOperation`1<Windows.Foundation.Collections.IVectorView`1<Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallItem>> Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallManager::StartProductInstallForUserAsync(Windows.System.User,System.String,System.String,System.String,System.String,System.Boolean,System.Boolean,System.String,Windows.Management.Deployment.PackageVolume)
166
- def start_product_install_for_user_async(self, user: windows_system.User, product_id: str, catalog_id: str, flight_id: str, client_id: str, repair: bool, force_use_of_non_removable_storage: bool, correlation_vector: str, target_volume: windows_management_deployment.PackageVolume, /) -> windows_foundation.IAsyncOperation[typing.Sequence[AppInstallItem]]: ...
300
+ def start_product_install_async(self, product_id: str, catalog_id: str, flight_id: str, client_id: str, repair: bool, force_use_of_non_removable_storage: bool, correlation_vector: str, target_volume: windows_management_deployment.PackageVolume, /) -> windows_foundation.IAsyncOperation[_cabc.Sequence[AppInstallItem]]: ...
301
+ # Deprecated alias of start_product_install_async() for pywinrt v3.x compatibility.
167
302
  # Windows.Foundation.IAsyncOperation`1<Windows.Foundation.Collections.IVectorView`1<Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallItem>> Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallManager::StartProductInstallAsync(System.String,System.String,System.String,System.String,Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallOptions)
168
- def start_product_install_with_options_async(self, product_id: str, flight_id: str, client_id: str, correlation_vector: str, install_options: AppInstallOptions, /) -> windows_foundation.IAsyncOperation[typing.Sequence[AppInstallItem]]: ...
303
+ @deprecated("Use start_product_install_async() instead.")
304
+ def start_product_install_with_options_async(self, product_id: str, flight_id: str, client_id: str, correlation_vector: str, install_options: AppInstallOptions, /) -> windows_foundation.IAsyncOperation[_cabc.Sequence[AppInstallItem]]: ...
305
+ @typing.overload
169
306
  # Windows.Foundation.IAsyncOperation`1<Windows.Foundation.Collections.IVectorView`1<Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallItem>> Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallManager::StartProductInstallForUserAsync(Windows.System.User,System.String,System.String,System.String,System.String,Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallOptions)
170
- def start_product_install_with_options_for_user_async(self, user: windows_system.User, product_id: str, flight_id: str, client_id: str, correlation_vector: str, install_options: AppInstallOptions, /) -> windows_foundation.IAsyncOperation[typing.Sequence[AppInstallItem]]: ...
307
+ def start_product_install_for_user_async(self, user: windows_system.User, product_id: str, flight_id: str, client_id: str, correlation_vector: str, install_options: AppInstallOptions, /) -> windows_foundation.IAsyncOperation[_cabc.Sequence[AppInstallItem]]: ...
308
+ @typing.overload
309
+ # Windows.Foundation.IAsyncOperation`1<Windows.Foundation.Collections.IVectorView`1<Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallItem>> Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallManager::StartProductInstallForUserAsync(Windows.System.User,System.String,System.String,System.String,System.String,System.Boolean,System.Boolean,System.String,Windows.Management.Deployment.PackageVolume)
310
+ def start_product_install_for_user_async(self, user: windows_system.User, product_id: str, catalog_id: str, flight_id: str, client_id: str, repair: bool, force_use_of_non_removable_storage: bool, correlation_vector: str, target_volume: windows_management_deployment.PackageVolume, /) -> windows_foundation.IAsyncOperation[_cabc.Sequence[AppInstallItem]]: ...
311
+ # Deprecated alias of start_product_install_for_user_async() for pywinrt v3.x compatibility.
312
+ # Windows.Foundation.IAsyncOperation`1<Windows.Foundation.Collections.IVectorView`1<Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallItem>> Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallManager::StartProductInstallForUserAsync(Windows.System.User,System.String,System.String,System.String,System.String,Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallOptions)
313
+ @deprecated("Use start_product_install_for_user_async() instead.")
314
+ def start_product_install_with_options_for_user_async(self, user: windows_system.User, product_id: str, flight_id: str, client_id: str, correlation_vector: str, install_options: AppInstallOptions, /) -> windows_foundation.IAsyncOperation[_cabc.Sequence[AppInstallItem]]: ...
315
+ @typing.overload
171
316
  # Windows.Foundation.IAsyncOperation`1<Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallItem> Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallManager::UpdateAppByPackageFamilyNameAsync(System.String)
172
317
  def update_app_by_package_family_name_async(self, package_family_name: str, /) -> windows_foundation.IAsyncOperation[AppInstallItem]: ...
173
- # Windows.Foundation.IAsyncOperation`1<Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallItem> Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallManager::UpdateAppByPackageFamilyNameForUserAsync(Windows.System.User,System.String,System.String)
174
- def update_app_by_package_family_name_for_user_async(self, user: windows_system.User, package_family_name: str, correlation_vector: str, /) -> windows_foundation.IAsyncOperation[AppInstallItem]: ...
318
+ @typing.overload
319
+ # Windows.Foundation.IAsyncOperation`1<Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallItem> Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallManager::UpdateAppByPackageFamilyNameAsync(System.String,System.String)
320
+ def update_app_by_package_family_name_async(self, package_family_name: str, correlation_vector: str, /) -> windows_foundation.IAsyncOperation[AppInstallItem]: ...
321
+ # Deprecated alias of update_app_by_package_family_name_async() for pywinrt v3.x compatibility.
175
322
  # Windows.Foundation.IAsyncOperation`1<Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallItem> Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallManager::UpdateAppByPackageFamilyNameAsync(System.String,System.String)
323
+ @deprecated("Use update_app_by_package_family_name_async() instead.")
176
324
  def update_app_by_package_family_name_with_telemetry_async(self, package_family_name: str, correlation_vector: str, /) -> windows_foundation.IAsyncOperation[AppInstallItem]: ...
325
+ # Windows.Foundation.IAsyncOperation`1<Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallItem> Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallManager::UpdateAppByPackageFamilyNameForUserAsync(Windows.System.User,System.String,System.String)
326
+ def update_app_by_package_family_name_for_user_async(self, user: windows_system.User, package_family_name: str, correlation_vector: str, /) -> windows_foundation.IAsyncOperation[AppInstallItem]: ...
177
327
  # Windows.Foundation.EventRegistrationToken Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallManager::add_ItemCompleted(Windows.Foundation.TypedEventHandler`2<Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallManager,Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallManagerItemEventArgs>)
178
328
  def add_item_completed(self, handler: windows_foundation.TypedEventHandler[AppInstallManager, AppInstallManagerItemEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
179
329
  # System.Void Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallManager::remove_ItemCompleted(Windows.Foundation.EventRegistrationToken)
180
- def remove_item_completed(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
330
+ def remove_item_completed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
181
331
  # Windows.Foundation.EventRegistrationToken Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallManager::add_ItemStatusChanged(Windows.Foundation.TypedEventHandler`2<Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallManager,Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallManagerItemEventArgs>)
182
332
  def add_item_status_changed(self, handler: windows_foundation.TypedEventHandler[AppInstallManager, AppInstallManagerItemEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
183
333
  # System.Void Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallManager::remove_ItemStatusChanged(Windows.Foundation.EventRegistrationToken)
184
- def remove_item_status_changed(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
334
+ def remove_item_status_changed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
185
335
  # Windows.ApplicationModel.Store.Preview.InstallControl.AutoUpdateSetting Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallManager::get_AutoUpdateSetting()
186
336
  @_property
187
337
  def auto_update_setting(self) -> AutoUpdateSetting: ...
@@ -196,23 +346,25 @@ class AppInstallManager(winrt.system.Object):
196
346
  def acquisition_identity(self, value: str) -> None: ...
197
347
  # Windows.Foundation.Collections.IVectorView`1<Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallItem> Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallManager::get_AppInstallItems()
198
348
  @_property
199
- def app_install_items(self) -> typing.Sequence[AppInstallItem]: ...
349
+ def app_install_items(self) -> _cabc.Sequence[AppInstallItem]: ...
200
350
  # Windows.Foundation.Collections.IVectorView`1<Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallItem> Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallManager::get_AppInstallItemsWithGroupSupport()
201
351
  @_property
202
- def app_install_items_with_group_support(self) -> typing.Sequence[AppInstallItem]: ...
352
+ def app_install_items_with_group_support(self) -> _cabc.Sequence[AppInstallItem]: ...
203
353
  # System.Boolean Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallManager::get_CanInstallForAllUsers()
204
354
  @_property
205
355
  def can_install_for_all_users(self) -> bool: ...
206
356
 
207
357
  @typing.final
208
358
  class AppInstallManagerItemEventArgs(winrt.system.Object):
359
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
360
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
209
361
  # Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallItem Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallManagerItemEventArgs::get_Item()
210
362
  @_property
211
363
  def item(self) -> AppInstallItem: ...
212
364
 
213
365
  @typing.final
214
366
  class AppInstallOptions(winrt.system.Object):
215
- def __new__(cls: typing.Type[Self]) -> Self: ...
367
+ def __new__(cls) -> typing.Self: ...
216
368
  # Windows.Management.Deployment.PackageVolume Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallOptions::get_TargetVolume()
217
369
  @_property
218
370
  def target_volume(self) -> windows_management_deployment.PackageVolume: ...
@@ -306,6 +458,8 @@ class AppInstallOptions(winrt.system.Object):
306
458
 
307
459
  @typing.final
308
460
  class AppInstallStatus(winrt.system.Object):
461
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
462
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
309
463
  # System.UInt64 Windows.ApplicationModel.Store.Preview.InstallControl.AppInstallStatus::get_BytesDownloaded()
310
464
  @_property
311
465
  def bytes_downloaded(self) -> winrt.system.UInt64: ...
@@ -333,7 +487,7 @@ class AppInstallStatus(winrt.system.Object):
333
487
 
334
488
  @typing.final
335
489
  class AppUpdateOptions(winrt.system.Object):
336
- def __new__(cls: typing.Type[Self]) -> Self: ...
490
+ def __new__(cls) -> typing.Self: ...
337
491
  # System.String Windows.ApplicationModel.Store.Preview.InstallControl.AppUpdateOptions::get_CatalogId()
338
492
  @_property
339
493
  def catalog_id(self) -> str: ...
@@ -355,6 +509,8 @@ class AppUpdateOptions(winrt.system.Object):
355
509
 
356
510
  @typing.final
357
511
  class GetEntitlementResult(winrt.system.Object):
512
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
513
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
358
514
  # Windows.ApplicationModel.Store.Preview.InstallControl.GetEntitlementStatus Windows.ApplicationModel.Store.Preview.InstallControl.GetEntitlementResult::get_Status()
359
515
  @_property
360
516
  def status(self) -> GetEntitlementStatus: ...