winrt-Windows.System.UserProfile 2.0.0b1__cp39-cp39-win32.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/_winrt_windows_system_userprofile.cp39-win32.pyd +0 -0
- winrt/_winrt_windows_system_userprofile.pyi +168 -0
- winrt/windows/system/userprofile/__init__.py +52 -0
- winrt_Windows.System.UserProfile-2.0.0b1.dist-info/METADATA +29 -0
- winrt_Windows.System.UserProfile-2.0.0b1.dist-info/RECORD +7 -0
- winrt_Windows.System.UserProfile-2.0.0b1.dist-info/WHEEL +5 -0
- winrt_Windows.System.UserProfile-2.0.0b1.dist-info/top_level.txt +1 -0
|
Binary file
|
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.0-beta.1
|
|
2
|
+
|
|
3
|
+
import datetime
|
|
4
|
+
import sys
|
|
5
|
+
import types
|
|
6
|
+
import typing
|
|
7
|
+
import uuid as _uuid
|
|
8
|
+
from builtins import property as _property
|
|
9
|
+
|
|
10
|
+
import winrt._winrt
|
|
11
|
+
import winrt.system
|
|
12
|
+
import winrt.windows.foundation
|
|
13
|
+
import winrt.windows.foundation.collections
|
|
14
|
+
import winrt.windows.globalization
|
|
15
|
+
import winrt.windows.storage
|
|
16
|
+
import winrt.windows.storage.streams
|
|
17
|
+
import winrt.windows.system
|
|
18
|
+
|
|
19
|
+
from winrt.windows.system.userprofile import AccountPictureKind, SetAccountPictureResult, SetImageFeedResult
|
|
20
|
+
|
|
21
|
+
Self = typing.TypeVar('Self')
|
|
22
|
+
|
|
23
|
+
class AdvertisingManager_Static(type):
|
|
24
|
+
def get_for_user(cls, user: typing.Optional[winrt.windows.system.User], /) -> typing.Optional[AdvertisingManagerForUser]: ...
|
|
25
|
+
@_property
|
|
26
|
+
def advertising_id(cls) -> str: ...
|
|
27
|
+
|
|
28
|
+
class AdvertisingManager(winrt.system.Object, metaclass=AdvertisingManager_Static):
|
|
29
|
+
@staticmethod
|
|
30
|
+
def _from(obj: winrt.system.Object, /) -> AdvertisingManager: ...
|
|
31
|
+
|
|
32
|
+
class AdvertisingManagerForUser(winrt.system.Object):
|
|
33
|
+
@staticmethod
|
|
34
|
+
def _from(obj: winrt.system.Object, /) -> AdvertisingManagerForUser: ...
|
|
35
|
+
@_property
|
|
36
|
+
def advertising_id(self) -> str: ...
|
|
37
|
+
@_property
|
|
38
|
+
def user(self) -> typing.Optional[winrt.windows.system.User]: ...
|
|
39
|
+
|
|
40
|
+
class AssignedAccessSettings_Static(type):
|
|
41
|
+
def get_default(cls) -> typing.Optional[AssignedAccessSettings]: ...
|
|
42
|
+
def get_for_user(cls, user: typing.Optional[winrt.windows.system.User], /) -> typing.Optional[AssignedAccessSettings]: ...
|
|
43
|
+
|
|
44
|
+
class AssignedAccessSettings(winrt.system.Object, metaclass=AssignedAccessSettings_Static):
|
|
45
|
+
@staticmethod
|
|
46
|
+
def _from(obj: winrt.system.Object, /) -> AssignedAccessSettings: ...
|
|
47
|
+
@_property
|
|
48
|
+
def is_enabled(self) -> bool: ...
|
|
49
|
+
@_property
|
|
50
|
+
def is_single_app_kiosk_mode(self) -> bool: ...
|
|
51
|
+
@_property
|
|
52
|
+
def user(self) -> typing.Optional[winrt.windows.system.User]: ...
|
|
53
|
+
|
|
54
|
+
class DiagnosticsSettings_Static(type):
|
|
55
|
+
def get_default(cls) -> typing.Optional[DiagnosticsSettings]: ...
|
|
56
|
+
def get_for_user(cls, user: typing.Optional[winrt.windows.system.User], /) -> typing.Optional[DiagnosticsSettings]: ...
|
|
57
|
+
|
|
58
|
+
class DiagnosticsSettings(winrt.system.Object, metaclass=DiagnosticsSettings_Static):
|
|
59
|
+
@staticmethod
|
|
60
|
+
def _from(obj: winrt.system.Object, /) -> DiagnosticsSettings: ...
|
|
61
|
+
@_property
|
|
62
|
+
def can_use_diagnostics_to_tailor_experiences(self) -> bool: ...
|
|
63
|
+
@_property
|
|
64
|
+
def user(self) -> typing.Optional[winrt.windows.system.User]: ...
|
|
65
|
+
|
|
66
|
+
class FirstSignInSettings_Static(type):
|
|
67
|
+
def get_default(cls) -> typing.Optional[FirstSignInSettings]: ...
|
|
68
|
+
|
|
69
|
+
class FirstSignInSettings(winrt.system.Object, winrt._winrt.Mapping[str, winrt.system.Object], metaclass=FirstSignInSettings_Static):
|
|
70
|
+
def __len__(self) -> int: ...
|
|
71
|
+
def __iter__(self) -> typing.Iterator[str]: ...
|
|
72
|
+
def __contains__(self, key: object) -> bool:...
|
|
73
|
+
def __getitem__(self, key: str) -> winrt.system.Object: ...
|
|
74
|
+
@staticmethod
|
|
75
|
+
def _from(obj: winrt.system.Object, /) -> FirstSignInSettings: ...
|
|
76
|
+
def first(self) -> typing.Optional[winrt.windows.foundation.collections.IIterator[winrt.windows.foundation.collections.IKeyValuePair[str, winrt.system.Object]]]: ...
|
|
77
|
+
def has_key(self, key: str, /) -> bool: ...
|
|
78
|
+
def lookup(self, key: str, /) -> typing.Optional[winrt.system.Object]: ...
|
|
79
|
+
def split(self) -> typing.Tuple[typing.Optional[winrt.windows.foundation.collections.IMapView[str, winrt.system.Object]], typing.Optional[winrt.windows.foundation.collections.IMapView[str, winrt.system.Object]]]: ...
|
|
80
|
+
@_property
|
|
81
|
+
def size(self) -> winrt.system.UInt32: ...
|
|
82
|
+
|
|
83
|
+
class GlobalizationPreferences_Static(type):
|
|
84
|
+
def get_for_user(cls, user: typing.Optional[winrt.windows.system.User], /) -> typing.Optional[GlobalizationPreferencesForUser]: ...
|
|
85
|
+
def try_set_home_geographic_region(cls, region: str, /) -> bool: ...
|
|
86
|
+
def try_set_languages(cls, language_tags: typing.Iterable[str], /) -> bool: ...
|
|
87
|
+
@_property
|
|
88
|
+
def calendars(cls) -> typing.Optional[winrt.windows.foundation.collections.IVectorView[str]]: ...
|
|
89
|
+
@_property
|
|
90
|
+
def clocks(cls) -> typing.Optional[winrt.windows.foundation.collections.IVectorView[str]]: ...
|
|
91
|
+
@_property
|
|
92
|
+
def currencies(cls) -> typing.Optional[winrt.windows.foundation.collections.IVectorView[str]]: ...
|
|
93
|
+
@_property
|
|
94
|
+
def home_geographic_region(cls) -> str: ...
|
|
95
|
+
@_property
|
|
96
|
+
def languages(cls) -> typing.Optional[winrt.windows.foundation.collections.IVectorView[str]]: ...
|
|
97
|
+
@_property
|
|
98
|
+
def week_starts_on(cls) -> winrt.windows.globalization.DayOfWeek: ...
|
|
99
|
+
|
|
100
|
+
class GlobalizationPreferences(winrt.system.Object, metaclass=GlobalizationPreferences_Static):
|
|
101
|
+
@staticmethod
|
|
102
|
+
def _from(obj: winrt.system.Object, /) -> GlobalizationPreferences: ...
|
|
103
|
+
|
|
104
|
+
class GlobalizationPreferencesForUser(winrt.system.Object):
|
|
105
|
+
@staticmethod
|
|
106
|
+
def _from(obj: winrt.system.Object, /) -> GlobalizationPreferencesForUser: ...
|
|
107
|
+
@_property
|
|
108
|
+
def calendars(self) -> typing.Optional[winrt.windows.foundation.collections.IVectorView[str]]: ...
|
|
109
|
+
@_property
|
|
110
|
+
def clocks(self) -> typing.Optional[winrt.windows.foundation.collections.IVectorView[str]]: ...
|
|
111
|
+
@_property
|
|
112
|
+
def currencies(self) -> typing.Optional[winrt.windows.foundation.collections.IVectorView[str]]: ...
|
|
113
|
+
@_property
|
|
114
|
+
def home_geographic_region(self) -> str: ...
|
|
115
|
+
@_property
|
|
116
|
+
def languages(self) -> typing.Optional[winrt.windows.foundation.collections.IVectorView[str]]: ...
|
|
117
|
+
@_property
|
|
118
|
+
def user(self) -> typing.Optional[winrt.windows.system.User]: ...
|
|
119
|
+
@_property
|
|
120
|
+
def week_starts_on(self) -> winrt.windows.globalization.DayOfWeek: ...
|
|
121
|
+
|
|
122
|
+
class LockScreen_Static(type):
|
|
123
|
+
def get_image_stream(cls) -> typing.Optional[winrt.windows.storage.streams.IRandomAccessStream]: ...
|
|
124
|
+
def request_set_image_feed_async(cls, syndication_feed_uri: typing.Optional[winrt.windows.foundation.Uri], /) -> winrt.windows.foundation.IAsyncOperation[SetImageFeedResult]: ...
|
|
125
|
+
def set_image_file_async(cls, value: typing.Optional[winrt.windows.storage.IStorageFile], /) -> winrt.windows.foundation.IAsyncAction: ...
|
|
126
|
+
def set_image_stream_async(cls, value: typing.Optional[winrt.windows.storage.streams.IRandomAccessStream], /) -> winrt.windows.foundation.IAsyncAction: ...
|
|
127
|
+
def try_remove_image_feed(cls) -> bool: ...
|
|
128
|
+
@_property
|
|
129
|
+
def original_image_file(cls) -> typing.Optional[winrt.windows.foundation.Uri]: ...
|
|
130
|
+
|
|
131
|
+
class LockScreen(winrt.system.Object, metaclass=LockScreen_Static):
|
|
132
|
+
@staticmethod
|
|
133
|
+
def _from(obj: winrt.system.Object, /) -> LockScreen: ...
|
|
134
|
+
|
|
135
|
+
class UserInformation_Static(type):
|
|
136
|
+
def get_account_picture(cls, kind: AccountPictureKind, /) -> typing.Optional[winrt.windows.storage.IStorageFile]: ...
|
|
137
|
+
def get_display_name_async(cls) -> winrt.windows.foundation.IAsyncOperation[str]: ...
|
|
138
|
+
def get_domain_name_async(cls) -> winrt.windows.foundation.IAsyncOperation[str]: ...
|
|
139
|
+
def get_first_name_async(cls) -> winrt.windows.foundation.IAsyncOperation[str]: ...
|
|
140
|
+
def get_last_name_async(cls) -> winrt.windows.foundation.IAsyncOperation[str]: ...
|
|
141
|
+
def get_principal_name_async(cls) -> winrt.windows.foundation.IAsyncOperation[str]: ...
|
|
142
|
+
def get_session_initiation_protocol_uri_async(cls) -> winrt.windows.foundation.IAsyncOperation[winrt.windows.foundation.Uri]: ...
|
|
143
|
+
def set_account_picture_async(cls, image: typing.Optional[winrt.windows.storage.IStorageFile], /) -> winrt.windows.foundation.IAsyncOperation[SetAccountPictureResult]: ...
|
|
144
|
+
def set_account_picture_from_stream_async(cls, image: typing.Optional[winrt.windows.storage.streams.IRandomAccessStream], /) -> winrt.windows.foundation.IAsyncOperation[SetAccountPictureResult]: ...
|
|
145
|
+
def set_account_pictures_async(cls, small_image: typing.Optional[winrt.windows.storage.IStorageFile], large_image: typing.Optional[winrt.windows.storage.IStorageFile], video: typing.Optional[winrt.windows.storage.IStorageFile], /) -> winrt.windows.foundation.IAsyncOperation[SetAccountPictureResult]: ...
|
|
146
|
+
def set_account_pictures_from_streams_async(cls, small_image: typing.Optional[winrt.windows.storage.streams.IRandomAccessStream], large_image: typing.Optional[winrt.windows.storage.streams.IRandomAccessStream], video: typing.Optional[winrt.windows.storage.streams.IRandomAccessStream], /) -> winrt.windows.foundation.IAsyncOperation[SetAccountPictureResult]: ...
|
|
147
|
+
def add_account_picture_changed(cls, change_handler: winrt.windows.foundation.EventHandler[winrt.system.Object], /) -> winrt.windows.foundation.EventRegistrationToken: ...
|
|
148
|
+
def remove_account_picture_changed(cls, token: winrt.windows.foundation.EventRegistrationToken, /) -> None: ...
|
|
149
|
+
@_property
|
|
150
|
+
def account_picture_change_enabled(cls) -> bool: ...
|
|
151
|
+
@_property
|
|
152
|
+
def name_access_allowed(cls) -> bool: ...
|
|
153
|
+
|
|
154
|
+
class UserInformation(winrt.system.Object, metaclass=UserInformation_Static):
|
|
155
|
+
@staticmethod
|
|
156
|
+
def _from(obj: winrt.system.Object, /) -> UserInformation: ...
|
|
157
|
+
|
|
158
|
+
class UserProfilePersonalizationSettings_Static(type):
|
|
159
|
+
def is_supported(cls) -> bool: ...
|
|
160
|
+
@_property
|
|
161
|
+
def current(cls) -> typing.Optional[UserProfilePersonalizationSettings]: ...
|
|
162
|
+
|
|
163
|
+
class UserProfilePersonalizationSettings(winrt.system.Object, metaclass=UserProfilePersonalizationSettings_Static):
|
|
164
|
+
@staticmethod
|
|
165
|
+
def _from(obj: winrt.system.Object, /) -> UserProfilePersonalizationSettings: ...
|
|
166
|
+
def try_set_lock_screen_image_async(self, image_file: typing.Optional[winrt.windows.storage.StorageFile], /) -> winrt.windows.foundation.IAsyncOperation[bool]: ...
|
|
167
|
+
def try_set_wallpaper_image_async(self, image_file: typing.Optional[winrt.windows.storage.StorageFile], /) -> winrt.windows.foundation.IAsyncOperation[bool]: ...
|
|
168
|
+
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.0-beta.1
|
|
2
|
+
|
|
3
|
+
import enum
|
|
4
|
+
|
|
5
|
+
import winrt.system
|
|
6
|
+
from winrt import _winrt_windows_system_userprofile
|
|
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
|
+
class AccountPictureKind(enum.IntEnum):
|
|
25
|
+
SMALL_IMAGE = 0
|
|
26
|
+
LARGE_IMAGE = 1
|
|
27
|
+
VIDEO = 2
|
|
28
|
+
|
|
29
|
+
class SetAccountPictureResult(enum.IntEnum):
|
|
30
|
+
SUCCESS = 0
|
|
31
|
+
CHANGE_DISABLED = 1
|
|
32
|
+
LARGE_OR_DYNAMIC_ERROR = 2
|
|
33
|
+
VIDEO_FRAME_SIZE_ERROR = 3
|
|
34
|
+
FILE_SIZE_ERROR = 4
|
|
35
|
+
FAILURE = 5
|
|
36
|
+
|
|
37
|
+
class SetImageFeedResult(enum.IntEnum):
|
|
38
|
+
SUCCESS = 0
|
|
39
|
+
CHANGE_DISABLED = 1
|
|
40
|
+
USER_CANCELED = 2
|
|
41
|
+
|
|
42
|
+
AdvertisingManager = _winrt_windows_system_userprofile.AdvertisingManager
|
|
43
|
+
AdvertisingManagerForUser = _winrt_windows_system_userprofile.AdvertisingManagerForUser
|
|
44
|
+
AssignedAccessSettings = _winrt_windows_system_userprofile.AssignedAccessSettings
|
|
45
|
+
DiagnosticsSettings = _winrt_windows_system_userprofile.DiagnosticsSettings
|
|
46
|
+
FirstSignInSettings = _winrt_windows_system_userprofile.FirstSignInSettings
|
|
47
|
+
winrt.system._mixin_mapping(FirstSignInSettings)
|
|
48
|
+
GlobalizationPreferences = _winrt_windows_system_userprofile.GlobalizationPreferences
|
|
49
|
+
GlobalizationPreferencesForUser = _winrt_windows_system_userprofile.GlobalizationPreferencesForUser
|
|
50
|
+
LockScreen = _winrt_windows_system_userprofile.LockScreen
|
|
51
|
+
UserInformation = _winrt_windows_system_userprofile.UserInformation
|
|
52
|
+
UserProfilePersonalizationSettings = _winrt_windows_system_userprofile.UserProfilePersonalizationSettings
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: winrt-Windows.System.UserProfile
|
|
3
|
+
Version: 2.0.0b1
|
|
4
|
+
Summary: Python projection of Windows Runtime (WinRT) APIs
|
|
5
|
+
License: MIT
|
|
6
|
+
Project-URL: Repository, https://github.com/pywrint/pywrinrt
|
|
7
|
+
Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md
|
|
8
|
+
Classifier: Operating System :: Microsoft :: Windows
|
|
9
|
+
Classifier: Programming Language :: Python :: 3
|
|
10
|
+
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
11
|
+
Classifier: Intended Audience :: Developers
|
|
12
|
+
Requires-Python: <3.13,>=3.9
|
|
13
|
+
Description-Content-Type: text/markdown
|
|
14
|
+
Requires-Dist: winrt-runtime ==2.0.0-beta.1
|
|
15
|
+
Provides-Extra: all
|
|
16
|
+
Requires-Dist: winrt-Windows.Foundation[all] ==2.0.0-beta.1 ; extra == 'all'
|
|
17
|
+
Requires-Dist: winrt-Windows.Foundation.Collections[all] ==2.0.0-beta.1 ; extra == 'all'
|
|
18
|
+
Requires-Dist: winrt-Windows.Globalization[all] ==2.0.0-beta.1 ; extra == 'all'
|
|
19
|
+
Requires-Dist: winrt-Windows.Storage[all] ==2.0.0-beta.1 ; extra == 'all'
|
|
20
|
+
Requires-Dist: winrt-Windows.Storage.Streams[all] ==2.0.0-beta.1 ; extra == 'all'
|
|
21
|
+
Requires-Dist: winrt-Windows.System[all] ==2.0.0-beta.1 ; extra == 'all'
|
|
22
|
+
|
|
23
|
+
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
24
|
+
|
|
25
|
+
# winrt-Windows.System.UserProfile
|
|
26
|
+
|
|
27
|
+
Windows Runtime (WinRT) APIs for for the `Windows.System.UserProfile` namespace.
|
|
28
|
+
|
|
29
|
+
This package provides the `winrt.windows.system.userprofile` module.
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
winrt/_winrt_windows_system_userprofile.cp39-win32.pyd,sha256=YXyD-q-OIWJlYA5-qLmJ_CEqv_ER8e_4LUdes-qHgoY,241664
|
|
2
|
+
winrt/_winrt_windows_system_userprofile.pyi,sha256=yEU-yDJ4IryytXlMOj8Ty7eLhsKCXcqDCBsRy-RAm7o,9684
|
|
3
|
+
winrt/windows/system/userprofile/__init__.py,sha256=DFFhTSiMjmUL5HR6zpa3omklFCmFJd6nz4U9wWf-6vg,1818
|
|
4
|
+
winrt_Windows.System.UserProfile-2.0.0b1.dist-info/METADATA,sha256=-Q9eu2YxOz-5E4Rkoo6lVlI-ysjL91jX89dxymmC1xI,1415
|
|
5
|
+
winrt_Windows.System.UserProfile-2.0.0b1.dist-info/WHEEL,sha256=7ZXx6xbfqHPd62Znb0xrpRpdgnbHbS6AovUcQnLmei8,96
|
|
6
|
+
winrt_Windows.System.UserProfile-2.0.0b1.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
|
|
7
|
+
winrt_Windows.System.UserProfile-2.0.0b1.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
winrt
|