winrt-Windows.Devices.Enumeration 2.2.0__cp313-cp313-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.
@@ -0,0 +1,370 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
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.applicationmodel.background as windows_applicationmodel_background
13
+ import winrt.windows.foundation as windows_foundation
14
+ import winrt.windows.foundation.collections as windows_foundation_collections
15
+ import winrt.windows.security.credentials as windows_security_credentials
16
+ import winrt.windows.storage.streams as windows_storage_streams
17
+ import winrt.windows.ui as windows_ui
18
+ import winrt.windows.ui.popups as windows_ui_popups
19
+
20
+ from winrt.windows.devices.enumeration import DeviceAccessStatus, DeviceClass, DeviceInformationKind, DevicePairingKinds, DevicePairingProtectionLevel, DevicePairingResultStatus, DevicePickerDisplayStatusOptions, DeviceUnpairingResultStatus, DeviceWatcherEventKind, DeviceWatcherStatus, Panel
21
+
22
+ Self = typing.TypeVar('Self')
23
+
24
+ @typing.final
25
+ class DeviceAccessChangedEventArgs(winrt.system.Object):
26
+ @staticmethod
27
+ def _from(obj: winrt.system.Object, /) -> DeviceAccessChangedEventArgs: ...
28
+ @_property
29
+ def status(self) -> DeviceAccessStatus: ...
30
+ @_property
31
+ def id(self) -> str: ...
32
+
33
+ @typing.final
34
+ class DeviceAccessInformation_Static(type):
35
+ def create_from_device_class(cls, device_class: DeviceClass, /) -> typing.Optional[DeviceAccessInformation]: ...
36
+ def create_from_device_class_id(cls, device_class_id: _uuid.UUID, /) -> typing.Optional[DeviceAccessInformation]: ...
37
+ def create_from_id(cls, device_id: str, /) -> typing.Optional[DeviceAccessInformation]: ...
38
+
39
+ @typing.final
40
+ class DeviceAccessInformation(winrt.system.Object, metaclass=DeviceAccessInformation_Static):
41
+ @staticmethod
42
+ def _from(obj: winrt.system.Object, /) -> DeviceAccessInformation: ...
43
+ def add_access_changed(self, handler: windows_foundation.TypedEventHandler[DeviceAccessInformation, DeviceAccessChangedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
44
+ def remove_access_changed(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
45
+ @_property
46
+ def current_status(self) -> DeviceAccessStatus: ...
47
+
48
+ @typing.final
49
+ class DeviceConnectionChangeTriggerDetails(winrt.system.Object):
50
+ @staticmethod
51
+ def _from(obj: winrt.system.Object, /) -> DeviceConnectionChangeTriggerDetails: ...
52
+ @_property
53
+ def device_id(self) -> str: ...
54
+
55
+ @typing.final
56
+ class DeviceDisconnectButtonClickedEventArgs(winrt.system.Object):
57
+ @staticmethod
58
+ def _from(obj: winrt.system.Object, /) -> DeviceDisconnectButtonClickedEventArgs: ...
59
+ @_property
60
+ def device(self) -> typing.Optional[DeviceInformation]: ...
61
+
62
+ @typing.final
63
+ class DeviceInformation_Static(type):
64
+ @typing.overload
65
+ def create_from_id_async(cls, device_id: str, /) -> windows_foundation.IAsyncOperation[DeviceInformation]: ...
66
+ @typing.overload
67
+ def create_from_id_async(cls, device_id: str, additional_properties: typing.Iterable[str], /) -> windows_foundation.IAsyncOperation[DeviceInformation]: ...
68
+ @typing.overload
69
+ def create_from_id_async(cls, device_id: str, additional_properties: typing.Iterable[str], kind: DeviceInformationKind, /) -> windows_foundation.IAsyncOperation[DeviceInformation]: ...
70
+ @typing.overload
71
+ def create_watcher(cls) -> typing.Optional[DeviceWatcher]: ...
72
+ @typing.overload
73
+ def create_watcher(cls, device_class: DeviceClass, /) -> typing.Optional[DeviceWatcher]: ...
74
+ @typing.overload
75
+ def create_watcher(cls, aqs_filter: str, additional_properties: typing.Iterable[str], /) -> typing.Optional[DeviceWatcher]: ...
76
+ @typing.overload
77
+ def create_watcher(cls, aqs_filter: str, additional_properties: typing.Iterable[str], kind: DeviceInformationKind, /) -> typing.Optional[DeviceWatcher]: ...
78
+ @typing.overload
79
+ def find_all_async(cls) -> windows_foundation.IAsyncOperation[DeviceInformationCollection]: ...
80
+ @typing.overload
81
+ def find_all_async(cls, device_class: DeviceClass, /) -> windows_foundation.IAsyncOperation[DeviceInformationCollection]: ...
82
+ @typing.overload
83
+ def find_all_async(cls, aqs_filter: str, additional_properties: typing.Iterable[str], /) -> windows_foundation.IAsyncOperation[DeviceInformationCollection]: ...
84
+ @typing.overload
85
+ def find_all_async(cls, aqs_filter: str, additional_properties: typing.Iterable[str], kind: DeviceInformationKind, /) -> windows_foundation.IAsyncOperation[DeviceInformationCollection]: ...
86
+ def get_aqs_filter_from_device_class(cls, device_class: DeviceClass, /) -> str: ...
87
+
88
+ @typing.final
89
+ class DeviceInformation(winrt.system.Object, metaclass=DeviceInformation_Static):
90
+ @staticmethod
91
+ def _from(obj: winrt.system.Object, /) -> DeviceInformation: ...
92
+ def get_glyph_thumbnail_async(self) -> windows_foundation.IAsyncOperation[DeviceThumbnail]: ...
93
+ def get_thumbnail_async(self) -> windows_foundation.IAsyncOperation[DeviceThumbnail]: ...
94
+ def update(self, update_info: typing.Optional[DeviceInformationUpdate], /) -> None: ...
95
+ @_property
96
+ def enclosure_location(self) -> typing.Optional[EnclosureLocation]: ...
97
+ @_property
98
+ def id(self) -> str: ...
99
+ @_property
100
+ def is_default(self) -> bool: ...
101
+ @_property
102
+ def is_enabled(self) -> bool: ...
103
+ @_property
104
+ def name(self) -> str: ...
105
+ @_property
106
+ def properties(self) -> typing.Optional[windows_foundation_collections.IMapView[str, winrt.system.Object]]: ...
107
+ @_property
108
+ def kind(self) -> DeviceInformationKind: ...
109
+ @_property
110
+ def pairing(self) -> typing.Optional[DeviceInformationPairing]: ...
111
+
112
+ @typing.final
113
+ class DeviceInformationCollection(winrt.system.Object, winrt._winrt.Sequence[DeviceInformation]):
114
+ def __len__(self) -> int: ...
115
+ def __iter__(self) -> windows_foundation_collections.IIterator[DeviceInformation]: ...
116
+ @typing.overload
117
+ def __getitem__(self, index: typing.SupportsIndex) -> DeviceInformation: ...
118
+ @typing.overload
119
+ def __getitem__(self, index: slice) -> winrt.system.Array[DeviceInformation]: ...
120
+ @staticmethod
121
+ def _from(obj: winrt.system.Object, /) -> DeviceInformationCollection: ...
122
+ def first(self) -> typing.Optional[windows_foundation_collections.IIterator[DeviceInformation]]: ...
123
+ def get_at(self, index: winrt.system.UInt32, /) -> typing.Optional[DeviceInformation]: ...
124
+ def get_many(self, start_index: winrt.system.UInt32, items: winrt.system.Array[DeviceInformation], /) -> winrt.system.UInt32: ...
125
+ def index_of(self, value: typing.Optional[DeviceInformation], /) -> typing.Tuple[bool, winrt.system.UInt32]: ...
126
+ @_property
127
+ def size(self) -> winrt.system.UInt32: ...
128
+
129
+ @typing.final
130
+ class DeviceInformationCustomPairing(winrt.system.Object):
131
+ @staticmethod
132
+ def _from(obj: winrt.system.Object, /) -> DeviceInformationCustomPairing: ...
133
+ @typing.overload
134
+ def pair_async(self, pairing_kinds_supported: DevicePairingKinds, /) -> windows_foundation.IAsyncOperation[DevicePairingResult]: ...
135
+ @typing.overload
136
+ def pair_async(self, pairing_kinds_supported: DevicePairingKinds, min_protection_level: DevicePairingProtectionLevel, /) -> windows_foundation.IAsyncOperation[DevicePairingResult]: ...
137
+ @typing.overload
138
+ def pair_async(self, pairing_kinds_supported: DevicePairingKinds, min_protection_level: DevicePairingProtectionLevel, device_pairing_settings: typing.Optional[IDevicePairingSettings], /) -> windows_foundation.IAsyncOperation[DevicePairingResult]: ...
139
+ def add_pairing_requested(self, handler: windows_foundation.TypedEventHandler[DeviceInformationCustomPairing, DevicePairingRequestedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
140
+ def remove_pairing_requested(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
141
+
142
+ @typing.final
143
+ class DeviceInformationPairing_Static(type):
144
+ def try_register_for_all_inbound_pairing_requests(cls, pairing_kinds_supported: DevicePairingKinds, /) -> bool: ...
145
+ def try_register_for_all_inbound_pairing_requests_with_protection_level(cls, pairing_kinds_supported: DevicePairingKinds, min_protection_level: DevicePairingProtectionLevel, /) -> bool: ...
146
+
147
+ @typing.final
148
+ class DeviceInformationPairing(winrt.system.Object, metaclass=DeviceInformationPairing_Static):
149
+ @staticmethod
150
+ def _from(obj: winrt.system.Object, /) -> DeviceInformationPairing: ...
151
+ @typing.overload
152
+ def pair_async(self) -> windows_foundation.IAsyncOperation[DevicePairingResult]: ...
153
+ @typing.overload
154
+ def pair_async(self, min_protection_level: DevicePairingProtectionLevel, /) -> windows_foundation.IAsyncOperation[DevicePairingResult]: ...
155
+ @typing.overload
156
+ def pair_async(self, min_protection_level: DevicePairingProtectionLevel, device_pairing_settings: typing.Optional[IDevicePairingSettings], /) -> windows_foundation.IAsyncOperation[DevicePairingResult]: ...
157
+ def unpair_async(self) -> windows_foundation.IAsyncOperation[DeviceUnpairingResult]: ...
158
+ @_property
159
+ def can_pair(self) -> bool: ...
160
+ @_property
161
+ def is_paired(self) -> bool: ...
162
+ @_property
163
+ def custom(self) -> typing.Optional[DeviceInformationCustomPairing]: ...
164
+ @_property
165
+ def protection_level(self) -> DevicePairingProtectionLevel: ...
166
+
167
+ @typing.final
168
+ class DeviceInformationUpdate(winrt.system.Object):
169
+ @staticmethod
170
+ def _from(obj: winrt.system.Object, /) -> DeviceInformationUpdate: ...
171
+ @_property
172
+ def id(self) -> str: ...
173
+ @_property
174
+ def properties(self) -> typing.Optional[windows_foundation_collections.IMapView[str, winrt.system.Object]]: ...
175
+ @_property
176
+ def kind(self) -> DeviceInformationKind: ...
177
+
178
+ @typing.final
179
+ class DevicePairingRequestedEventArgs(winrt.system.Object):
180
+ @staticmethod
181
+ def _from(obj: winrt.system.Object, /) -> DevicePairingRequestedEventArgs: ...
182
+ @typing.overload
183
+ def accept(self) -> None: ...
184
+ @typing.overload
185
+ def accept(self, pin: str, /) -> None: ...
186
+ def accept_with_password_credential(self, password_credential: typing.Optional[windows_security_credentials.PasswordCredential], /) -> None: ...
187
+ def get_deferral(self) -> typing.Optional[windows_foundation.Deferral]: ...
188
+ @_property
189
+ def device_information(self) -> typing.Optional[DeviceInformation]: ...
190
+ @_property
191
+ def pairing_kind(self) -> DevicePairingKinds: ...
192
+ @_property
193
+ def pin(self) -> str: ...
194
+
195
+ @typing.final
196
+ class DevicePairingResult(winrt.system.Object):
197
+ @staticmethod
198
+ def _from(obj: winrt.system.Object, /) -> DevicePairingResult: ...
199
+ @_property
200
+ def protection_level_used(self) -> DevicePairingProtectionLevel: ...
201
+ @_property
202
+ def status(self) -> DevicePairingResultStatus: ...
203
+
204
+ @typing.final
205
+ class DevicePicker(winrt.system.Object):
206
+ @staticmethod
207
+ def _from(obj: winrt.system.Object, /) -> DevicePicker: ...
208
+ def __new__(cls: typing.Type[DevicePicker]) -> DevicePicker: ...
209
+ def hide(self) -> None: ...
210
+ @typing.overload
211
+ def pick_single_device_async(self, selection: windows_foundation.Rect, /) -> windows_foundation.IAsyncOperation[DeviceInformation]: ...
212
+ @typing.overload
213
+ def pick_single_device_async(self, selection: windows_foundation.Rect, placement: windows_ui_popups.Placement, /) -> windows_foundation.IAsyncOperation[DeviceInformation]: ...
214
+ def set_display_status(self, device: typing.Optional[DeviceInformation], status: str, options: DevicePickerDisplayStatusOptions, /) -> None: ...
215
+ @typing.overload
216
+ def show(self, selection: windows_foundation.Rect, /) -> None: ...
217
+ @typing.overload
218
+ def show(self, selection: windows_foundation.Rect, placement: windows_ui_popups.Placement, /) -> None: ...
219
+ def add_device_picker_dismissed(self, handler: windows_foundation.TypedEventHandler[DevicePicker, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
220
+ def remove_device_picker_dismissed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
221
+ def add_device_selected(self, handler: windows_foundation.TypedEventHandler[DevicePicker, DeviceSelectedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
222
+ def remove_device_selected(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
223
+ def add_disconnect_button_clicked(self, handler: windows_foundation.TypedEventHandler[DevicePicker, DeviceDisconnectButtonClickedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
224
+ def remove_disconnect_button_clicked(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
225
+ @_property
226
+ def appearance(self) -> typing.Optional[DevicePickerAppearance]: ...
227
+ @_property
228
+ def filter(self) -> typing.Optional[DevicePickerFilter]: ...
229
+ @_property
230
+ def requested_properties(self) -> typing.Optional[windows_foundation_collections.IVector[str]]: ...
231
+
232
+ @typing.final
233
+ class DevicePickerAppearance(winrt.system.Object):
234
+ @staticmethod
235
+ def _from(obj: winrt.system.Object, /) -> DevicePickerAppearance: ...
236
+ @_property
237
+ def title(self) -> str: ...
238
+ @title.setter
239
+ def title(self, value: str) -> None: ...
240
+ @_property
241
+ def selected_foreground_color(self) -> windows_ui.Color: ...
242
+ @selected_foreground_color.setter
243
+ def selected_foreground_color(self, value: windows_ui.Color) -> None: ...
244
+ @_property
245
+ def selected_background_color(self) -> windows_ui.Color: ...
246
+ @selected_background_color.setter
247
+ def selected_background_color(self, value: windows_ui.Color) -> None: ...
248
+ @_property
249
+ def selected_accent_color(self) -> windows_ui.Color: ...
250
+ @selected_accent_color.setter
251
+ def selected_accent_color(self, value: windows_ui.Color) -> None: ...
252
+ @_property
253
+ def foreground_color(self) -> windows_ui.Color: ...
254
+ @foreground_color.setter
255
+ def foreground_color(self, value: windows_ui.Color) -> None: ...
256
+ @_property
257
+ def background_color(self) -> windows_ui.Color: ...
258
+ @background_color.setter
259
+ def background_color(self, value: windows_ui.Color) -> None: ...
260
+ @_property
261
+ def accent_color(self) -> windows_ui.Color: ...
262
+ @accent_color.setter
263
+ def accent_color(self, value: windows_ui.Color) -> None: ...
264
+
265
+ @typing.final
266
+ class DevicePickerFilter(winrt.system.Object):
267
+ @staticmethod
268
+ def _from(obj: winrt.system.Object, /) -> DevicePickerFilter: ...
269
+ @_property
270
+ def supported_device_classes(self) -> typing.Optional[windows_foundation_collections.IVector[DeviceClass]]: ...
271
+ @_property
272
+ def supported_device_selectors(self) -> typing.Optional[windows_foundation_collections.IVector[str]]: ...
273
+
274
+ @typing.final
275
+ class DeviceSelectedEventArgs(winrt.system.Object):
276
+ @staticmethod
277
+ def _from(obj: winrt.system.Object, /) -> DeviceSelectedEventArgs: ...
278
+ @_property
279
+ def selected_device(self) -> typing.Optional[DeviceInformation]: ...
280
+
281
+ @typing.final
282
+ class DeviceThumbnail(winrt.system.Object):
283
+ def __enter__(self: Self) -> Self: ...
284
+ def __exit__(self, *args) -> None: ...
285
+ @staticmethod
286
+ def _from(obj: winrt.system.Object, /) -> DeviceThumbnail: ...
287
+ def clone_stream(self) -> typing.Optional[windows_storage_streams.IRandomAccessStream]: ...
288
+ def close(self) -> None: ...
289
+ def flush_async(self) -> windows_foundation.IAsyncOperation[bool]: ...
290
+ def get_input_stream_at(self, position: winrt.system.UInt64, /) -> typing.Optional[windows_storage_streams.IInputStream]: ...
291
+ def get_output_stream_at(self, position: winrt.system.UInt64, /) -> typing.Optional[windows_storage_streams.IOutputStream]: ...
292
+ def read_async(self, buffer: typing.Optional[windows_storage_streams.IBuffer], count: winrt.system.UInt32, options: windows_storage_streams.InputStreamOptions, /) -> windows_foundation.IAsyncOperationWithProgress[windows_storage_streams.IBuffer, winrt.system.UInt32]: ...
293
+ def seek(self, position: winrt.system.UInt64, /) -> None: ...
294
+ def write_async(self, buffer: typing.Optional[windows_storage_streams.IBuffer], /) -> windows_foundation.IAsyncOperationWithProgress[winrt.system.UInt32, winrt.system.UInt32]: ...
295
+ @_property
296
+ def content_type(self) -> str: ...
297
+ @_property
298
+ def size(self) -> winrt.system.UInt64: ...
299
+ @size.setter
300
+ def size(self, value: winrt.system.UInt64) -> None: ...
301
+ @_property
302
+ def can_read(self) -> bool: ...
303
+ @_property
304
+ def can_write(self) -> bool: ...
305
+ @_property
306
+ def position(self) -> winrt.system.UInt64: ...
307
+
308
+ @typing.final
309
+ class DeviceUnpairingResult(winrt.system.Object):
310
+ @staticmethod
311
+ def _from(obj: winrt.system.Object, /) -> DeviceUnpairingResult: ...
312
+ @_property
313
+ def status(self) -> DeviceUnpairingResultStatus: ...
314
+
315
+ @typing.final
316
+ class DeviceWatcher(winrt.system.Object):
317
+ @staticmethod
318
+ def _from(obj: winrt.system.Object, /) -> DeviceWatcher: ...
319
+ def get_background_trigger(self, requested_event_kinds: typing.Iterable[DeviceWatcherEventKind], /) -> typing.Optional[windows_applicationmodel_background.DeviceWatcherTrigger]: ...
320
+ def start(self) -> None: ...
321
+ def stop(self) -> None: ...
322
+ def add_added(self, handler: windows_foundation.TypedEventHandler[DeviceWatcher, DeviceInformation], /) -> windows_foundation.EventRegistrationToken: ...
323
+ def remove_added(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
324
+ def add_enumeration_completed(self, handler: windows_foundation.TypedEventHandler[DeviceWatcher, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
325
+ def remove_enumeration_completed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
326
+ def add_removed(self, handler: windows_foundation.TypedEventHandler[DeviceWatcher, DeviceInformationUpdate], /) -> windows_foundation.EventRegistrationToken: ...
327
+ def remove_removed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
328
+ def add_stopped(self, handler: windows_foundation.TypedEventHandler[DeviceWatcher, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
329
+ def remove_stopped(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
330
+ def add_updated(self, handler: windows_foundation.TypedEventHandler[DeviceWatcher, DeviceInformationUpdate], /) -> windows_foundation.EventRegistrationToken: ...
331
+ def remove_updated(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
332
+ @_property
333
+ def status(self) -> DeviceWatcherStatus: ...
334
+
335
+ @typing.final
336
+ class DeviceWatcherEvent(winrt.system.Object):
337
+ @staticmethod
338
+ def _from(obj: winrt.system.Object, /) -> DeviceWatcherEvent: ...
339
+ @_property
340
+ def device_information(self) -> typing.Optional[DeviceInformation]: ...
341
+ @_property
342
+ def device_information_update(self) -> typing.Optional[DeviceInformationUpdate]: ...
343
+ @_property
344
+ def kind(self) -> DeviceWatcherEventKind: ...
345
+
346
+ @typing.final
347
+ class DeviceWatcherTriggerDetails(winrt.system.Object):
348
+ @staticmethod
349
+ def _from(obj: winrt.system.Object, /) -> DeviceWatcherTriggerDetails: ...
350
+ @_property
351
+ def device_watcher_events(self) -> typing.Optional[windows_foundation_collections.IVectorView[DeviceWatcherEvent]]: ...
352
+
353
+ @typing.final
354
+ class EnclosureLocation(winrt.system.Object):
355
+ @staticmethod
356
+ def _from(obj: winrt.system.Object, /) -> EnclosureLocation: ...
357
+ @_property
358
+ def in_dock(self) -> bool: ...
359
+ @_property
360
+ def in_lid(self) -> bool: ...
361
+ @_property
362
+ def panel(self) -> Panel: ...
363
+ @_property
364
+ def rotation_angle_in_degrees_clockwise(self) -> winrt.system.UInt32: ...
365
+
366
+ @typing.final
367
+ class IDevicePairingSettings(winrt.system.Object):
368
+ @staticmethod
369
+ def _from(obj: winrt.system.Object, /) -> IDevicePairingSettings: ...
370
+
@@ -0,0 +1,163 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
2
+
3
+ import enum
4
+
5
+ import winrt.system
6
+ from winrt import _winrt_windows_devices_enumeration
7
+
8
+ __all__ = [
9
+ "DeviceAccessStatus",
10
+ "DeviceClass",
11
+ "DeviceInformationKind",
12
+ "DevicePairingKinds",
13
+ "DevicePairingProtectionLevel",
14
+ "DevicePairingResultStatus",
15
+ "DevicePickerDisplayStatusOptions",
16
+ "DeviceUnpairingResultStatus",
17
+ "DeviceWatcherEventKind",
18
+ "DeviceWatcherStatus",
19
+ "Panel",
20
+ "DeviceAccessChangedEventArgs",
21
+ "DeviceAccessInformation",
22
+ "DeviceConnectionChangeTriggerDetails",
23
+ "DeviceDisconnectButtonClickedEventArgs",
24
+ "DeviceInformation",
25
+ "DeviceInformationCollection",
26
+ "DeviceInformationCustomPairing",
27
+ "DeviceInformationPairing",
28
+ "DeviceInformationUpdate",
29
+ "DevicePairingRequestedEventArgs",
30
+ "DevicePairingResult",
31
+ "DevicePicker",
32
+ "DevicePickerAppearance",
33
+ "DevicePickerFilter",
34
+ "DeviceSelectedEventArgs",
35
+ "DeviceThumbnail",
36
+ "DeviceUnpairingResult",
37
+ "DeviceWatcher",
38
+ "DeviceWatcherEvent",
39
+ "DeviceWatcherTriggerDetails",
40
+ "EnclosureLocation",
41
+ "IDevicePairingSettings",
42
+ ]
43
+
44
+ class DeviceAccessStatus(enum.IntEnum):
45
+ UNSPECIFIED = 0
46
+ ALLOWED = 1
47
+ DENIED_BY_USER = 2
48
+ DENIED_BY_SYSTEM = 3
49
+
50
+ class DeviceClass(enum.IntEnum):
51
+ ALL = 0
52
+ AUDIO_CAPTURE = 1
53
+ AUDIO_RENDER = 2
54
+ PORTABLE_STORAGE_DEVICE = 3
55
+ VIDEO_CAPTURE = 4
56
+ IMAGE_SCANNER = 5
57
+ LOCATION = 6
58
+
59
+ class DeviceInformationKind(enum.IntEnum):
60
+ UNKNOWN = 0
61
+ DEVICE_INTERFACE = 1
62
+ DEVICE_CONTAINER = 2
63
+ DEVICE = 3
64
+ DEVICE_INTERFACE_CLASS = 4
65
+ ASSOCIATION_ENDPOINT = 5
66
+ ASSOCIATION_ENDPOINT_CONTAINER = 6
67
+ ASSOCIATION_ENDPOINT_SERVICE = 7
68
+ DEVICE_PANEL = 8
69
+
70
+ class DevicePairingKinds(enum.IntFlag):
71
+ NONE = 0x0
72
+ CONFIRM_ONLY = 0x1
73
+ DISPLAY_PIN = 0x2
74
+ PROVIDE_PIN = 0x4
75
+ CONFIRM_PIN_MATCH = 0x8
76
+ PROVIDE_PASSWORD_CREDENTIAL = 0x10
77
+
78
+ class DevicePairingProtectionLevel(enum.IntEnum):
79
+ DEFAULT = 0
80
+ NONE = 1
81
+ ENCRYPTION = 2
82
+ ENCRYPTION_AND_AUTHENTICATION = 3
83
+
84
+ class DevicePairingResultStatus(enum.IntEnum):
85
+ PAIRED = 0
86
+ NOT_READY_TO_PAIR = 1
87
+ NOT_PAIRED = 2
88
+ ALREADY_PAIRED = 3
89
+ CONNECTION_REJECTED = 4
90
+ TOO_MANY_CONNECTIONS = 5
91
+ HARDWARE_FAILURE = 6
92
+ AUTHENTICATION_TIMEOUT = 7
93
+ AUTHENTICATION_NOT_ALLOWED = 8
94
+ AUTHENTICATION_FAILURE = 9
95
+ NO_SUPPORTED_PROFILES = 10
96
+ PROTECTION_LEVEL_COULD_NOT_BE_MET = 11
97
+ ACCESS_DENIED = 12
98
+ INVALID_CEREMONY_DATA = 13
99
+ PAIRING_CANCELED = 14
100
+ OPERATION_ALREADY_IN_PROGRESS = 15
101
+ REQUIRED_HANDLER_NOT_REGISTERED = 16
102
+ REJECTED_BY_HANDLER = 17
103
+ REMOTE_DEVICE_HAS_ASSOCIATION = 18
104
+ FAILED = 19
105
+
106
+ class DevicePickerDisplayStatusOptions(enum.IntFlag):
107
+ NONE = 0x0
108
+ SHOW_PROGRESS = 0x1
109
+ SHOW_DISCONNECT_BUTTON = 0x2
110
+ SHOW_RETRY_BUTTON = 0x4
111
+
112
+ class DeviceUnpairingResultStatus(enum.IntEnum):
113
+ UNPAIRED = 0
114
+ ALREADY_UNPAIRED = 1
115
+ OPERATION_ALREADY_IN_PROGRESS = 2
116
+ ACCESS_DENIED = 3
117
+ FAILED = 4
118
+
119
+ class DeviceWatcherEventKind(enum.IntEnum):
120
+ ADD = 0
121
+ UPDATE = 1
122
+ REMOVE = 2
123
+
124
+ class DeviceWatcherStatus(enum.IntEnum):
125
+ CREATED = 0
126
+ STARTED = 1
127
+ ENUMERATION_COMPLETED = 2
128
+ STOPPING = 3
129
+ STOPPED = 4
130
+ ABORTED = 5
131
+
132
+ class Panel(enum.IntEnum):
133
+ UNKNOWN = 0
134
+ FRONT = 1
135
+ BACK = 2
136
+ TOP = 3
137
+ BOTTOM = 4
138
+ LEFT = 5
139
+ RIGHT = 6
140
+
141
+ DeviceAccessChangedEventArgs = _winrt_windows_devices_enumeration.DeviceAccessChangedEventArgs
142
+ DeviceAccessInformation = _winrt_windows_devices_enumeration.DeviceAccessInformation
143
+ DeviceConnectionChangeTriggerDetails = _winrt_windows_devices_enumeration.DeviceConnectionChangeTriggerDetails
144
+ DeviceDisconnectButtonClickedEventArgs = _winrt_windows_devices_enumeration.DeviceDisconnectButtonClickedEventArgs
145
+ DeviceInformation = _winrt_windows_devices_enumeration.DeviceInformation
146
+ DeviceInformationCollection = _winrt_windows_devices_enumeration.DeviceInformationCollection
147
+ winrt.system._mixin_sequence(DeviceInformationCollection)
148
+ DeviceInformationCustomPairing = _winrt_windows_devices_enumeration.DeviceInformationCustomPairing
149
+ DeviceInformationPairing = _winrt_windows_devices_enumeration.DeviceInformationPairing
150
+ DeviceInformationUpdate = _winrt_windows_devices_enumeration.DeviceInformationUpdate
151
+ DevicePairingRequestedEventArgs = _winrt_windows_devices_enumeration.DevicePairingRequestedEventArgs
152
+ DevicePairingResult = _winrt_windows_devices_enumeration.DevicePairingResult
153
+ DevicePicker = _winrt_windows_devices_enumeration.DevicePicker
154
+ DevicePickerAppearance = _winrt_windows_devices_enumeration.DevicePickerAppearance
155
+ DevicePickerFilter = _winrt_windows_devices_enumeration.DevicePickerFilter
156
+ DeviceSelectedEventArgs = _winrt_windows_devices_enumeration.DeviceSelectedEventArgs
157
+ DeviceThumbnail = _winrt_windows_devices_enumeration.DeviceThumbnail
158
+ DeviceUnpairingResult = _winrt_windows_devices_enumeration.DeviceUnpairingResult
159
+ DeviceWatcher = _winrt_windows_devices_enumeration.DeviceWatcher
160
+ DeviceWatcherEvent = _winrt_windows_devices_enumeration.DeviceWatcherEvent
161
+ DeviceWatcherTriggerDetails = _winrt_windows_devices_enumeration.DeviceWatcherTriggerDetails
162
+ EnclosureLocation = _winrt_windows_devices_enumeration.EnclosureLocation
163
+ IDevicePairingSettings = _winrt_windows_devices_enumeration.IDevicePairingSettings
File without changes
@@ -0,0 +1,31 @@
1
+ Metadata-Version: 2.1
2
+ Name: winrt-Windows.Devices.Enumeration
3
+ Version: 2.2.0
4
+ Summary: Python projection of Windows Runtime (WinRT) APIs
5
+ License: MIT
6
+ Project-URL: Documentation, https://pywinrt.readthedocs.io
7
+ Project-URL: Repository, https://github.com/pywinrt/pywinrt
8
+ Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md
9
+ Classifier: Operating System :: Microsoft :: Windows
10
+ Classifier: Programming Language :: Python :: 3
11
+ Classifier: Programming Language :: Python :: Implementation :: CPython
12
+ Classifier: Intended Audience :: Developers
13
+ Requires-Python: <3.14,>=3.9
14
+ Description-Content-Type: text/markdown
15
+ Requires-Dist: winrt-runtime ==2.2.0
16
+ Provides-Extra: all
17
+ Requires-Dist: winrt-Windows.ApplicationModel.Background[all] ==2.2.0 ; extra == 'all'
18
+ Requires-Dist: winrt-Windows.Foundation[all] ==2.2.0 ; extra == 'all'
19
+ Requires-Dist: winrt-Windows.Foundation.Collections[all] ==2.2.0 ; extra == 'all'
20
+ Requires-Dist: winrt-Windows.Security.Credentials[all] ==2.2.0 ; extra == 'all'
21
+ Requires-Dist: winrt-Windows.Storage.Streams[all] ==2.2.0 ; extra == 'all'
22
+ Requires-Dist: winrt-Windows.UI[all] ==2.2.0 ; extra == 'all'
23
+ Requires-Dist: winrt-Windows.UI.Popups[all] ==2.2.0 ; extra == 'all'
24
+
25
+ <!-- warning: Please don't edit this file. It was automatically generated. -->
26
+
27
+ # winrt-Windows.Devices.Enumeration
28
+
29
+ Windows Runtime (WinRT) APIs for for the `Windows.Devices.Enumeration` namespace.
30
+
31
+ This package provides the `winrt.windows.devices.enumeration` module.
@@ -0,0 +1,8 @@
1
+ winrt/_winrt_windows_devices_enumeration.cp313-win32.pyd,sha256=0PtuBXXvPg0eWipDUtF6e9Hf-PlK1OByGnGeHurLq7g,368640
2
+ winrt/_winrt_windows_devices_enumeration.pyi,sha256=bmRuwJ5eXf0P1ekpOLvMd8WR2JS4qjbsuuFoPiyRvs0,19730
3
+ winrt/windows/devices/enumeration/__init__.py,sha256=9IjBF7jk-NKA77O9hcCtL5vT6I1vFot8p-cOcf1eOz4,5332
4
+ winrt/windows/devices/enumeration/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
+ winrt_Windows.Devices.Enumeration-2.2.0.dist-info/METADATA,sha256=z3ULirpiGvqMms4EestaPmxmJYzTn1yLkuoZPmfgc8E,1520
6
+ winrt_Windows.Devices.Enumeration-2.2.0.dist-info/WHEEL,sha256=rHSPOKLHVf857fDiba9Pzuf1iCvh9pcRQ5-VWQYz3ms,97
7
+ winrt_Windows.Devices.Enumeration-2.2.0.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
8
+ winrt_Windows.Devices.Enumeration-2.2.0.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (73.0.0)
3
+ Root-Is-Purelib: false
4
+ Tag: cp313-cp313-win32
5
+