winrt-Windows.System.UserProfile 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/userprofile/__init__.py +24 -0
- winrt/windows/system/userprofile/__init__.pyi +293 -0
- winrt/windows/system/userprofile/_table.pywinrt +0 -0
- winrt/windows/system/userprofile/py.typed +0 -0
- winrt_windows_system_userprofile-4!10.0.28000.2705.dist-info/METADATA +51 -0
- winrt_windows_system_userprofile-4!10.0.28000.2705.dist-info/RECORD +8 -0
- winrt_windows_system_userprofile-4!10.0.28000.2705.dist-info/WHEEL +4 -0
- winrt_windows_system_userprofile-4!10.0.28000.2705.dist-info/licenses/LICENSE +22 -0
|
@@ -0,0 +1,24 @@
|
|
|
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
|
+
"AccountPictureKind",
|
|
10
|
+
"SetAccountPictureResult",
|
|
11
|
+
"SetImageFeedResult",
|
|
12
|
+
"AdvertisingManager",
|
|
13
|
+
"AdvertisingManagerForUser",
|
|
14
|
+
"AssignedAccessSettings",
|
|
15
|
+
"DiagnosticsSettings",
|
|
16
|
+
"FirstSignInSettings",
|
|
17
|
+
"GlobalizationPreferences",
|
|
18
|
+
"GlobalizationPreferencesForUser",
|
|
19
|
+
"LockScreen",
|
|
20
|
+
"UserInformation",
|
|
21
|
+
"UserProfilePersonalizationSettings",
|
|
22
|
+
]
|
|
23
|
+
|
|
24
|
+
winrt.runtime._internals.mixin_mapping(FirstSignInSettings)
|
|
@@ -0,0 +1,293 @@
|
|
|
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
|
+
from typing_extensions import deprecated
|
|
8
|
+
|
|
9
|
+
import winrt.system
|
|
10
|
+
import winrt.windows.foundation as windows_foundation
|
|
11
|
+
import winrt.windows.foundation.collections as windows_foundation_collections
|
|
12
|
+
import winrt.windows.globalization as windows_globalization
|
|
13
|
+
import winrt.windows.storage as windows_storage
|
|
14
|
+
import winrt.windows.storage.streams as windows_storage_streams
|
|
15
|
+
import winrt.windows.system as windows_system
|
|
16
|
+
|
|
17
|
+
__all__ = [
|
|
18
|
+
"AccountPictureKind",
|
|
19
|
+
"SetAccountPictureResult",
|
|
20
|
+
"SetImageFeedResult",
|
|
21
|
+
"AdvertisingManager",
|
|
22
|
+
"AdvertisingManagerForUser",
|
|
23
|
+
"AssignedAccessSettings",
|
|
24
|
+
"DiagnosticsSettings",
|
|
25
|
+
"FirstSignInSettings",
|
|
26
|
+
"GlobalizationPreferences",
|
|
27
|
+
"GlobalizationPreferencesForUser",
|
|
28
|
+
"LockScreen",
|
|
29
|
+
"UserInformation",
|
|
30
|
+
"UserProfilePersonalizationSettings",
|
|
31
|
+
]
|
|
32
|
+
|
|
33
|
+
@deprecated("Use User instead of UserInformation. For more info, see MSDN.")
|
|
34
|
+
class AccountPictureKind(enum.IntEnum):
|
|
35
|
+
SMALL_IMAGE = 0
|
|
36
|
+
LARGE_IMAGE = 1
|
|
37
|
+
VIDEO = 2
|
|
38
|
+
|
|
39
|
+
@deprecated("Use User instead of UserInformation. For more info, see MSDN.")
|
|
40
|
+
class SetAccountPictureResult(enum.IntEnum):
|
|
41
|
+
SUCCESS = 0
|
|
42
|
+
CHANGE_DISABLED = 1
|
|
43
|
+
LARGE_OR_DYNAMIC_ERROR = 2
|
|
44
|
+
VIDEO_FRAME_SIZE_ERROR = 3
|
|
45
|
+
FILE_SIZE_ERROR = 4
|
|
46
|
+
FAILURE = 5
|
|
47
|
+
|
|
48
|
+
class SetImageFeedResult(enum.IntEnum):
|
|
49
|
+
SUCCESS = 0
|
|
50
|
+
CHANGE_DISABLED = 1
|
|
51
|
+
USER_CANCELED = 2
|
|
52
|
+
|
|
53
|
+
@typing.final
|
|
54
|
+
class AdvertisingManager_Static(winrt.system.Object_Static):
|
|
55
|
+
# Windows.System.UserProfile.AdvertisingManagerForUser Windows.System.UserProfile.AdvertisingManager::GetForUser(Windows.System.User)
|
|
56
|
+
def get_for_user(cls, user: windows_system.User, /) -> AdvertisingManagerForUser: ...
|
|
57
|
+
# System.String Windows.System.UserProfile.AdvertisingManager::get_AdvertisingId()
|
|
58
|
+
@_property
|
|
59
|
+
def advertising_id(cls) -> str: ...
|
|
60
|
+
|
|
61
|
+
@typing.final
|
|
62
|
+
class AdvertisingManager(winrt.system.Object, metaclass=AdvertisingManager_Static):
|
|
63
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
64
|
+
"""A class of static members only, so there is nothing to create."""
|
|
65
|
+
|
|
66
|
+
@typing.final
|
|
67
|
+
class AdvertisingManagerForUser(winrt.system.Object):
|
|
68
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
69
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
70
|
+
# System.String Windows.System.UserProfile.AdvertisingManagerForUser::get_AdvertisingId()
|
|
71
|
+
@_property
|
|
72
|
+
def advertising_id(self) -> str: ...
|
|
73
|
+
# Windows.System.User Windows.System.UserProfile.AdvertisingManagerForUser::get_User()
|
|
74
|
+
@_property
|
|
75
|
+
def user(self) -> windows_system.User: ...
|
|
76
|
+
|
|
77
|
+
@typing.final
|
|
78
|
+
class AssignedAccessSettings_Static(winrt.system.Object_Static):
|
|
79
|
+
# Windows.System.UserProfile.AssignedAccessSettings Windows.System.UserProfile.AssignedAccessSettings::GetDefault()
|
|
80
|
+
def get_default(cls) -> AssignedAccessSettings: ...
|
|
81
|
+
# Windows.System.UserProfile.AssignedAccessSettings Windows.System.UserProfile.AssignedAccessSettings::GetForUser(Windows.System.User)
|
|
82
|
+
def get_for_user(cls, user: windows_system.User, /) -> AssignedAccessSettings: ...
|
|
83
|
+
|
|
84
|
+
@typing.final
|
|
85
|
+
class AssignedAccessSettings(winrt.system.Object, metaclass=AssignedAccessSettings_Static):
|
|
86
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
87
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
88
|
+
# System.Boolean Windows.System.UserProfile.AssignedAccessSettings::get_IsEnabled()
|
|
89
|
+
@_property
|
|
90
|
+
def is_enabled(self) -> bool: ...
|
|
91
|
+
# System.Boolean Windows.System.UserProfile.AssignedAccessSettings::get_IsSingleAppKioskMode()
|
|
92
|
+
@_property
|
|
93
|
+
def is_single_app_kiosk_mode(self) -> bool: ...
|
|
94
|
+
# Windows.System.User Windows.System.UserProfile.AssignedAccessSettings::get_User()
|
|
95
|
+
@_property
|
|
96
|
+
def user(self) -> windows_system.User: ...
|
|
97
|
+
|
|
98
|
+
@typing.final
|
|
99
|
+
class DiagnosticsSettings_Static(winrt.system.Object_Static):
|
|
100
|
+
# Windows.System.UserProfile.DiagnosticsSettings Windows.System.UserProfile.DiagnosticsSettings::GetDefault()
|
|
101
|
+
def get_default(cls) -> DiagnosticsSettings: ...
|
|
102
|
+
# Windows.System.UserProfile.DiagnosticsSettings Windows.System.UserProfile.DiagnosticsSettings::GetForUser(Windows.System.User)
|
|
103
|
+
def get_for_user(cls, user: windows_system.User, /) -> DiagnosticsSettings: ...
|
|
104
|
+
|
|
105
|
+
@typing.final
|
|
106
|
+
class DiagnosticsSettings(winrt.system.Object, metaclass=DiagnosticsSettings_Static):
|
|
107
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
108
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
109
|
+
# System.Boolean Windows.System.UserProfile.DiagnosticsSettings::get_CanUseDiagnosticsToTailorExperiences()
|
|
110
|
+
@_property
|
|
111
|
+
def can_use_diagnostics_to_tailor_experiences(self) -> bool: ...
|
|
112
|
+
# Windows.System.User Windows.System.UserProfile.DiagnosticsSettings::get_User()
|
|
113
|
+
@_property
|
|
114
|
+
def user(self) -> windows_system.User: ...
|
|
115
|
+
|
|
116
|
+
@typing.final
|
|
117
|
+
class FirstSignInSettings_Static(winrt.system.Object_Static):
|
|
118
|
+
# Windows.System.UserProfile.FirstSignInSettings Windows.System.UserProfile.FirstSignInSettings::GetDefault()
|
|
119
|
+
def get_default(cls) -> FirstSignInSettings: ...
|
|
120
|
+
|
|
121
|
+
@typing.final
|
|
122
|
+
class FirstSignInSettings(_cabc.Mapping[str, winrt.system.Object], winrt.system.Object, metaclass=FirstSignInSettings_Static):
|
|
123
|
+
__hash__: typing.ClassVar[None] # type: ignore[assignment]
|
|
124
|
+
def __len__(self) -> int: ...
|
|
125
|
+
def __iter__(self) -> _cabc.Iterator[str]: ...
|
|
126
|
+
def __contains__(self, key: object) -> bool: ...
|
|
127
|
+
def __getitem__(self, key: str) -> 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.Foundation.Collections.IIterator`1<Windows.Foundation.Collections.IKeyValuePair`2<System.String,System.Object>> Windows.System.UserProfile.FirstSignInSettings::First()
|
|
131
|
+
def first(self) -> windows_foundation_collections.IIterator[windows_foundation_collections.IKeyValuePair[str, winrt.system.Object]]: ...
|
|
132
|
+
# System.Boolean Windows.System.UserProfile.FirstSignInSettings::HasKey(System.String)
|
|
133
|
+
def has_key(self, key: str, /) -> bool: ...
|
|
134
|
+
# System.Object Windows.System.UserProfile.FirstSignInSettings::Lookup(System.String)
|
|
135
|
+
def lookup(self, key: str, /) -> winrt.system.Object: ...
|
|
136
|
+
# System.Void Windows.System.UserProfile.FirstSignInSettings::Split(Windows.Foundation.Collections.IMapView`2<System.String,System.Object>&,Windows.Foundation.Collections.IMapView`2<System.String,System.Object>&)
|
|
137
|
+
def split(self) -> tuple[_cabc.Mapping[str, winrt.system.Object], _cabc.Mapping[str, winrt.system.Object]]: ...
|
|
138
|
+
# System.UInt32 Windows.System.UserProfile.FirstSignInSettings::get_Size()
|
|
139
|
+
@_property
|
|
140
|
+
def size(self) -> winrt.system.UInt32: ...
|
|
141
|
+
|
|
142
|
+
@typing.final
|
|
143
|
+
class GlobalizationPreferences_Static(winrt.system.Object_Static):
|
|
144
|
+
# Windows.System.UserProfile.GlobalizationPreferencesForUser Windows.System.UserProfile.GlobalizationPreferences::GetForUser(Windows.System.User)
|
|
145
|
+
def get_for_user(cls, user: windows_system.User, /) -> GlobalizationPreferencesForUser: ...
|
|
146
|
+
# System.Boolean Windows.System.UserProfile.GlobalizationPreferences::TrySetHomeGeographicRegion(System.String)
|
|
147
|
+
def try_set_home_geographic_region(cls, region: str, /) -> bool: ...
|
|
148
|
+
# System.Boolean Windows.System.UserProfile.GlobalizationPreferences::TrySetLanguages(Windows.Foundation.Collections.IIterable`1<System.String>)
|
|
149
|
+
def try_set_languages(cls, language_tags: _cabc.Iterable[str], /) -> bool: ...
|
|
150
|
+
# Windows.Foundation.Collections.IVectorView`1<System.String> Windows.System.UserProfile.GlobalizationPreferences::get_Calendars()
|
|
151
|
+
@_property
|
|
152
|
+
def calendars(cls) -> _cabc.Sequence[str]: ...
|
|
153
|
+
# Windows.Foundation.Collections.IVectorView`1<System.String> Windows.System.UserProfile.GlobalizationPreferences::get_Clocks()
|
|
154
|
+
@_property
|
|
155
|
+
def clocks(cls) -> _cabc.Sequence[str]: ...
|
|
156
|
+
# Windows.Foundation.Collections.IVectorView`1<System.String> Windows.System.UserProfile.GlobalizationPreferences::get_Currencies()
|
|
157
|
+
@_property
|
|
158
|
+
def currencies(cls) -> _cabc.Sequence[str]: ...
|
|
159
|
+
# System.String Windows.System.UserProfile.GlobalizationPreferences::get_HomeGeographicRegion()
|
|
160
|
+
@_property
|
|
161
|
+
def home_geographic_region(cls) -> str: ...
|
|
162
|
+
# Windows.Foundation.Collections.IVectorView`1<System.String> Windows.System.UserProfile.GlobalizationPreferences::get_Languages()
|
|
163
|
+
@_property
|
|
164
|
+
def languages(cls) -> _cabc.Sequence[str]: ...
|
|
165
|
+
# Windows.Globalization.DayOfWeek Windows.System.UserProfile.GlobalizationPreferences::get_WeekStartsOn()
|
|
166
|
+
@_property
|
|
167
|
+
def week_starts_on(cls) -> windows_globalization.DayOfWeek: ...
|
|
168
|
+
|
|
169
|
+
@typing.final
|
|
170
|
+
class GlobalizationPreferences(winrt.system.Object, metaclass=GlobalizationPreferences_Static):
|
|
171
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
172
|
+
"""A class of static members only, so there is nothing to create."""
|
|
173
|
+
|
|
174
|
+
@typing.final
|
|
175
|
+
class GlobalizationPreferencesForUser(winrt.system.Object):
|
|
176
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
177
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
178
|
+
# Windows.Foundation.Collections.IVectorView`1<System.String> Windows.System.UserProfile.GlobalizationPreferencesForUser::get_Calendars()
|
|
179
|
+
@_property
|
|
180
|
+
def calendars(self) -> _cabc.Sequence[str]: ...
|
|
181
|
+
# Windows.Foundation.Collections.IVectorView`1<System.String> Windows.System.UserProfile.GlobalizationPreferencesForUser::get_Clocks()
|
|
182
|
+
@_property
|
|
183
|
+
def clocks(self) -> _cabc.Sequence[str]: ...
|
|
184
|
+
# Windows.Foundation.Collections.IVectorView`1<System.String> Windows.System.UserProfile.GlobalizationPreferencesForUser::get_Currencies()
|
|
185
|
+
@_property
|
|
186
|
+
def currencies(self) -> _cabc.Sequence[str]: ...
|
|
187
|
+
# System.String Windows.System.UserProfile.GlobalizationPreferencesForUser::get_HomeGeographicRegion()
|
|
188
|
+
@_property
|
|
189
|
+
def home_geographic_region(self) -> str: ...
|
|
190
|
+
# Windows.Foundation.Collections.IVectorView`1<System.String> Windows.System.UserProfile.GlobalizationPreferencesForUser::get_Languages()
|
|
191
|
+
@_property
|
|
192
|
+
def languages(self) -> _cabc.Sequence[str]: ...
|
|
193
|
+
# Windows.System.User Windows.System.UserProfile.GlobalizationPreferencesForUser::get_User()
|
|
194
|
+
@_property
|
|
195
|
+
def user(self) -> windows_system.User: ...
|
|
196
|
+
# Windows.Globalization.DayOfWeek Windows.System.UserProfile.GlobalizationPreferencesForUser::get_WeekStartsOn()
|
|
197
|
+
@_property
|
|
198
|
+
def week_starts_on(self) -> windows_globalization.DayOfWeek: ...
|
|
199
|
+
|
|
200
|
+
@typing.final
|
|
201
|
+
class LockScreen_Static(winrt.system.Object_Static):
|
|
202
|
+
# Windows.Storage.Streams.IRandomAccessStream Windows.System.UserProfile.LockScreen::GetImageStream()
|
|
203
|
+
def get_image_stream(cls) -> windows_storage_streams.IRandomAccessStream: ...
|
|
204
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.System.UserProfile.SetImageFeedResult> Windows.System.UserProfile.LockScreen::RequestSetImageFeedAsync(Windows.Foundation.Uri)
|
|
205
|
+
def request_set_image_feed_async(cls, syndication_feed_uri: windows_foundation.Uri, /) -> windows_foundation.IAsyncOperation[SetImageFeedResult]: ...
|
|
206
|
+
# Windows.Foundation.IAsyncAction Windows.System.UserProfile.LockScreen::SetImageFileAsync(Windows.Storage.IStorageFile)
|
|
207
|
+
def set_image_file_async(cls, value: windows_storage.IStorageFile, /) -> windows_foundation.IAsyncAction: ...
|
|
208
|
+
# Windows.Foundation.IAsyncAction Windows.System.UserProfile.LockScreen::SetImageStreamAsync(Windows.Storage.Streams.IRandomAccessStream)
|
|
209
|
+
def set_image_stream_async(cls, value: windows_storage_streams.IRandomAccessStream, /) -> windows_foundation.IAsyncAction: ...
|
|
210
|
+
# System.Boolean Windows.System.UserProfile.LockScreen::TryRemoveImageFeed()
|
|
211
|
+
def try_remove_image_feed(cls) -> bool: ...
|
|
212
|
+
# Windows.Foundation.Uri Windows.System.UserProfile.LockScreen::get_OriginalImageFile()
|
|
213
|
+
@_property
|
|
214
|
+
def original_image_file(cls) -> windows_foundation.Uri: ...
|
|
215
|
+
|
|
216
|
+
@typing.final
|
|
217
|
+
class LockScreen(winrt.system.Object, metaclass=LockScreen_Static):
|
|
218
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
219
|
+
"""A class of static members only, so there is nothing to create."""
|
|
220
|
+
|
|
221
|
+
@typing.final
|
|
222
|
+
class UserInformation_Static(winrt.system.Object_Static):
|
|
223
|
+
# Windows.Storage.IStorageFile Windows.System.UserProfile.UserInformation::GetAccountPicture(Windows.System.UserProfile.AccountPictureKind)
|
|
224
|
+
@deprecated("Use User instead of UserInformation. For more info, see MSDN.")
|
|
225
|
+
def get_account_picture(cls, kind: AccountPictureKind, /) -> windows_storage.IStorageFile: ...
|
|
226
|
+
# Windows.Foundation.IAsyncOperation`1<System.String> Windows.System.UserProfile.UserInformation::GetDisplayNameAsync()
|
|
227
|
+
@deprecated("Use User instead of UserInformation. For more info, see MSDN.")
|
|
228
|
+
def get_display_name_async(cls) -> windows_foundation.IAsyncOperation[str]: ...
|
|
229
|
+
# Windows.Foundation.IAsyncOperation`1<System.String> Windows.System.UserProfile.UserInformation::GetDomainNameAsync()
|
|
230
|
+
@deprecated("Use User instead of UserInformation. For more info, see MSDN.")
|
|
231
|
+
def get_domain_name_async(cls) -> windows_foundation.IAsyncOperation[str]: ...
|
|
232
|
+
# Windows.Foundation.IAsyncOperation`1<System.String> Windows.System.UserProfile.UserInformation::GetFirstNameAsync()
|
|
233
|
+
@deprecated("Use User instead of UserInformation. For more info, see MSDN.")
|
|
234
|
+
def get_first_name_async(cls) -> windows_foundation.IAsyncOperation[str]: ...
|
|
235
|
+
# Windows.Foundation.IAsyncOperation`1<System.String> Windows.System.UserProfile.UserInformation::GetLastNameAsync()
|
|
236
|
+
@deprecated("Use User instead of UserInformation. For more info, see MSDN.")
|
|
237
|
+
def get_last_name_async(cls) -> windows_foundation.IAsyncOperation[str]: ...
|
|
238
|
+
# Windows.Foundation.IAsyncOperation`1<System.String> Windows.System.UserProfile.UserInformation::GetPrincipalNameAsync()
|
|
239
|
+
@deprecated("Use User instead of UserInformation. For more info, see MSDN.")
|
|
240
|
+
def get_principal_name_async(cls) -> windows_foundation.IAsyncOperation[str]: ...
|
|
241
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Foundation.Uri> Windows.System.UserProfile.UserInformation::GetSessionInitiationProtocolUriAsync()
|
|
242
|
+
@deprecated("Use User instead of UserInformation. For more info, see MSDN.")
|
|
243
|
+
def get_session_initiation_protocol_uri_async(cls) -> windows_foundation.IAsyncOperation[windows_foundation.Uri]: ...
|
|
244
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.System.UserProfile.SetAccountPictureResult> Windows.System.UserProfile.UserInformation::SetAccountPictureAsync(Windows.Storage.IStorageFile)
|
|
245
|
+
@deprecated("Use User instead of UserInformation. For more info, see MSDN.")
|
|
246
|
+
def set_account_picture_async(cls, image: windows_storage.IStorageFile, /) -> windows_foundation.IAsyncOperation[SetAccountPictureResult]: ...
|
|
247
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.System.UserProfile.SetAccountPictureResult> Windows.System.UserProfile.UserInformation::SetAccountPictureFromStreamAsync(Windows.Storage.Streams.IRandomAccessStream)
|
|
248
|
+
@deprecated("Use User instead of UserInformation. For more info, see MSDN.")
|
|
249
|
+
def set_account_picture_from_stream_async(cls, image: windows_storage_streams.IRandomAccessStream, /) -> windows_foundation.IAsyncOperation[SetAccountPictureResult]: ...
|
|
250
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.System.UserProfile.SetAccountPictureResult> Windows.System.UserProfile.UserInformation::SetAccountPicturesAsync(Windows.Storage.IStorageFile,Windows.Storage.IStorageFile,Windows.Storage.IStorageFile)
|
|
251
|
+
@deprecated("Use User instead of UserInformation. For more info, see MSDN.")
|
|
252
|
+
def set_account_pictures_async(cls, small_image: windows_storage.IStorageFile, large_image: windows_storage.IStorageFile, video: windows_storage.IStorageFile, /) -> windows_foundation.IAsyncOperation[SetAccountPictureResult]: ...
|
|
253
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.System.UserProfile.SetAccountPictureResult> Windows.System.UserProfile.UserInformation::SetAccountPicturesFromStreamsAsync(Windows.Storage.Streams.IRandomAccessStream,Windows.Storage.Streams.IRandomAccessStream,Windows.Storage.Streams.IRandomAccessStream)
|
|
254
|
+
@deprecated("Use User instead of UserInformation. For more info, see MSDN.")
|
|
255
|
+
def set_account_pictures_from_streams_async(cls, small_image: windows_storage_streams.IRandomAccessStream, large_image: windows_storage_streams.IRandomAccessStream, video: windows_storage_streams.IRandomAccessStream, /) -> windows_foundation.IAsyncOperation[SetAccountPictureResult]: ...
|
|
256
|
+
# Windows.Foundation.EventRegistrationToken Windows.System.UserProfile.UserInformation::add_AccountPictureChanged(Windows.Foundation.EventHandler`1<System.Object>)
|
|
257
|
+
@deprecated("Use User instead of UserInformation. For more info, see MSDN.")
|
|
258
|
+
def add_account_picture_changed(cls, change_handler: windows_foundation.EventHandler[winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
|
|
259
|
+
# System.Void Windows.System.UserProfile.UserInformation::remove_AccountPictureChanged(Windows.Foundation.EventRegistrationToken)
|
|
260
|
+
@deprecated("Use User instead of UserInformation. For more info, see MSDN.")
|
|
261
|
+
def remove_account_picture_changed(cls, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
262
|
+
# System.Boolean Windows.System.UserProfile.UserInformation::get_AccountPictureChangeEnabled()
|
|
263
|
+
@_property
|
|
264
|
+
@deprecated("Use User instead of UserInformation. For more info, see MSDN.")
|
|
265
|
+
def account_picture_change_enabled(cls) -> bool: ...
|
|
266
|
+
# System.Boolean Windows.System.UserProfile.UserInformation::get_NameAccessAllowed()
|
|
267
|
+
@_property
|
|
268
|
+
@deprecated("Use User instead of UserInformation. For more info, see MSDN.")
|
|
269
|
+
def name_access_allowed(cls) -> bool: ...
|
|
270
|
+
|
|
271
|
+
@typing.final
|
|
272
|
+
@deprecated("Use User instead of UserInformation. For more info, see MSDN.")
|
|
273
|
+
class UserInformation(winrt.system.Object, metaclass=UserInformation_Static):
|
|
274
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
275
|
+
"""A class of static members only, so there is nothing to create."""
|
|
276
|
+
|
|
277
|
+
@typing.final
|
|
278
|
+
class UserProfilePersonalizationSettings_Static(winrt.system.Object_Static):
|
|
279
|
+
# System.Boolean Windows.System.UserProfile.UserProfilePersonalizationSettings::IsSupported()
|
|
280
|
+
def is_supported(cls) -> bool: ...
|
|
281
|
+
# Windows.System.UserProfile.UserProfilePersonalizationSettings Windows.System.UserProfile.UserProfilePersonalizationSettings::get_Current()
|
|
282
|
+
@_property
|
|
283
|
+
def current(cls) -> UserProfilePersonalizationSettings: ...
|
|
284
|
+
|
|
285
|
+
@typing.final
|
|
286
|
+
class UserProfilePersonalizationSettings(winrt.system.Object, metaclass=UserProfilePersonalizationSettings_Static):
|
|
287
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
288
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
289
|
+
# Windows.Foundation.IAsyncOperation`1<System.Boolean> Windows.System.UserProfile.UserProfilePersonalizationSettings::TrySetLockScreenImageAsync(Windows.Storage.StorageFile)
|
|
290
|
+
def try_set_lock_screen_image_async(self, image_file: windows_storage.StorageFile, /) -> windows_foundation.IAsyncOperation[bool]: ...
|
|
291
|
+
# Windows.Foundation.IAsyncOperation`1<System.Boolean> Windows.System.UserProfile.UserProfilePersonalizationSettings::TrySetWallpaperImageAsync(Windows.Storage.StorageFile)
|
|
292
|
+
def try_set_wallpaper_image_async(self, image_file: windows_storage.StorageFile, /) -> windows_foundation.IAsyncOperation[bool]: ...
|
|
293
|
+
|
|
Binary file
|
|
File without changes
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: winrt-Windows.System.UserProfile
|
|
3
|
+
Version: 4!10.0.28000.2705
|
|
4
|
+
Summary: PyWinRT projection of the Windows.System.UserProfile 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-globalization[all]>=4!10.0.28000.2705; extra == 'all'
|
|
30
|
+
Requires-Dist: winrt-windows-storage-streams[all]>=4!10.0.28000.2705; extra == 'all'
|
|
31
|
+
Requires-Dist: winrt-windows-storage[all]>=4!10.0.28000.2705; extra == 'all'
|
|
32
|
+
Requires-Dist: winrt-windows-system[all]>=4!10.0.28000.2705; extra == 'all'
|
|
33
|
+
Description-Content-Type: text/markdown
|
|
34
|
+
|
|
35
|
+
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
36
|
+
|
|
37
|
+
# winrt-Windows.System.UserProfile
|
|
38
|
+
|
|
39
|
+
Windows Runtime (WinRT) APIs for the `Windows.System.UserProfile` namespace.
|
|
40
|
+
|
|
41
|
+
This package provides the `winrt.windows.system.userprofile` module.
|
|
42
|
+
|
|
43
|
+
The WinRT APIs in it are those of version 10.0.28000.2705 of the
|
|
44
|
+
`Microsoft.Windows.SDK.CPP` NuGet package.
|
|
45
|
+
|
|
46
|
+
```
|
|
47
|
+
pip install winrt-Windows.System.UserProfile
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
Other WinRT namespaces are packages of their own, so install the package of
|
|
51
|
+
each namespace your code imports from.
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
winrt/windows/system/userprofile/__init__.py,sha256=ePb01pEIjwrt03dKBhVz696iROozlD9xIU1zzfjEXOY,634
|
|
2
|
+
winrt/windows/system/userprofile/__init__.pyi,sha256=UYkTk5ZJRJPtauOjtYWlef8DeeC2k3W4gWwjs0OA19o,19567
|
|
3
|
+
winrt/windows/system/userprofile/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
|
+
winrt/windows/system/userprofile/_table.pywinrt,sha256=HneaMdKlvS8wdvM0lVBkJ5mqH6sNAPjCdTYbf5yqm_U,25552
|
|
5
|
+
winrt_windows_system_userprofile-4!10.0.28000.2705.dist-info/METADATA,sha256=xOpbpLfzClv78te1CbeSNiWOIUCm_TqE8poOX5apMuk,2350
|
|
6
|
+
winrt_windows_system_userprofile-4!10.0.28000.2705.dist-info/WHEEL,sha256=W3fkpkm7-wf9vBI5Z-7s0eWkeM-spu78I8Neb98DeEg,87
|
|
7
|
+
winrt_windows_system_userprofile-4!10.0.28000.2705.dist-info/licenses/LICENSE,sha256=dyVKOMqPV0fimbzMhqN3zpg6K6Y2OlekwrdfiZTBm8M,1225
|
|
8
|
+
winrt_windows_system_userprofile-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
|