winrt-Windows.System.Profile 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/system/profile/__init__.py +32 -0
- winrt/windows/system/profile/__init__.pyi +360 -0
- winrt/windows/system/profile/_table.pywinrt +0 -0
- winrt/windows/system/profile/py.typed +0 -0
- winrt_windows_system_profile-4!10.0.28000.2705.dist-info/METADATA +49 -0
- winrt_windows_system_profile-4!10.0.28000.2705.dist-info/RECORD +8 -0
- winrt_windows_system_profile-4!10.0.28000.2705.dist-info/WHEEL +4 -0
- winrt_windows_system_profile-4!10.0.28000.2705.dist-info/licenses/LICENSE +22 -0
|
@@ -0,0 +1,32 @@
|
|
|
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
|
+
"PlatformAutomaticAppSignInPolicy",
|
|
10
|
+
"PlatformDataCollectionLevel",
|
|
11
|
+
"SystemIdentificationSource",
|
|
12
|
+
"SystemOutOfBoxExperienceState",
|
|
13
|
+
"UnsupportedAppRequirementReasons",
|
|
14
|
+
"AnalyticsInfo",
|
|
15
|
+
"AnalyticsVersionInfo",
|
|
16
|
+
"AppApplicability",
|
|
17
|
+
"EducationSettings",
|
|
18
|
+
"HardwareIdentification",
|
|
19
|
+
"HardwareToken",
|
|
20
|
+
"KnownRetailInfoProperties",
|
|
21
|
+
"PlatformAutomaticAppSignInManager",
|
|
22
|
+
"PlatformDiagnosticsAndUsageDataSettings",
|
|
23
|
+
"RetailInfo",
|
|
24
|
+
"SharedModeSettings",
|
|
25
|
+
"SmartAppControlPolicy",
|
|
26
|
+
"SystemIdentification",
|
|
27
|
+
"SystemIdentificationInfo",
|
|
28
|
+
"SystemSetupInfo",
|
|
29
|
+
"UnsupportedAppRequirement",
|
|
30
|
+
"WindowsIntegrityPolicy",
|
|
31
|
+
]
|
|
32
|
+
|
|
@@ -0,0 +1,360 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT
|
|
2
|
+
|
|
3
|
+
import collections.abc as _cabc
|
|
4
|
+
import enum
|
|
5
|
+
import typing
|
|
6
|
+
from builtins import property as _property
|
|
7
|
+
|
|
8
|
+
import winrt.system
|
|
9
|
+
import winrt.windows.foundation as windows_foundation
|
|
10
|
+
import winrt.windows.foundation.collections as windows_foundation_collections
|
|
11
|
+
import winrt.windows.storage.streams as windows_storage_streams
|
|
12
|
+
import winrt.windows.system as windows_system
|
|
13
|
+
|
|
14
|
+
__all__ = [
|
|
15
|
+
"PlatformAutomaticAppSignInPolicy",
|
|
16
|
+
"PlatformDataCollectionLevel",
|
|
17
|
+
"SystemIdentificationSource",
|
|
18
|
+
"SystemOutOfBoxExperienceState",
|
|
19
|
+
"UnsupportedAppRequirementReasons",
|
|
20
|
+
"AnalyticsInfo",
|
|
21
|
+
"AnalyticsVersionInfo",
|
|
22
|
+
"AppApplicability",
|
|
23
|
+
"EducationSettings",
|
|
24
|
+
"HardwareIdentification",
|
|
25
|
+
"HardwareToken",
|
|
26
|
+
"KnownRetailInfoProperties",
|
|
27
|
+
"PlatformAutomaticAppSignInManager",
|
|
28
|
+
"PlatformDiagnosticsAndUsageDataSettings",
|
|
29
|
+
"RetailInfo",
|
|
30
|
+
"SharedModeSettings",
|
|
31
|
+
"SmartAppControlPolicy",
|
|
32
|
+
"SystemIdentification",
|
|
33
|
+
"SystemIdentificationInfo",
|
|
34
|
+
"SystemSetupInfo",
|
|
35
|
+
"UnsupportedAppRequirement",
|
|
36
|
+
"WindowsIntegrityPolicy",
|
|
37
|
+
]
|
|
38
|
+
|
|
39
|
+
class PlatformAutomaticAppSignInPolicy(enum.IntEnum):
|
|
40
|
+
UNKNOWN = 0
|
|
41
|
+
PERMISSION_REQUIRED = 1
|
|
42
|
+
ALWAYS_ALLOWED = 2
|
|
43
|
+
|
|
44
|
+
class PlatformDataCollectionLevel(enum.IntEnum):
|
|
45
|
+
SECURITY = 0
|
|
46
|
+
BASIC = 1
|
|
47
|
+
ENHANCED = 2
|
|
48
|
+
FULL = 3
|
|
49
|
+
|
|
50
|
+
class SystemIdentificationSource(enum.IntEnum):
|
|
51
|
+
NONE = 0
|
|
52
|
+
TPM = 1
|
|
53
|
+
UEFI = 2
|
|
54
|
+
REGISTRY = 3
|
|
55
|
+
|
|
56
|
+
class SystemOutOfBoxExperienceState(enum.IntEnum):
|
|
57
|
+
NOT_STARTED = 0
|
|
58
|
+
IN_PROGRESS = 1
|
|
59
|
+
COMPLETED = 2
|
|
60
|
+
|
|
61
|
+
class UnsupportedAppRequirementReasons(enum.IntFlag):
|
|
62
|
+
UNKNOWN = 0x0
|
|
63
|
+
DENIED_BY_SYSTEM = 0x1
|
|
64
|
+
|
|
65
|
+
@typing.final
|
|
66
|
+
class AnalyticsInfo_Static(winrt.system.Object_Static):
|
|
67
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Foundation.Collections.IMapView`2<System.String,System.String>> Windows.System.Profile.AnalyticsInfo::GetSystemPropertiesAsync(Windows.Foundation.Collections.IIterable`1<System.String>)
|
|
68
|
+
def get_system_properties_async(cls, attribute_names: _cabc.Iterable[str], /) -> windows_foundation.IAsyncOperation[_cabc.Mapping[str, str]]: ...
|
|
69
|
+
# System.String Windows.System.Profile.AnalyticsInfo::get_DeviceForm()
|
|
70
|
+
@_property
|
|
71
|
+
def device_form(cls) -> str: ...
|
|
72
|
+
# Windows.System.Profile.AnalyticsVersionInfo Windows.System.Profile.AnalyticsInfo::get_VersionInfo()
|
|
73
|
+
@_property
|
|
74
|
+
def version_info(cls) -> AnalyticsVersionInfo: ...
|
|
75
|
+
|
|
76
|
+
@typing.final
|
|
77
|
+
class AnalyticsInfo(winrt.system.Object, metaclass=AnalyticsInfo_Static):
|
|
78
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
79
|
+
"""A class of static members only, so there is nothing to create."""
|
|
80
|
+
|
|
81
|
+
@typing.final
|
|
82
|
+
class AnalyticsVersionInfo(winrt.system.Object):
|
|
83
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
84
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
85
|
+
# System.String Windows.System.Profile.AnalyticsVersionInfo::get_DeviceFamily()
|
|
86
|
+
@_property
|
|
87
|
+
def device_family(self) -> str: ...
|
|
88
|
+
# System.String Windows.System.Profile.AnalyticsVersionInfo::get_DeviceFamilyVersion()
|
|
89
|
+
@_property
|
|
90
|
+
def device_family_version(self) -> str: ...
|
|
91
|
+
# System.String Windows.System.Profile.AnalyticsVersionInfo::get_ProductName()
|
|
92
|
+
@_property
|
|
93
|
+
def product_name(self) -> str: ...
|
|
94
|
+
|
|
95
|
+
@typing.final
|
|
96
|
+
class AppApplicability_Static(winrt.system.Object_Static):
|
|
97
|
+
# Windows.Foundation.Collections.IVectorView`1<Windows.System.Profile.UnsupportedAppRequirement> Windows.System.Profile.AppApplicability::GetUnsupportedAppRequirements(Windows.Foundation.Collections.IIterable`1<System.String>)
|
|
98
|
+
def get_unsupported_app_requirements(cls, capabilities: _cabc.Iterable[str], /) -> _cabc.Sequence[UnsupportedAppRequirement]: ...
|
|
99
|
+
|
|
100
|
+
@typing.final
|
|
101
|
+
class AppApplicability(winrt.system.Object, metaclass=AppApplicability_Static):
|
|
102
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
103
|
+
"""A class of static members only, so there is nothing to create."""
|
|
104
|
+
|
|
105
|
+
@typing.final
|
|
106
|
+
class EducationSettings_Static(winrt.system.Object_Static):
|
|
107
|
+
# System.Boolean Windows.System.Profile.EducationSettings::get_IsEducationEnvironment()
|
|
108
|
+
@_property
|
|
109
|
+
def is_education_environment(cls) -> bool: ...
|
|
110
|
+
|
|
111
|
+
@typing.final
|
|
112
|
+
class EducationSettings(winrt.system.Object, metaclass=EducationSettings_Static):
|
|
113
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
114
|
+
"""A class of static members only, so there is nothing to create."""
|
|
115
|
+
|
|
116
|
+
@typing.final
|
|
117
|
+
class HardwareIdentification_Static(winrt.system.Object_Static):
|
|
118
|
+
# Windows.System.Profile.HardwareToken Windows.System.Profile.HardwareIdentification::GetPackageSpecificToken(Windows.Storage.Streams.IBuffer)
|
|
119
|
+
def get_package_specific_token(cls, nonce: winrt.system.ReadableBuffer, /) -> HardwareToken: ...
|
|
120
|
+
|
|
121
|
+
@typing.final
|
|
122
|
+
class HardwareIdentification(winrt.system.Object, metaclass=HardwareIdentification_Static):
|
|
123
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
124
|
+
"""A class of static members only, so there is nothing to create."""
|
|
125
|
+
|
|
126
|
+
@typing.final
|
|
127
|
+
class HardwareToken(winrt.system.Object):
|
|
128
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
129
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
130
|
+
# Windows.Storage.Streams.IBuffer Windows.System.Profile.HardwareToken::get_Certificate()
|
|
131
|
+
@_property
|
|
132
|
+
def certificate(self) -> windows_storage_streams.IBuffer: ...
|
|
133
|
+
# Windows.Storage.Streams.IBuffer Windows.System.Profile.HardwareToken::get_Id()
|
|
134
|
+
@_property
|
|
135
|
+
def id(self) -> windows_storage_streams.IBuffer: ...
|
|
136
|
+
# Windows.Storage.Streams.IBuffer Windows.System.Profile.HardwareToken::get_Signature()
|
|
137
|
+
@_property
|
|
138
|
+
def signature(self) -> windows_storage_streams.IBuffer: ...
|
|
139
|
+
|
|
140
|
+
@typing.final
|
|
141
|
+
class KnownRetailInfoProperties_Static(winrt.system.Object_Static):
|
|
142
|
+
# System.String Windows.System.Profile.KnownRetailInfoProperties::get_BatteryLifeDescription()
|
|
143
|
+
@_property
|
|
144
|
+
def battery_life_description(cls) -> str: ...
|
|
145
|
+
# System.String Windows.System.Profile.KnownRetailInfoProperties::get_DisplayDescription()
|
|
146
|
+
@_property
|
|
147
|
+
def display_description(cls) -> str: ...
|
|
148
|
+
# System.String Windows.System.Profile.KnownRetailInfoProperties::get_DisplayModelName()
|
|
149
|
+
@_property
|
|
150
|
+
def display_model_name(cls) -> str: ...
|
|
151
|
+
# System.String Windows.System.Profile.KnownRetailInfoProperties::get_FormFactor()
|
|
152
|
+
@_property
|
|
153
|
+
def form_factor(cls) -> str: ...
|
|
154
|
+
# System.String Windows.System.Profile.KnownRetailInfoProperties::get_FrontCameraDescription()
|
|
155
|
+
@_property
|
|
156
|
+
def front_camera_description(cls) -> str: ...
|
|
157
|
+
# System.String Windows.System.Profile.KnownRetailInfoProperties::get_GraphicsDescription()
|
|
158
|
+
@_property
|
|
159
|
+
def graphics_description(cls) -> str: ...
|
|
160
|
+
# System.String Windows.System.Profile.KnownRetailInfoProperties::get_HasNfc()
|
|
161
|
+
@_property
|
|
162
|
+
def has_nfc(cls) -> str: ...
|
|
163
|
+
# System.String Windows.System.Profile.KnownRetailInfoProperties::get_HasOpticalDrive()
|
|
164
|
+
@_property
|
|
165
|
+
def has_optical_drive(cls) -> str: ...
|
|
166
|
+
# System.String Windows.System.Profile.KnownRetailInfoProperties::get_HasSdSlot()
|
|
167
|
+
@_property
|
|
168
|
+
def has_sd_slot(cls) -> str: ...
|
|
169
|
+
# System.String Windows.System.Profile.KnownRetailInfoProperties::get_IsFeatured()
|
|
170
|
+
@_property
|
|
171
|
+
def is_featured(cls) -> str: ...
|
|
172
|
+
# System.String Windows.System.Profile.KnownRetailInfoProperties::get_IsOfficeInstalled()
|
|
173
|
+
@_property
|
|
174
|
+
def is_office_installed(cls) -> str: ...
|
|
175
|
+
# System.String Windows.System.Profile.KnownRetailInfoProperties::get_ManufacturerName()
|
|
176
|
+
@_property
|
|
177
|
+
def manufacturer_name(cls) -> str: ...
|
|
178
|
+
# System.String Windows.System.Profile.KnownRetailInfoProperties::get_Memory()
|
|
179
|
+
@_property
|
|
180
|
+
def memory(cls) -> str: ...
|
|
181
|
+
# System.String Windows.System.Profile.KnownRetailInfoProperties::get_ModelName()
|
|
182
|
+
@_property
|
|
183
|
+
def model_name(cls) -> str: ...
|
|
184
|
+
# System.String Windows.System.Profile.KnownRetailInfoProperties::get_Price()
|
|
185
|
+
@_property
|
|
186
|
+
def price(cls) -> str: ...
|
|
187
|
+
# System.String Windows.System.Profile.KnownRetailInfoProperties::get_ProcessorDescription()
|
|
188
|
+
@_property
|
|
189
|
+
def processor_description(cls) -> str: ...
|
|
190
|
+
# System.String Windows.System.Profile.KnownRetailInfoProperties::get_RearCameraDescription()
|
|
191
|
+
@_property
|
|
192
|
+
def rear_camera_description(cls) -> str: ...
|
|
193
|
+
# System.String Windows.System.Profile.KnownRetailInfoProperties::get_RetailAccessCode()
|
|
194
|
+
@_property
|
|
195
|
+
def retail_access_code(cls) -> str: ...
|
|
196
|
+
# System.String Windows.System.Profile.KnownRetailInfoProperties::get_ScreenSize()
|
|
197
|
+
@_property
|
|
198
|
+
def screen_size(cls) -> str: ...
|
|
199
|
+
# System.String Windows.System.Profile.KnownRetailInfoProperties::get_StorageDescription()
|
|
200
|
+
@_property
|
|
201
|
+
def storage_description(cls) -> str: ...
|
|
202
|
+
# System.String Windows.System.Profile.KnownRetailInfoProperties::get_Weight()
|
|
203
|
+
@_property
|
|
204
|
+
def weight(cls) -> str: ...
|
|
205
|
+
# System.String Windows.System.Profile.KnownRetailInfoProperties::get_WindowsEdition()
|
|
206
|
+
@_property
|
|
207
|
+
def windows_edition(cls) -> str: ...
|
|
208
|
+
|
|
209
|
+
@typing.final
|
|
210
|
+
class KnownRetailInfoProperties(winrt.system.Object, metaclass=KnownRetailInfoProperties_Static):
|
|
211
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
212
|
+
"""A class of static members only, so there is nothing to create."""
|
|
213
|
+
|
|
214
|
+
@typing.final
|
|
215
|
+
class PlatformAutomaticAppSignInManager_Static(winrt.system.Object_Static):
|
|
216
|
+
# Windows.System.Profile.PlatformAutomaticAppSignInPolicy Windows.System.Profile.PlatformAutomaticAppSignInManager::get_Policy()
|
|
217
|
+
@_property
|
|
218
|
+
def policy(cls) -> PlatformAutomaticAppSignInPolicy: ...
|
|
219
|
+
|
|
220
|
+
@typing.final
|
|
221
|
+
class PlatformAutomaticAppSignInManager(winrt.system.Object, metaclass=PlatformAutomaticAppSignInManager_Static):
|
|
222
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
223
|
+
"""A class of static members only, so there is nothing to create."""
|
|
224
|
+
|
|
225
|
+
@typing.final
|
|
226
|
+
class PlatformDiagnosticsAndUsageDataSettings_Static(winrt.system.Object_Static):
|
|
227
|
+
# System.Boolean Windows.System.Profile.PlatformDiagnosticsAndUsageDataSettings::CanCollectDiagnostics(Windows.System.Profile.PlatformDataCollectionLevel)
|
|
228
|
+
def can_collect_diagnostics(cls, level: PlatformDataCollectionLevel, /) -> bool: ...
|
|
229
|
+
# Windows.Foundation.EventRegistrationToken Windows.System.Profile.PlatformDiagnosticsAndUsageDataSettings::add_CollectionLevelChanged(Windows.Foundation.EventHandler`1<System.Object>)
|
|
230
|
+
def add_collection_level_changed(cls, handler: windows_foundation.EventHandler[winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
|
|
231
|
+
# System.Void Windows.System.Profile.PlatformDiagnosticsAndUsageDataSettings::remove_CollectionLevelChanged(Windows.Foundation.EventRegistrationToken)
|
|
232
|
+
def remove_collection_level_changed(cls, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
233
|
+
# Windows.System.Profile.PlatformDataCollectionLevel Windows.System.Profile.PlatformDiagnosticsAndUsageDataSettings::get_CollectionLevel()
|
|
234
|
+
@_property
|
|
235
|
+
def collection_level(cls) -> PlatformDataCollectionLevel: ...
|
|
236
|
+
|
|
237
|
+
@typing.final
|
|
238
|
+
class PlatformDiagnosticsAndUsageDataSettings(winrt.system.Object, metaclass=PlatformDiagnosticsAndUsageDataSettings_Static):
|
|
239
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
240
|
+
"""A class of static members only, so there is nothing to create."""
|
|
241
|
+
|
|
242
|
+
@typing.final
|
|
243
|
+
class RetailInfo_Static(winrt.system.Object_Static):
|
|
244
|
+
# System.Boolean Windows.System.Profile.RetailInfo::get_IsDemoModeEnabled()
|
|
245
|
+
@_property
|
|
246
|
+
def is_demo_mode_enabled(cls) -> bool: ...
|
|
247
|
+
# Windows.Foundation.Collections.IMapView`2<System.String,System.Object> Windows.System.Profile.RetailInfo::get_Properties()
|
|
248
|
+
@_property
|
|
249
|
+
def properties(cls) -> _cabc.Mapping[str, winrt.system.Object]: ...
|
|
250
|
+
# System.Boolean Windows.System.Profile.RetailInfo::get_IsDemoModeEnabledEx()
|
|
251
|
+
@_property
|
|
252
|
+
def is_demo_mode_enabled_ex(cls) -> bool: ...
|
|
253
|
+
|
|
254
|
+
@typing.final
|
|
255
|
+
class RetailInfo(winrt.system.Object, metaclass=RetailInfo_Static):
|
|
256
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
257
|
+
"""A class of static members only, so there is nothing to create."""
|
|
258
|
+
|
|
259
|
+
@typing.final
|
|
260
|
+
class SharedModeSettings_Static(winrt.system.Object_Static):
|
|
261
|
+
# System.Boolean Windows.System.Profile.SharedModeSettings::get_IsEnabled()
|
|
262
|
+
@_property
|
|
263
|
+
def is_enabled(cls) -> bool: ...
|
|
264
|
+
# System.Boolean Windows.System.Profile.SharedModeSettings::get_ShouldAvoidLocalStorage()
|
|
265
|
+
@_property
|
|
266
|
+
def should_avoid_local_storage(cls) -> bool: ...
|
|
267
|
+
|
|
268
|
+
@typing.final
|
|
269
|
+
class SharedModeSettings(winrt.system.Object, metaclass=SharedModeSettings_Static):
|
|
270
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
271
|
+
"""A class of static members only, so there is nothing to create."""
|
|
272
|
+
|
|
273
|
+
@typing.final
|
|
274
|
+
class SmartAppControlPolicy_Static(winrt.system.Object_Static):
|
|
275
|
+
# Windows.Foundation.EventRegistrationToken Windows.System.Profile.SmartAppControlPolicy::add_Changed(Windows.Foundation.EventHandler`1<System.Object>)
|
|
276
|
+
def add_changed(cls, handler: windows_foundation.EventHandler[winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
|
|
277
|
+
# System.Void Windows.System.Profile.SmartAppControlPolicy::remove_Changed(Windows.Foundation.EventRegistrationToken)
|
|
278
|
+
def remove_changed(cls, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
279
|
+
# System.Boolean Windows.System.Profile.SmartAppControlPolicy::get_IsEnabled()
|
|
280
|
+
@_property
|
|
281
|
+
def is_enabled(cls) -> bool: ...
|
|
282
|
+
|
|
283
|
+
@typing.final
|
|
284
|
+
class SmartAppControlPolicy(winrt.system.Object, metaclass=SmartAppControlPolicy_Static):
|
|
285
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
286
|
+
"""A class of static members only, so there is nothing to create."""
|
|
287
|
+
|
|
288
|
+
@typing.final
|
|
289
|
+
class SystemIdentification_Static(winrt.system.Object_Static):
|
|
290
|
+
# Windows.System.Profile.SystemIdentificationInfo Windows.System.Profile.SystemIdentification::GetSystemIdForPublisher()
|
|
291
|
+
def get_system_id_for_publisher(cls) -> SystemIdentificationInfo: ...
|
|
292
|
+
# Windows.System.Profile.SystemIdentificationInfo Windows.System.Profile.SystemIdentification::GetSystemIdForUser(Windows.System.User)
|
|
293
|
+
def get_system_id_for_user(cls, user: windows_system.User, /) -> SystemIdentificationInfo: ...
|
|
294
|
+
|
|
295
|
+
@typing.final
|
|
296
|
+
class SystemIdentification(winrt.system.Object, metaclass=SystemIdentification_Static):
|
|
297
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
298
|
+
"""A class of static members only, so there is nothing to create."""
|
|
299
|
+
|
|
300
|
+
@typing.final
|
|
301
|
+
class SystemIdentificationInfo(winrt.system.Object):
|
|
302
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
303
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
304
|
+
# Windows.Storage.Streams.IBuffer Windows.System.Profile.SystemIdentificationInfo::get_Id()
|
|
305
|
+
@_property
|
|
306
|
+
def id(self) -> windows_storage_streams.IBuffer: ...
|
|
307
|
+
# Windows.System.Profile.SystemIdentificationSource Windows.System.Profile.SystemIdentificationInfo::get_Source()
|
|
308
|
+
@_property
|
|
309
|
+
def source(self) -> SystemIdentificationSource: ...
|
|
310
|
+
|
|
311
|
+
@typing.final
|
|
312
|
+
class SystemSetupInfo_Static(winrt.system.Object_Static):
|
|
313
|
+
# Windows.Foundation.EventRegistrationToken Windows.System.Profile.SystemSetupInfo::add_OutOfBoxExperienceStateChanged(Windows.Foundation.EventHandler`1<System.Object>)
|
|
314
|
+
def add_out_of_box_experience_state_changed(cls, handler: windows_foundation.EventHandler[winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
|
|
315
|
+
# System.Void Windows.System.Profile.SystemSetupInfo::remove_OutOfBoxExperienceStateChanged(Windows.Foundation.EventRegistrationToken)
|
|
316
|
+
def remove_out_of_box_experience_state_changed(cls, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
317
|
+
# Windows.System.Profile.SystemOutOfBoxExperienceState Windows.System.Profile.SystemSetupInfo::get_OutOfBoxExperienceState()
|
|
318
|
+
@_property
|
|
319
|
+
def out_of_box_experience_state(cls) -> SystemOutOfBoxExperienceState: ...
|
|
320
|
+
|
|
321
|
+
@typing.final
|
|
322
|
+
class SystemSetupInfo(winrt.system.Object, metaclass=SystemSetupInfo_Static):
|
|
323
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
324
|
+
"""A class of static members only, so there is nothing to create."""
|
|
325
|
+
|
|
326
|
+
@typing.final
|
|
327
|
+
class UnsupportedAppRequirement(winrt.system.Object):
|
|
328
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
329
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
330
|
+
# Windows.System.Profile.UnsupportedAppRequirementReasons Windows.System.Profile.UnsupportedAppRequirement::get_Reasons()
|
|
331
|
+
@_property
|
|
332
|
+
def reasons(self) -> UnsupportedAppRequirementReasons: ...
|
|
333
|
+
# System.String Windows.System.Profile.UnsupportedAppRequirement::get_Requirement()
|
|
334
|
+
@_property
|
|
335
|
+
def requirement(self) -> str: ...
|
|
336
|
+
|
|
337
|
+
@typing.final
|
|
338
|
+
class WindowsIntegrityPolicy_Static(winrt.system.Object_Static):
|
|
339
|
+
# Windows.Foundation.EventRegistrationToken Windows.System.Profile.WindowsIntegrityPolicy::add_PolicyChanged(Windows.Foundation.EventHandler`1<System.Object>)
|
|
340
|
+
def add_policy_changed(cls, handler: windows_foundation.EventHandler[winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
|
|
341
|
+
# System.Void Windows.System.Profile.WindowsIntegrityPolicy::remove_PolicyChanged(Windows.Foundation.EventRegistrationToken)
|
|
342
|
+
def remove_policy_changed(cls, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
343
|
+
# System.Boolean Windows.System.Profile.WindowsIntegrityPolicy::get_CanDisable()
|
|
344
|
+
@_property
|
|
345
|
+
def can_disable(cls) -> bool: ...
|
|
346
|
+
# System.Boolean Windows.System.Profile.WindowsIntegrityPolicy::get_IsDisableSupported()
|
|
347
|
+
@_property
|
|
348
|
+
def is_disable_supported(cls) -> bool: ...
|
|
349
|
+
# System.Boolean Windows.System.Profile.WindowsIntegrityPolicy::get_IsEnabled()
|
|
350
|
+
@_property
|
|
351
|
+
def is_enabled(cls) -> bool: ...
|
|
352
|
+
# System.Boolean Windows.System.Profile.WindowsIntegrityPolicy::get_IsEnabledForTrial()
|
|
353
|
+
@_property
|
|
354
|
+
def is_enabled_for_trial(cls) -> bool: ...
|
|
355
|
+
|
|
356
|
+
@typing.final
|
|
357
|
+
class WindowsIntegrityPolicy(winrt.system.Object, metaclass=WindowsIntegrityPolicy_Static):
|
|
358
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
359
|
+
"""A class of static members only, so there is nothing to create."""
|
|
360
|
+
|
|
Binary file
|
|
File without changes
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: winrt-Windows.System.Profile
|
|
3
|
+
Version: 4!10.0.28000.2705
|
|
4
|
+
Summary: PyWinRT projection of the Windows.System.Profile 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-foundation-collections[all]>=4!10.0.28000.2705; extra == 'all'
|
|
28
|
+
Requires-Dist: winrt-windows-foundation[all]>=4!10.0.28000.2705; extra == 'all'
|
|
29
|
+
Requires-Dist: winrt-windows-storage-streams[all]>=4!10.0.28000.2705; extra == 'all'
|
|
30
|
+
Requires-Dist: winrt-windows-system[all]>=4!10.0.28000.2705; extra == 'all'
|
|
31
|
+
Description-Content-Type: text/markdown
|
|
32
|
+
|
|
33
|
+
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
34
|
+
|
|
35
|
+
# winrt-Windows.System.Profile
|
|
36
|
+
|
|
37
|
+
Windows Runtime (WinRT) APIs for the `Windows.System.Profile` namespace.
|
|
38
|
+
|
|
39
|
+
This package provides the `winrt.windows.system.profile` module.
|
|
40
|
+
|
|
41
|
+
The WinRT APIs in it are those of version 10.0.28000.2705 of the
|
|
42
|
+
`Microsoft.Windows.SDK.CPP` NuGet package.
|
|
43
|
+
|
|
44
|
+
```
|
|
45
|
+
pip install winrt-Windows.System.Profile
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
Other WinRT namespaces are packages of their own, so install the package of
|
|
49
|
+
each namespace your code imports from.
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
winrt/windows/system/profile/__init__.py,sha256=S-IQxB3Y-5gx4Pq2YN9Lat3zwdaniK4Ohnep_GqZ1F4,869
|
|
2
|
+
winrt/windows/system/profile/__init__.pyi,sha256=LaUgGS0Bx2fmtmAqYXt3QCC3eLlkK5HKp1u9uec88Wc,18207
|
|
3
|
+
winrt/windows/system/profile/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
|
+
winrt/windows/system/profile/_table.pywinrt,sha256=XNRH-tZzILXOlKrt2qz-q38tNf23Eylgz9M6SXG_qLE,24976
|
|
5
|
+
winrt_windows_system_profile-4!10.0.28000.2705.dist-info/METADATA,sha256=Q2rxNH3d_phLo7CcplP5JiI6ZpHGAIpjlyQKGMYkySg,2166
|
|
6
|
+
winrt_windows_system_profile-4!10.0.28000.2705.dist-info/WHEEL,sha256=W3fkpkm7-wf9vBI5Z-7s0eWkeM-spu78I8Neb98DeEg,87
|
|
7
|
+
winrt_windows_system_profile-4!10.0.28000.2705.dist-info/licenses/LICENSE,sha256=dyVKOMqPV0fimbzMhqN3zpg6K6Y2OlekwrdfiZTBm8M,1225
|
|
8
|
+
winrt_windows_system_profile-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
|