winrt-Windows.ApplicationModel.Contacts 2.2.0__cp313-cp313-win_amd64.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,1138 @@
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.data.text as windows_data_text
13
+ import winrt.windows.foundation as windows_foundation
14
+ import winrt.windows.foundation.collections as windows_foundation_collections
15
+ import winrt.windows.storage.streams as windows_storage_streams
16
+ import winrt.windows.system as windows_system
17
+ import winrt.windows.ui as windows_ui
18
+ import winrt.windows.ui.popups as windows_ui_popups
19
+ import winrt.windows.ui.viewmanagement as windows_ui_viewmanagement
20
+
21
+ from winrt.windows.applicationmodel.contacts import ContactAddressKind, ContactAnnotationOperations, ContactAnnotationStoreAccessType, ContactBatchStatus, ContactCardHeaderKind, ContactCardTabKind, ContactChangeType, ContactDateKind, ContactEmailKind, ContactFieldCategory, ContactFieldType, ContactListOtherAppReadAccess, ContactListOtherAppWriteAccess, ContactListSyncStatus, ContactMatchReasonKind, ContactNameOrder, ContactPhoneKind, ContactQueryDesiredFields, ContactQuerySearchFields, ContactQuerySearchScope, ContactRelationship, ContactSelectionMode, ContactStoreAccessType, PinnedContactSurface
22
+
23
+ Self = typing.TypeVar('Self')
24
+
25
+ @typing.final
26
+ class AggregateContactManager(winrt.system.Object):
27
+ @staticmethod
28
+ def _from(obj: winrt.system.Object, /) -> AggregateContactManager: ...
29
+ def find_raw_contacts_async(self, contact: typing.Optional[Contact], /) -> windows_foundation.IAsyncOperation[windows_foundation_collections.IVectorView[Contact]]: ...
30
+ def set_remote_identification_information_async(self, contact_list_id: str, remote_source_id: str, account_id: str, /) -> windows_foundation.IAsyncAction: ...
31
+ def try_link_contacts_async(self, primary_contact: typing.Optional[Contact], secondary_contact: typing.Optional[Contact], /) -> windows_foundation.IAsyncOperation[Contact]: ...
32
+ def try_set_preferred_source_for_picture_async(self, aggregate_contact: typing.Optional[Contact], raw_contact: typing.Optional[Contact], /) -> windows_foundation.IAsyncOperation[bool]: ...
33
+ def unlink_raw_contact_async(self, contact: typing.Optional[Contact], /) -> windows_foundation.IAsyncAction: ...
34
+
35
+ @typing.final
36
+ class Contact(winrt.system.Object):
37
+ @staticmethod
38
+ def _from(obj: winrt.system.Object, /) -> Contact: ...
39
+ def __new__(cls: typing.Type[Contact]) -> Contact: ...
40
+ @_property
41
+ def thumbnail(self) -> typing.Optional[windows_storage_streams.IRandomAccessStreamReference]: ...
42
+ @thumbnail.setter
43
+ def thumbnail(self, value: typing.Optional[windows_storage_streams.IRandomAccessStreamReference]) -> None: ...
44
+ @_property
45
+ def name(self) -> str: ...
46
+ @name.setter
47
+ def name(self, value: str) -> None: ...
48
+ @_property
49
+ def fields(self) -> typing.Optional[windows_foundation_collections.IVector[IContactField]]: ...
50
+ @_property
51
+ def id(self) -> str: ...
52
+ @id.setter
53
+ def id(self, value: str) -> None: ...
54
+ @_property
55
+ def notes(self) -> str: ...
56
+ @notes.setter
57
+ def notes(self, value: str) -> None: ...
58
+ @_property
59
+ def connected_service_accounts(self) -> typing.Optional[windows_foundation_collections.IVector[ContactConnectedServiceAccount]]: ...
60
+ @_property
61
+ def emails(self) -> typing.Optional[windows_foundation_collections.IVector[ContactEmail]]: ...
62
+ @_property
63
+ def addresses(self) -> typing.Optional[windows_foundation_collections.IVector[ContactAddress]]: ...
64
+ @_property
65
+ def important_dates(self) -> typing.Optional[windows_foundation_collections.IVector[ContactDate]]: ...
66
+ @_property
67
+ def job_info(self) -> typing.Optional[windows_foundation_collections.IVector[ContactJobInfo]]: ...
68
+ @_property
69
+ def data_suppliers(self) -> typing.Optional[windows_foundation_collections.IVector[str]]: ...
70
+ @_property
71
+ def phones(self) -> typing.Optional[windows_foundation_collections.IVector[ContactPhone]]: ...
72
+ @_property
73
+ def provider_properties(self) -> typing.Optional[windows_foundation_collections.IPropertySet]: ...
74
+ @_property
75
+ def significant_others(self) -> typing.Optional[windows_foundation_collections.IVector[ContactSignificantOther]]: ...
76
+ @_property
77
+ def websites(self) -> typing.Optional[windows_foundation_collections.IVector[ContactWebsite]]: ...
78
+ @_property
79
+ def source_display_picture(self) -> typing.Optional[windows_storage_streams.IRandomAccessStreamReference]: ...
80
+ @source_display_picture.setter
81
+ def source_display_picture(self, value: typing.Optional[windows_storage_streams.IRandomAccessStreamReference]) -> None: ...
82
+ @_property
83
+ def text_tone_token(self) -> str: ...
84
+ @text_tone_token.setter
85
+ def text_tone_token(self, value: str) -> None: ...
86
+ @_property
87
+ def display_name_override(self) -> str: ...
88
+ @display_name_override.setter
89
+ def display_name_override(self, value: str) -> None: ...
90
+ @_property
91
+ def display_picture_user_update_time(self) -> datetime.datetime: ...
92
+ @display_picture_user_update_time.setter
93
+ def display_picture_user_update_time(self, value: datetime.datetime) -> None: ...
94
+ @_property
95
+ def nickname(self) -> str: ...
96
+ @nickname.setter
97
+ def nickname(self, value: str) -> None: ...
98
+ @_property
99
+ def remote_id(self) -> str: ...
100
+ @remote_id.setter
101
+ def remote_id(self, value: str) -> None: ...
102
+ @_property
103
+ def ring_tone_token(self) -> str: ...
104
+ @ring_tone_token.setter
105
+ def ring_tone_token(self, value: str) -> None: ...
106
+ @_property
107
+ def contact_list_id(self) -> str: ...
108
+ @_property
109
+ def large_display_picture(self) -> typing.Optional[windows_storage_streams.IRandomAccessStreamReference]: ...
110
+ @_property
111
+ def small_display_picture(self) -> typing.Optional[windows_storage_streams.IRandomAccessStreamReference]: ...
112
+ @_property
113
+ def sort_name(self) -> str: ...
114
+ @_property
115
+ def aggregate_id(self) -> str: ...
116
+ @_property
117
+ def full_name(self) -> str: ...
118
+ @_property
119
+ def is_aggregate(self) -> bool: ...
120
+ @_property
121
+ def is_display_picture_manually_set(self) -> bool: ...
122
+ @_property
123
+ def is_me(self) -> bool: ...
124
+ @_property
125
+ def yomi_given_name(self) -> str: ...
126
+ @yomi_given_name.setter
127
+ def yomi_given_name(self, value: str) -> None: ...
128
+ @_property
129
+ def honorific_name_suffix(self) -> str: ...
130
+ @honorific_name_suffix.setter
131
+ def honorific_name_suffix(self, value: str) -> None: ...
132
+ @_property
133
+ def yomi_family_name(self) -> str: ...
134
+ @yomi_family_name.setter
135
+ def yomi_family_name(self, value: str) -> None: ...
136
+ @_property
137
+ def middle_name(self) -> str: ...
138
+ @middle_name.setter
139
+ def middle_name(self, value: str) -> None: ...
140
+ @_property
141
+ def last_name(self) -> str: ...
142
+ @last_name.setter
143
+ def last_name(self, value: str) -> None: ...
144
+ @_property
145
+ def honorific_name_prefix(self) -> str: ...
146
+ @honorific_name_prefix.setter
147
+ def honorific_name_prefix(self, value: str) -> None: ...
148
+ @_property
149
+ def first_name(self) -> str: ...
150
+ @first_name.setter
151
+ def first_name(self, value: str) -> None: ...
152
+ @_property
153
+ def display_name(self) -> str: ...
154
+ @_property
155
+ def yomi_display_name(self) -> str: ...
156
+
157
+ @typing.final
158
+ class ContactAddress(winrt.system.Object):
159
+ @staticmethod
160
+ def _from(obj: winrt.system.Object, /) -> ContactAddress: ...
161
+ def __new__(cls: typing.Type[ContactAddress]) -> ContactAddress: ...
162
+ @_property
163
+ def street_address(self) -> str: ...
164
+ @street_address.setter
165
+ def street_address(self, value: str) -> None: ...
166
+ @_property
167
+ def region(self) -> str: ...
168
+ @region.setter
169
+ def region(self, value: str) -> None: ...
170
+ @_property
171
+ def postal_code(self) -> str: ...
172
+ @postal_code.setter
173
+ def postal_code(self, value: str) -> None: ...
174
+ @_property
175
+ def locality(self) -> str: ...
176
+ @locality.setter
177
+ def locality(self, value: str) -> None: ...
178
+ @_property
179
+ def kind(self) -> ContactAddressKind: ...
180
+ @kind.setter
181
+ def kind(self, value: ContactAddressKind) -> None: ...
182
+ @_property
183
+ def description(self) -> str: ...
184
+ @description.setter
185
+ def description(self, value: str) -> None: ...
186
+ @_property
187
+ def country(self) -> str: ...
188
+ @country.setter
189
+ def country(self, value: str) -> None: ...
190
+
191
+ @typing.final
192
+ class ContactAnnotation(winrt.system.Object):
193
+ @staticmethod
194
+ def _from(obj: winrt.system.Object, /) -> ContactAnnotation: ...
195
+ def __new__(cls: typing.Type[ContactAnnotation]) -> ContactAnnotation: ...
196
+ @_property
197
+ def supported_operations(self) -> ContactAnnotationOperations: ...
198
+ @supported_operations.setter
199
+ def supported_operations(self, value: ContactAnnotationOperations) -> None: ...
200
+ @_property
201
+ def remote_id(self) -> str: ...
202
+ @remote_id.setter
203
+ def remote_id(self, value: str) -> None: ...
204
+ @_property
205
+ def contact_id(self) -> str: ...
206
+ @contact_id.setter
207
+ def contact_id(self, value: str) -> None: ...
208
+ @_property
209
+ def annotation_list_id(self) -> str: ...
210
+ @_property
211
+ def id(self) -> str: ...
212
+ @_property
213
+ def is_disabled(self) -> bool: ...
214
+ @_property
215
+ def provider_properties(self) -> typing.Optional[windows_foundation_collections.ValueSet]: ...
216
+ @_property
217
+ def contact_list_id(self) -> str: ...
218
+ @contact_list_id.setter
219
+ def contact_list_id(self, value: str) -> None: ...
220
+
221
+ @typing.final
222
+ class ContactAnnotationList(winrt.system.Object):
223
+ @staticmethod
224
+ def _from(obj: winrt.system.Object, /) -> ContactAnnotationList: ...
225
+ def delete_annotation_async(self, annotation: typing.Optional[ContactAnnotation], /) -> windows_foundation.IAsyncAction: ...
226
+ def delete_async(self) -> windows_foundation.IAsyncAction: ...
227
+ def find_annotations_async(self) -> windows_foundation.IAsyncOperation[windows_foundation_collections.IVectorView[ContactAnnotation]]: ...
228
+ def find_annotations_by_remote_id_async(self, remote_id: str, /) -> windows_foundation.IAsyncOperation[windows_foundation_collections.IVectorView[ContactAnnotation]]: ...
229
+ def get_annotation_async(self, annotation_id: str, /) -> windows_foundation.IAsyncOperation[ContactAnnotation]: ...
230
+ def try_save_annotation_async(self, annotation: typing.Optional[ContactAnnotation], /) -> windows_foundation.IAsyncOperation[bool]: ...
231
+ @_property
232
+ def id(self) -> str: ...
233
+ @_property
234
+ def provider_package_family_name(self) -> str: ...
235
+ @_property
236
+ def user_data_account_id(self) -> str: ...
237
+
238
+ @typing.final
239
+ class ContactAnnotationStore(winrt.system.Object):
240
+ @staticmethod
241
+ def _from(obj: winrt.system.Object, /) -> ContactAnnotationStore: ...
242
+ @typing.overload
243
+ def create_annotation_list_async(self) -> windows_foundation.IAsyncOperation[ContactAnnotationList]: ...
244
+ @typing.overload
245
+ def create_annotation_list_async(self, user_data_account_id: str, /) -> windows_foundation.IAsyncOperation[ContactAnnotationList]: ...
246
+ def disable_annotation_async(self, annotation: typing.Optional[ContactAnnotation], /) -> windows_foundation.IAsyncAction: ...
247
+ def find_annotation_lists_async(self) -> windows_foundation.IAsyncOperation[windows_foundation_collections.IVectorView[ContactAnnotationList]]: ...
248
+ def find_annotations_for_contact_async(self, contact: typing.Optional[Contact], /) -> windows_foundation.IAsyncOperation[windows_foundation_collections.IVectorView[ContactAnnotation]]: ...
249
+ def find_annotations_for_contact_list_async(self, contact_list_id: str, /) -> windows_foundation.IAsyncOperation[windows_foundation_collections.IVectorView[ContactAnnotation]]: ...
250
+ def find_contact_ids_by_email_async(self, email_address: str, /) -> windows_foundation.IAsyncOperation[windows_foundation_collections.IVectorView[str]]: ...
251
+ def find_contact_ids_by_phone_number_async(self, phone_number: str, /) -> windows_foundation.IAsyncOperation[windows_foundation_collections.IVectorView[str]]: ...
252
+ def get_annotation_list_async(self, annotation_list_id: str, /) -> windows_foundation.IAsyncOperation[ContactAnnotationList]: ...
253
+
254
+ @typing.final
255
+ class ContactBatch(winrt.system.Object):
256
+ @staticmethod
257
+ def _from(obj: winrt.system.Object, /) -> ContactBatch: ...
258
+ @_property
259
+ def contacts(self) -> typing.Optional[windows_foundation_collections.IVectorView[Contact]]: ...
260
+ @_property
261
+ def status(self) -> ContactBatchStatus: ...
262
+
263
+ @typing.final
264
+ class ContactCardDelayedDataLoader(winrt.system.Object):
265
+ def __enter__(self: Self) -> Self: ...
266
+ def __exit__(self, *args) -> None: ...
267
+ @staticmethod
268
+ def _from(obj: winrt.system.Object, /) -> ContactCardDelayedDataLoader: ...
269
+ def close(self) -> None: ...
270
+ def set_data(self, contact: typing.Optional[Contact], /) -> None: ...
271
+
272
+ @typing.final
273
+ class ContactCardOptions(winrt.system.Object):
274
+ @staticmethod
275
+ def _from(obj: winrt.system.Object, /) -> ContactCardOptions: ...
276
+ def __new__(cls: typing.Type[ContactCardOptions]) -> ContactCardOptions: ...
277
+ @_property
278
+ def initial_tab_kind(self) -> ContactCardTabKind: ...
279
+ @initial_tab_kind.setter
280
+ def initial_tab_kind(self, value: ContactCardTabKind) -> None: ...
281
+ @_property
282
+ def header_kind(self) -> ContactCardHeaderKind: ...
283
+ @header_kind.setter
284
+ def header_kind(self, value: ContactCardHeaderKind) -> None: ...
285
+ @_property
286
+ def server_search_contact_list_ids(self) -> typing.Optional[windows_foundation_collections.IVector[str]]: ...
287
+
288
+ @typing.final
289
+ class ContactChange(winrt.system.Object):
290
+ @staticmethod
291
+ def _from(obj: winrt.system.Object, /) -> ContactChange: ...
292
+ @_property
293
+ def change_type(self) -> ContactChangeType: ...
294
+ @_property
295
+ def contact(self) -> typing.Optional[Contact]: ...
296
+
297
+ @typing.final
298
+ class ContactChangeReader(winrt.system.Object):
299
+ @staticmethod
300
+ def _from(obj: winrt.system.Object, /) -> ContactChangeReader: ...
301
+ def accept_changes(self) -> None: ...
302
+ def accept_changes_through(self, last_change_to_accept: typing.Optional[ContactChange], /) -> None: ...
303
+ def read_batch_async(self) -> windows_foundation.IAsyncOperation[windows_foundation_collections.IVectorView[ContactChange]]: ...
304
+
305
+ @typing.final
306
+ class ContactChangeTracker(winrt.system.Object):
307
+ @staticmethod
308
+ def _from(obj: winrt.system.Object, /) -> ContactChangeTracker: ...
309
+ def enable(self) -> None: ...
310
+ def get_change_reader(self) -> typing.Optional[ContactChangeReader]: ...
311
+ def reset(self) -> None: ...
312
+ @_property
313
+ def is_tracking(self) -> bool: ...
314
+
315
+ @typing.final
316
+ class ContactChangedDeferral(winrt.system.Object):
317
+ @staticmethod
318
+ def _from(obj: winrt.system.Object, /) -> ContactChangedDeferral: ...
319
+ def complete(self) -> None: ...
320
+
321
+ @typing.final
322
+ class ContactChangedEventArgs(winrt.system.Object):
323
+ @staticmethod
324
+ def _from(obj: winrt.system.Object, /) -> ContactChangedEventArgs: ...
325
+ def get_deferral(self) -> typing.Optional[ContactChangedDeferral]: ...
326
+
327
+ @typing.final
328
+ class ContactConnectedServiceAccount(winrt.system.Object):
329
+ @staticmethod
330
+ def _from(obj: winrt.system.Object, /) -> ContactConnectedServiceAccount: ...
331
+ def __new__(cls: typing.Type[ContactConnectedServiceAccount]) -> ContactConnectedServiceAccount: ...
332
+ @_property
333
+ def service_name(self) -> str: ...
334
+ @service_name.setter
335
+ def service_name(self, value: str) -> None: ...
336
+ @_property
337
+ def id(self) -> str: ...
338
+ @id.setter
339
+ def id(self, value: str) -> None: ...
340
+
341
+ @typing.final
342
+ class ContactDate(winrt.system.Object):
343
+ @staticmethod
344
+ def _from(obj: winrt.system.Object, /) -> ContactDate: ...
345
+ def __new__(cls: typing.Type[ContactDate]) -> ContactDate: ...
346
+ @_property
347
+ def year(self) -> typing.Optional[typing.Optional[winrt.system.Int32]]: ...
348
+ @year.setter
349
+ def year(self, value: typing.Optional[typing.Optional[winrt.system.Int32]]) -> None: ...
350
+ @_property
351
+ def month(self) -> typing.Optional[typing.Optional[winrt.system.UInt32]]: ...
352
+ @month.setter
353
+ def month(self, value: typing.Optional[typing.Optional[winrt.system.UInt32]]) -> None: ...
354
+ @_property
355
+ def kind(self) -> ContactDateKind: ...
356
+ @kind.setter
357
+ def kind(self, value: ContactDateKind) -> None: ...
358
+ @_property
359
+ def description(self) -> str: ...
360
+ @description.setter
361
+ def description(self, value: str) -> None: ...
362
+ @_property
363
+ def day(self) -> typing.Optional[typing.Optional[winrt.system.UInt32]]: ...
364
+ @day.setter
365
+ def day(self, value: typing.Optional[typing.Optional[winrt.system.UInt32]]) -> None: ...
366
+
367
+ @typing.final
368
+ class ContactEmail(winrt.system.Object):
369
+ @staticmethod
370
+ def _from(obj: winrt.system.Object, /) -> ContactEmail: ...
371
+ def __new__(cls: typing.Type[ContactEmail]) -> ContactEmail: ...
372
+ @_property
373
+ def kind(self) -> ContactEmailKind: ...
374
+ @kind.setter
375
+ def kind(self, value: ContactEmailKind) -> None: ...
376
+ @_property
377
+ def description(self) -> str: ...
378
+ @description.setter
379
+ def description(self, value: str) -> None: ...
380
+ @_property
381
+ def address(self) -> str: ...
382
+ @address.setter
383
+ def address(self, value: str) -> None: ...
384
+
385
+ @typing.final
386
+ class ContactField(winrt.system.Object):
387
+ @staticmethod
388
+ def _from(obj: winrt.system.Object, /) -> ContactField: ...
389
+ @typing.overload
390
+ def __new__(cls: typing.Type[ContactField], value: str, type: ContactFieldType) -> ContactField: ...
391
+ @typing.overload
392
+ def __new__(cls: typing.Type[ContactField], value: str, type: ContactFieldType, category: ContactFieldCategory) -> ContactField: ...
393
+ @typing.overload
394
+ def __new__(cls: typing.Type[ContactField], name: str, value: str, type: ContactFieldType, category: ContactFieldCategory) -> ContactField: ...
395
+ @_property
396
+ def category(self) -> ContactFieldCategory: ...
397
+ @_property
398
+ def name(self) -> str: ...
399
+ @_property
400
+ def type(self) -> ContactFieldType: ...
401
+ @_property
402
+ def value(self) -> str: ...
403
+
404
+ @typing.final
405
+ class ContactFieldFactory(winrt.system.Object):
406
+ @staticmethod
407
+ def _from(obj: winrt.system.Object, /) -> ContactFieldFactory: ...
408
+ def __new__(cls: typing.Type[ContactFieldFactory]) -> ContactFieldFactory: ...
409
+ @typing.overload
410
+ def create_field(self, value: str, type: ContactFieldType, /) -> typing.Optional[ContactField]: ...
411
+ @typing.overload
412
+ def create_field(self, value: str, type: ContactFieldType, category: ContactFieldCategory, /) -> typing.Optional[ContactField]: ...
413
+ @typing.overload
414
+ def create_field(self, name: str, value: str, type: ContactFieldType, category: ContactFieldCategory, /) -> typing.Optional[ContactField]: ...
415
+ @typing.overload
416
+ def create_instant_message(self, user_name: str, /) -> typing.Optional[ContactInstantMessageField]: ...
417
+ @typing.overload
418
+ def create_instant_message(self, user_name: str, category: ContactFieldCategory, /) -> typing.Optional[ContactInstantMessageField]: ...
419
+ @typing.overload
420
+ def create_instant_message(self, user_name: str, category: ContactFieldCategory, service: str, display_text: str, verb: typing.Optional[windows_foundation.Uri], /) -> typing.Optional[ContactInstantMessageField]: ...
421
+ @typing.overload
422
+ def create_location(self, unstructured_address: str, /) -> typing.Optional[ContactLocationField]: ...
423
+ @typing.overload
424
+ def create_location(self, unstructured_address: str, category: ContactFieldCategory, /) -> typing.Optional[ContactLocationField]: ...
425
+ @typing.overload
426
+ def create_location(self, unstructured_address: str, category: ContactFieldCategory, street: str, city: str, region: str, country: str, postal_code: str, /) -> typing.Optional[ContactLocationField]: ...
427
+
428
+ @typing.final
429
+ class ContactGroup(winrt.system.Object):
430
+ @staticmethod
431
+ def _from(obj: winrt.system.Object, /) -> ContactGroup: ...
432
+
433
+ @typing.final
434
+ class ContactInformation(winrt.system.Object):
435
+ @staticmethod
436
+ def _from(obj: winrt.system.Object, /) -> ContactInformation: ...
437
+ def get_thumbnail_async(self) -> windows_foundation.IAsyncOperation[windows_storage_streams.IRandomAccessStreamWithContentType]: ...
438
+ def query_custom_fields(self, custom_name: str, /) -> typing.Optional[windows_foundation_collections.IVectorView[ContactField]]: ...
439
+ @_property
440
+ def custom_fields(self) -> typing.Optional[windows_foundation_collections.IVectorView[ContactField]]: ...
441
+ @_property
442
+ def emails(self) -> typing.Optional[windows_foundation_collections.IVectorView[ContactField]]: ...
443
+ @_property
444
+ def instant_messages(self) -> typing.Optional[windows_foundation_collections.IVectorView[ContactInstantMessageField]]: ...
445
+ @_property
446
+ def locations(self) -> typing.Optional[windows_foundation_collections.IVectorView[ContactLocationField]]: ...
447
+ @_property
448
+ def name(self) -> str: ...
449
+ @_property
450
+ def phone_numbers(self) -> typing.Optional[windows_foundation_collections.IVectorView[ContactField]]: ...
451
+
452
+ @typing.final
453
+ class ContactInstantMessageField(winrt.system.Object):
454
+ @staticmethod
455
+ def _from(obj: winrt.system.Object, /) -> ContactInstantMessageField: ...
456
+ @typing.overload
457
+ def __new__(cls: typing.Type[ContactInstantMessageField], user_name: str) -> ContactInstantMessageField: ...
458
+ @typing.overload
459
+ def __new__(cls: typing.Type[ContactInstantMessageField], user_name: str, category: ContactFieldCategory) -> ContactInstantMessageField: ...
460
+ @typing.overload
461
+ def __new__(cls: typing.Type[ContactInstantMessageField], user_name: str, category: ContactFieldCategory, service: str, display_text: str, verb: typing.Optional[windows_foundation.Uri]) -> ContactInstantMessageField: ...
462
+ @_property
463
+ def category(self) -> ContactFieldCategory: ...
464
+ @_property
465
+ def name(self) -> str: ...
466
+ @_property
467
+ def type(self) -> ContactFieldType: ...
468
+ @_property
469
+ def value(self) -> str: ...
470
+ @_property
471
+ def display_text(self) -> str: ...
472
+ @_property
473
+ def launch_uri(self) -> typing.Optional[windows_foundation.Uri]: ...
474
+ @_property
475
+ def service(self) -> str: ...
476
+ @_property
477
+ def user_name(self) -> str: ...
478
+
479
+ @typing.final
480
+ class ContactJobInfo(winrt.system.Object):
481
+ @staticmethod
482
+ def _from(obj: winrt.system.Object, /) -> ContactJobInfo: ...
483
+ def __new__(cls: typing.Type[ContactJobInfo]) -> ContactJobInfo: ...
484
+ @_property
485
+ def title(self) -> str: ...
486
+ @title.setter
487
+ def title(self, value: str) -> None: ...
488
+ @_property
489
+ def office(self) -> str: ...
490
+ @office.setter
491
+ def office(self, value: str) -> None: ...
492
+ @_property
493
+ def manager(self) -> str: ...
494
+ @manager.setter
495
+ def manager(self, value: str) -> None: ...
496
+ @_property
497
+ def description(self) -> str: ...
498
+ @description.setter
499
+ def description(self, value: str) -> None: ...
500
+ @_property
501
+ def department(self) -> str: ...
502
+ @department.setter
503
+ def department(self, value: str) -> None: ...
504
+ @_property
505
+ def company_yomi_name(self) -> str: ...
506
+ @company_yomi_name.setter
507
+ def company_yomi_name(self, value: str) -> None: ...
508
+ @_property
509
+ def company_name(self) -> str: ...
510
+ @company_name.setter
511
+ def company_name(self, value: str) -> None: ...
512
+ @_property
513
+ def company_address(self) -> str: ...
514
+ @company_address.setter
515
+ def company_address(self, value: str) -> None: ...
516
+
517
+ @typing.final
518
+ class ContactLaunchActionVerbs_Static(type):
519
+ @_property
520
+ def call(cls) -> str: ...
521
+ @_property
522
+ def map(cls) -> str: ...
523
+ @_property
524
+ def message(cls) -> str: ...
525
+ @_property
526
+ def post(cls) -> str: ...
527
+ @_property
528
+ def video_call(cls) -> str: ...
529
+
530
+ @typing.final
531
+ class ContactLaunchActionVerbs(winrt.system.Object, metaclass=ContactLaunchActionVerbs_Static):
532
+ pass
533
+
534
+ @typing.final
535
+ class ContactList(winrt.system.Object):
536
+ @staticmethod
537
+ def _from(obj: winrt.system.Object, /) -> ContactList: ...
538
+ def delete_async(self) -> windows_foundation.IAsyncAction: ...
539
+ def delete_contact_async(self, contact: typing.Optional[Contact], /) -> windows_foundation.IAsyncAction: ...
540
+ def get_change_tracker(self, identity: str, /) -> typing.Optional[ContactChangeTracker]: ...
541
+ def get_contact_async(self, contact_id: str, /) -> windows_foundation.IAsyncOperation[Contact]: ...
542
+ def get_contact_from_remote_id_async(self, remote_id: str, /) -> windows_foundation.IAsyncOperation[Contact]: ...
543
+ @typing.overload
544
+ def get_contact_reader(self) -> typing.Optional[ContactReader]: ...
545
+ @typing.overload
546
+ def get_contact_reader(self, options: typing.Optional[ContactQueryOptions], /) -> typing.Optional[ContactReader]: ...
547
+ def get_me_contact_async(self) -> windows_foundation.IAsyncOperation[Contact]: ...
548
+ def register_sync_manager_async(self) -> windows_foundation.IAsyncAction: ...
549
+ def save_async(self) -> windows_foundation.IAsyncAction: ...
550
+ def save_contact_async(self, contact: typing.Optional[Contact], /) -> windows_foundation.IAsyncAction: ...
551
+ def add_contact_changed(self, value: windows_foundation.TypedEventHandler[ContactList, ContactChangedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
552
+ def remove_contact_changed(self, value: windows_foundation.EventRegistrationToken, /) -> None: ...
553
+ @_property
554
+ def supports_server_search(self) -> bool: ...
555
+ @supports_server_search.setter
556
+ def supports_server_search(self, value: bool) -> None: ...
557
+ @_property
558
+ def is_hidden(self) -> bool: ...
559
+ @is_hidden.setter
560
+ def is_hidden(self, value: bool) -> None: ...
561
+ @_property
562
+ def other_app_write_access(self) -> ContactListOtherAppWriteAccess: ...
563
+ @other_app_write_access.setter
564
+ def other_app_write_access(self, value: ContactListOtherAppWriteAccess) -> None: ...
565
+ @_property
566
+ def display_name(self) -> str: ...
567
+ @display_name.setter
568
+ def display_name(self, value: str) -> None: ...
569
+ @_property
570
+ def other_app_read_access(self) -> ContactListOtherAppReadAccess: ...
571
+ @other_app_read_access.setter
572
+ def other_app_read_access(self, value: ContactListOtherAppReadAccess) -> None: ...
573
+ @_property
574
+ def change_tracker(self) -> typing.Optional[ContactChangeTracker]: ...
575
+ @_property
576
+ def source_display_name(self) -> str: ...
577
+ @_property
578
+ def id(self) -> str: ...
579
+ @_property
580
+ def sync_manager(self) -> typing.Optional[ContactListSyncManager]: ...
581
+ @_property
582
+ def user_data_account_id(self) -> str: ...
583
+ @_property
584
+ def sync_constraints(self) -> typing.Optional[ContactListSyncConstraints]: ...
585
+ @_property
586
+ def limited_write_operations(self) -> typing.Optional[ContactListLimitedWriteOperations]: ...
587
+
588
+ @typing.final
589
+ class ContactListLimitedWriteOperations(winrt.system.Object):
590
+ @staticmethod
591
+ def _from(obj: winrt.system.Object, /) -> ContactListLimitedWriteOperations: ...
592
+ def try_create_or_update_contact_async(self, contact: typing.Optional[Contact], /) -> windows_foundation.IAsyncOperation[bool]: ...
593
+ def try_delete_contact_async(self, contact_id: str, /) -> windows_foundation.IAsyncOperation[bool]: ...
594
+
595
+ @typing.final
596
+ class ContactListSyncConstraints(winrt.system.Object):
597
+ @staticmethod
598
+ def _from(obj: winrt.system.Object, /) -> ContactListSyncConstraints: ...
599
+ @_property
600
+ def can_sync_descriptions(self) -> bool: ...
601
+ @can_sync_descriptions.setter
602
+ def can_sync_descriptions(self, value: bool) -> None: ...
603
+ @_property
604
+ def max_company_phone_numbers(self) -> typing.Optional[typing.Optional[winrt.system.Int32]]: ...
605
+ @max_company_phone_numbers.setter
606
+ def max_company_phone_numbers(self, value: typing.Optional[typing.Optional[winrt.system.Int32]]) -> None: ...
607
+ @_property
608
+ def max_child_relationships(self) -> typing.Optional[typing.Optional[winrt.system.Int32]]: ...
609
+ @max_child_relationships.setter
610
+ def max_child_relationships(self, value: typing.Optional[typing.Optional[winrt.system.Int32]]) -> None: ...
611
+ @_property
612
+ def max_business_fax_phone_numbers(self) -> typing.Optional[typing.Optional[winrt.system.Int32]]: ...
613
+ @max_business_fax_phone_numbers.setter
614
+ def max_business_fax_phone_numbers(self, value: typing.Optional[typing.Optional[winrt.system.Int32]]) -> None: ...
615
+ @_property
616
+ def max_birthday_dates(self) -> typing.Optional[typing.Optional[winrt.system.Int32]]: ...
617
+ @max_birthday_dates.setter
618
+ def max_birthday_dates(self, value: typing.Optional[typing.Optional[winrt.system.Int32]]) -> None: ...
619
+ @_property
620
+ def max_assistant_phone_numbers(self) -> typing.Optional[typing.Optional[winrt.system.Int32]]: ...
621
+ @max_assistant_phone_numbers.setter
622
+ def max_assistant_phone_numbers(self, value: typing.Optional[typing.Optional[winrt.system.Int32]]) -> None: ...
623
+ @_property
624
+ def max_other_addresses(self) -> typing.Optional[typing.Optional[winrt.system.Int32]]: ...
625
+ @max_other_addresses.setter
626
+ def max_other_addresses(self, value: typing.Optional[typing.Optional[winrt.system.Int32]]) -> None: ...
627
+ @_property
628
+ def max_anniversary_dates(self) -> typing.Optional[typing.Optional[winrt.system.Int32]]: ...
629
+ @max_anniversary_dates.setter
630
+ def max_anniversary_dates(self, value: typing.Optional[typing.Optional[winrt.system.Int32]]) -> None: ...
631
+ @_property
632
+ def max_home_addresses(self) -> typing.Optional[typing.Optional[winrt.system.Int32]]: ...
633
+ @max_home_addresses.setter
634
+ def max_home_addresses(self, value: typing.Optional[typing.Optional[winrt.system.Int32]]) -> None: ...
635
+ @_property
636
+ def max_other_dates(self) -> typing.Optional[typing.Optional[winrt.system.Int32]]: ...
637
+ @max_other_dates.setter
638
+ def max_other_dates(self, value: typing.Optional[typing.Optional[winrt.system.Int32]]) -> None: ...
639
+ @_property
640
+ def max_mobile_phone_numbers(self) -> typing.Optional[typing.Optional[winrt.system.Int32]]: ...
641
+ @max_mobile_phone_numbers.setter
642
+ def max_mobile_phone_numbers(self, value: typing.Optional[typing.Optional[winrt.system.Int32]]) -> None: ...
643
+ @_property
644
+ def max_job_info(self) -> typing.Optional[typing.Optional[winrt.system.Int32]]: ...
645
+ @max_job_info.setter
646
+ def max_job_info(self, value: typing.Optional[typing.Optional[winrt.system.Int32]]) -> None: ...
647
+ @_property
648
+ def max_home_phone_numbers(self) -> typing.Optional[typing.Optional[winrt.system.Int32]]: ...
649
+ @max_home_phone_numbers.setter
650
+ def max_home_phone_numbers(self, value: typing.Optional[typing.Optional[winrt.system.Int32]]) -> None: ...
651
+ @_property
652
+ def max_home_fax_phone_numbers(self) -> typing.Optional[typing.Optional[winrt.system.Int32]]: ...
653
+ @max_home_fax_phone_numbers.setter
654
+ def max_home_fax_phone_numbers(self, value: typing.Optional[typing.Optional[winrt.system.Int32]]) -> None: ...
655
+ @_property
656
+ def max_other_email_addresses(self) -> typing.Optional[typing.Optional[winrt.system.Int32]]: ...
657
+ @max_other_email_addresses.setter
658
+ def max_other_email_addresses(self, value: typing.Optional[typing.Optional[winrt.system.Int32]]) -> None: ...
659
+ @_property
660
+ def max_personal_email_addresses(self) -> typing.Optional[typing.Optional[winrt.system.Int32]]: ...
661
+ @max_personal_email_addresses.setter
662
+ def max_personal_email_addresses(self, value: typing.Optional[typing.Optional[winrt.system.Int32]]) -> None: ...
663
+ @_property
664
+ def max_partner_relationships(self) -> typing.Optional[typing.Optional[winrt.system.Int32]]: ...
665
+ @max_partner_relationships.setter
666
+ def max_partner_relationships(self, value: typing.Optional[typing.Optional[winrt.system.Int32]]) -> None: ...
667
+ @_property
668
+ def max_parent_relationships(self) -> typing.Optional[typing.Optional[winrt.system.Int32]]: ...
669
+ @max_parent_relationships.setter
670
+ def max_parent_relationships(self, value: typing.Optional[typing.Optional[winrt.system.Int32]]) -> None: ...
671
+ @_property
672
+ def max_pager_phone_numbers(self) -> typing.Optional[typing.Optional[winrt.system.Int32]]: ...
673
+ @max_pager_phone_numbers.setter
674
+ def max_pager_phone_numbers(self, value: typing.Optional[typing.Optional[winrt.system.Int32]]) -> None: ...
675
+ @_property
676
+ def max_other_relationships(self) -> typing.Optional[typing.Optional[winrt.system.Int32]]: ...
677
+ @max_other_relationships.setter
678
+ def max_other_relationships(self, value: typing.Optional[typing.Optional[winrt.system.Int32]]) -> None: ...
679
+ @_property
680
+ def max_other_phone_numbers(self) -> typing.Optional[typing.Optional[winrt.system.Int32]]: ...
681
+ @max_other_phone_numbers.setter
682
+ def max_other_phone_numbers(self, value: typing.Optional[typing.Optional[winrt.system.Int32]]) -> None: ...
683
+ @_property
684
+ def max_radio_phone_numbers(self) -> typing.Optional[typing.Optional[winrt.system.Int32]]: ...
685
+ @max_radio_phone_numbers.setter
686
+ def max_radio_phone_numbers(self, value: typing.Optional[typing.Optional[winrt.system.Int32]]) -> None: ...
687
+ @_property
688
+ def max_work_phone_numbers(self) -> typing.Optional[typing.Optional[winrt.system.Int32]]: ...
689
+ @max_work_phone_numbers.setter
690
+ def max_work_phone_numbers(self, value: typing.Optional[typing.Optional[winrt.system.Int32]]) -> None: ...
691
+ @_property
692
+ def max_work_email_addresses(self) -> typing.Optional[typing.Optional[winrt.system.Int32]]: ...
693
+ @max_work_email_addresses.setter
694
+ def max_work_email_addresses(self, value: typing.Optional[typing.Optional[winrt.system.Int32]]) -> None: ...
695
+ @_property
696
+ def max_work_addresses(self) -> typing.Optional[typing.Optional[winrt.system.Int32]]: ...
697
+ @max_work_addresses.setter
698
+ def max_work_addresses(self, value: typing.Optional[typing.Optional[winrt.system.Int32]]) -> None: ...
699
+ @_property
700
+ def max_websites(self) -> typing.Optional[typing.Optional[winrt.system.Int32]]: ...
701
+ @max_websites.setter
702
+ def max_websites(self, value: typing.Optional[typing.Optional[winrt.system.Int32]]) -> None: ...
703
+ @_property
704
+ def max_spouse_relationships(self) -> typing.Optional[typing.Optional[winrt.system.Int32]]: ...
705
+ @max_spouse_relationships.setter
706
+ def max_spouse_relationships(self, value: typing.Optional[typing.Optional[winrt.system.Int32]]) -> None: ...
707
+ @_property
708
+ def max_sibling_relationships(self) -> typing.Optional[typing.Optional[winrt.system.Int32]]: ...
709
+ @max_sibling_relationships.setter
710
+ def max_sibling_relationships(self, value: typing.Optional[typing.Optional[winrt.system.Int32]]) -> None: ...
711
+
712
+ @typing.final
713
+ class ContactListSyncManager(winrt.system.Object):
714
+ @staticmethod
715
+ def _from(obj: winrt.system.Object, /) -> ContactListSyncManager: ...
716
+ def sync_async(self) -> windows_foundation.IAsyncOperation[bool]: ...
717
+ def add_sync_status_changed(self, handler: windows_foundation.TypedEventHandler[ContactListSyncManager, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
718
+ def remove_sync_status_changed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
719
+ @_property
720
+ def status(self) -> ContactListSyncStatus: ...
721
+ @status.setter
722
+ def status(self, value: ContactListSyncStatus) -> None: ...
723
+ @_property
724
+ def last_successful_sync_time(self) -> datetime.datetime: ...
725
+ @last_successful_sync_time.setter
726
+ def last_successful_sync_time(self, value: datetime.datetime) -> None: ...
727
+ @_property
728
+ def last_attempted_sync_time(self) -> datetime.datetime: ...
729
+ @last_attempted_sync_time.setter
730
+ def last_attempted_sync_time(self, value: datetime.datetime) -> None: ...
731
+
732
+ @typing.final
733
+ class ContactLocationField(winrt.system.Object):
734
+ @staticmethod
735
+ def _from(obj: winrt.system.Object, /) -> ContactLocationField: ...
736
+ @typing.overload
737
+ def __new__(cls: typing.Type[ContactLocationField], unstructured_address: str) -> ContactLocationField: ...
738
+ @typing.overload
739
+ def __new__(cls: typing.Type[ContactLocationField], unstructured_address: str, category: ContactFieldCategory) -> ContactLocationField: ...
740
+ @typing.overload
741
+ def __new__(cls: typing.Type[ContactLocationField], unstructured_address: str, category: ContactFieldCategory, street: str, city: str, region: str, country: str, postal_code: str) -> ContactLocationField: ...
742
+ @_property
743
+ def category(self) -> ContactFieldCategory: ...
744
+ @_property
745
+ def name(self) -> str: ...
746
+ @_property
747
+ def type(self) -> ContactFieldType: ...
748
+ @_property
749
+ def value(self) -> str: ...
750
+ @_property
751
+ def city(self) -> str: ...
752
+ @_property
753
+ def country(self) -> str: ...
754
+ @_property
755
+ def postal_code(self) -> str: ...
756
+ @_property
757
+ def region(self) -> str: ...
758
+ @_property
759
+ def street(self) -> str: ...
760
+ @_property
761
+ def unstructured_address(self) -> str: ...
762
+
763
+ @typing.final
764
+ class ContactManager_Static(type):
765
+ @typing.overload
766
+ def convert_contact_to_v_card_async(cls, contact: typing.Optional[Contact], /) -> windows_foundation.IAsyncOperation[windows_storage_streams.RandomAccessStreamReference]: ...
767
+ @typing.overload
768
+ def convert_contact_to_v_card_async(cls, contact: typing.Optional[Contact], max_bytes: winrt.system.UInt32, /) -> windows_foundation.IAsyncOperation[windows_storage_streams.RandomAccessStreamReference]: ...
769
+ def convert_v_card_to_contact_async(cls, v_card: typing.Optional[windows_storage_streams.IRandomAccessStreamReference], /) -> windows_foundation.IAsyncOperation[Contact]: ...
770
+ def get_for_user(cls, user: typing.Optional[windows_system.User], /) -> typing.Optional[ContactManagerForUser]: ...
771
+ def is_show_contact_card_supported(cls) -> bool: ...
772
+ def is_show_delay_loaded_contact_card_supported(cls) -> bool: ...
773
+ def is_show_full_contact_card_supported_async(cls) -> windows_foundation.IAsyncOperation[bool]: ...
774
+ def request_annotation_store_async(cls, access_type: ContactAnnotationStoreAccessType, /) -> windows_foundation.IAsyncOperation[ContactAnnotationStore]: ...
775
+ @typing.overload
776
+ def request_store_async(cls) -> windows_foundation.IAsyncOperation[ContactStore]: ...
777
+ @typing.overload
778
+ def request_store_async(cls, access_type: ContactStoreAccessType, /) -> windows_foundation.IAsyncOperation[ContactStore]: ...
779
+ @typing.overload
780
+ def show_contact_card(cls, contact: typing.Optional[Contact], selection: windows_foundation.Rect, /) -> None: ...
781
+ @typing.overload
782
+ def show_contact_card(cls, contact: typing.Optional[Contact], selection: windows_foundation.Rect, preferred_placement: windows_ui_popups.Placement, /) -> None: ...
783
+ @typing.overload
784
+ def show_contact_card(cls, contact: typing.Optional[Contact], selection: windows_foundation.Rect, preferred_placement: windows_ui_popups.Placement, contact_card_options: typing.Optional[ContactCardOptions], /) -> None: ...
785
+ @typing.overload
786
+ def show_delay_loaded_contact_card(cls, contact: typing.Optional[Contact], selection: windows_foundation.Rect, preferred_placement: windows_ui_popups.Placement, /) -> typing.Optional[ContactCardDelayedDataLoader]: ...
787
+ @typing.overload
788
+ def show_delay_loaded_contact_card(cls, contact: typing.Optional[Contact], selection: windows_foundation.Rect, preferred_placement: windows_ui_popups.Placement, contact_card_options: typing.Optional[ContactCardOptions], /) -> typing.Optional[ContactCardDelayedDataLoader]: ...
789
+ def show_full_contact_card(cls, contact: typing.Optional[Contact], full_contact_card_options: typing.Optional[FullContactCardOptions], /) -> None: ...
790
+ @_property
791
+ def system_sort_order(cls) -> ContactNameOrder: ...
792
+ @system_sort_order.setter
793
+ def system_sort_order(cls, value: ContactNameOrder) -> None: ...
794
+ @_property
795
+ def system_display_name_order(cls) -> ContactNameOrder: ...
796
+ @system_display_name_order.setter
797
+ def system_display_name_order(cls, value: ContactNameOrder) -> None: ...
798
+ @_property
799
+ def include_middle_name_in_system_display_and_sort(cls) -> bool: ...
800
+ @include_middle_name_in_system_display_and_sort.setter
801
+ def include_middle_name_in_system_display_and_sort(cls, value: bool) -> None: ...
802
+
803
+ @typing.final
804
+ class ContactManager(winrt.system.Object, metaclass=ContactManager_Static):
805
+ pass
806
+
807
+ @typing.final
808
+ class ContactManagerForUser(winrt.system.Object):
809
+ @staticmethod
810
+ def _from(obj: winrt.system.Object, /) -> ContactManagerForUser: ...
811
+ @typing.overload
812
+ def convert_contact_to_v_card_async(self, contact: typing.Optional[Contact], /) -> windows_foundation.IAsyncOperation[windows_storage_streams.RandomAccessStreamReference]: ...
813
+ @typing.overload
814
+ def convert_contact_to_v_card_async(self, contact: typing.Optional[Contact], max_bytes: winrt.system.UInt32, /) -> windows_foundation.IAsyncOperation[windows_storage_streams.RandomAccessStreamReference]: ...
815
+ def convert_v_card_to_contact_async(self, v_card: typing.Optional[windows_storage_streams.IRandomAccessStreamReference], /) -> windows_foundation.IAsyncOperation[Contact]: ...
816
+ def request_annotation_store_async(self, access_type: ContactAnnotationStoreAccessType, /) -> windows_foundation.IAsyncOperation[ContactAnnotationStore]: ...
817
+ def request_store_async(self, access_type: ContactStoreAccessType, /) -> windows_foundation.IAsyncOperation[ContactStore]: ...
818
+ def show_full_contact_card(self, contact: typing.Optional[Contact], full_contact_card_options: typing.Optional[FullContactCardOptions], /) -> None: ...
819
+ @_property
820
+ def system_sort_order(self) -> ContactNameOrder: ...
821
+ @system_sort_order.setter
822
+ def system_sort_order(self, value: ContactNameOrder) -> None: ...
823
+ @_property
824
+ def system_display_name_order(self) -> ContactNameOrder: ...
825
+ @system_display_name_order.setter
826
+ def system_display_name_order(self, value: ContactNameOrder) -> None: ...
827
+ @_property
828
+ def user(self) -> typing.Optional[windows_system.User]: ...
829
+
830
+ @typing.final
831
+ class ContactMatchReason(winrt.system.Object):
832
+ @staticmethod
833
+ def _from(obj: winrt.system.Object, /) -> ContactMatchReason: ...
834
+ @_property
835
+ def field(self) -> ContactMatchReasonKind: ...
836
+ @_property
837
+ def segments(self) -> typing.Optional[windows_foundation_collections.IVectorView[windows_data_text.TextSegment]]: ...
838
+ @_property
839
+ def text(self) -> str: ...
840
+
841
+ @typing.final
842
+ class ContactPanel(winrt.system.Object):
843
+ @staticmethod
844
+ def _from(obj: winrt.system.Object, /) -> ContactPanel: ...
845
+ def close_panel(self) -> None: ...
846
+ def add_closing(self, handler: windows_foundation.TypedEventHandler[ContactPanel, ContactPanelClosingEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
847
+ def remove_closing(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
848
+ def add_launch_full_app_requested(self, handler: windows_foundation.TypedEventHandler[ContactPanel, ContactPanelLaunchFullAppRequestedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
849
+ def remove_launch_full_app_requested(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
850
+ @_property
851
+ def header_color(self) -> typing.Optional[typing.Optional[windows_ui.Color]]: ...
852
+ @header_color.setter
853
+ def header_color(self, value: typing.Optional[typing.Optional[windows_ui.Color]]) -> None: ...
854
+
855
+ @typing.final
856
+ class ContactPanelClosingEventArgs(winrt.system.Object):
857
+ @staticmethod
858
+ def _from(obj: winrt.system.Object, /) -> ContactPanelClosingEventArgs: ...
859
+ def get_deferral(self) -> typing.Optional[windows_foundation.Deferral]: ...
860
+
861
+ @typing.final
862
+ class ContactPanelLaunchFullAppRequestedEventArgs(winrt.system.Object):
863
+ @staticmethod
864
+ def _from(obj: winrt.system.Object, /) -> ContactPanelLaunchFullAppRequestedEventArgs: ...
865
+ @_property
866
+ def handled(self) -> bool: ...
867
+ @handled.setter
868
+ def handled(self, value: bool) -> None: ...
869
+
870
+ @typing.final
871
+ class ContactPhone(winrt.system.Object):
872
+ @staticmethod
873
+ def _from(obj: winrt.system.Object, /) -> ContactPhone: ...
874
+ def __new__(cls: typing.Type[ContactPhone]) -> ContactPhone: ...
875
+ @_property
876
+ def number(self) -> str: ...
877
+ @number.setter
878
+ def number(self, value: str) -> None: ...
879
+ @_property
880
+ def kind(self) -> ContactPhoneKind: ...
881
+ @kind.setter
882
+ def kind(self, value: ContactPhoneKind) -> None: ...
883
+ @_property
884
+ def description(self) -> str: ...
885
+ @description.setter
886
+ def description(self, value: str) -> None: ...
887
+
888
+ @typing.final
889
+ class ContactPicker_Static(type):
890
+ def create_for_user(cls, user: typing.Optional[windows_system.User], /) -> typing.Optional[ContactPicker]: ...
891
+ def is_supported_async(cls) -> windows_foundation.IAsyncOperation[bool]: ...
892
+
893
+ @typing.final
894
+ class ContactPicker(winrt.system.Object, metaclass=ContactPicker_Static):
895
+ @staticmethod
896
+ def _from(obj: winrt.system.Object, /) -> ContactPicker: ...
897
+ def __new__(cls: typing.Type[ContactPicker]) -> ContactPicker: ...
898
+ def pick_contact_async(self) -> windows_foundation.IAsyncOperation[Contact]: ...
899
+ def pick_contacts_async(self) -> windows_foundation.IAsyncOperation[windows_foundation_collections.IVector[Contact]]: ...
900
+ def pick_multiple_contacts_async(self) -> windows_foundation.IAsyncOperation[windows_foundation_collections.IVectorView[ContactInformation]]: ...
901
+ def pick_single_contact_async(self) -> windows_foundation.IAsyncOperation[ContactInformation]: ...
902
+ @_property
903
+ def selection_mode(self) -> ContactSelectionMode: ...
904
+ @selection_mode.setter
905
+ def selection_mode(self, value: ContactSelectionMode) -> None: ...
906
+ @_property
907
+ def commit_button_text(self) -> str: ...
908
+ @commit_button_text.setter
909
+ def commit_button_text(self, value: str) -> None: ...
910
+ @_property
911
+ def desired_fields(self) -> typing.Optional[windows_foundation_collections.IVector[str]]: ...
912
+ @_property
913
+ def desired_fields_with_contact_field_type(self) -> typing.Optional[windows_foundation_collections.IVector[ContactFieldType]]: ...
914
+ @_property
915
+ def user(self) -> typing.Optional[windows_system.User]: ...
916
+
917
+ @typing.final
918
+ class ContactQueryOptions(winrt.system.Object):
919
+ @staticmethod
920
+ def _from(obj: winrt.system.Object, /) -> ContactQueryOptions: ...
921
+ @typing.overload
922
+ def __new__(cls: typing.Type[ContactQueryOptions], text: str) -> ContactQueryOptions: ...
923
+ @typing.overload
924
+ def __new__(cls: typing.Type[ContactQueryOptions], text: str, fields: ContactQuerySearchFields) -> ContactQueryOptions: ...
925
+ @typing.overload
926
+ def __new__(cls: typing.Type[ContactQueryOptions]) -> ContactQueryOptions: ...
927
+ @_property
928
+ def include_contacts_from_hidden_lists(self) -> bool: ...
929
+ @include_contacts_from_hidden_lists.setter
930
+ def include_contacts_from_hidden_lists(self, value: bool) -> None: ...
931
+ @_property
932
+ def desired_operations(self) -> ContactAnnotationOperations: ...
933
+ @desired_operations.setter
934
+ def desired_operations(self, value: ContactAnnotationOperations) -> None: ...
935
+ @_property
936
+ def desired_fields(self) -> ContactQueryDesiredFields: ...
937
+ @desired_fields.setter
938
+ def desired_fields(self, value: ContactQueryDesiredFields) -> None: ...
939
+ @_property
940
+ def annotation_list_ids(self) -> typing.Optional[windows_foundation_collections.IVector[str]]: ...
941
+ @_property
942
+ def contact_list_ids(self) -> typing.Optional[windows_foundation_collections.IVector[str]]: ...
943
+ @_property
944
+ def text_search(self) -> typing.Optional[ContactQueryTextSearch]: ...
945
+
946
+ @typing.final
947
+ class ContactQueryTextSearch(winrt.system.Object):
948
+ @staticmethod
949
+ def _from(obj: winrt.system.Object, /) -> ContactQueryTextSearch: ...
950
+ @_property
951
+ def text(self) -> str: ...
952
+ @text.setter
953
+ def text(self, value: str) -> None: ...
954
+ @_property
955
+ def search_scope(self) -> ContactQuerySearchScope: ...
956
+ @search_scope.setter
957
+ def search_scope(self, value: ContactQuerySearchScope) -> None: ...
958
+ @_property
959
+ def fields(self) -> ContactQuerySearchFields: ...
960
+ @fields.setter
961
+ def fields(self, value: ContactQuerySearchFields) -> None: ...
962
+
963
+ @typing.final
964
+ class ContactReader(winrt.system.Object):
965
+ @staticmethod
966
+ def _from(obj: winrt.system.Object, /) -> ContactReader: ...
967
+ def get_matching_properties_with_match_reason(self, contact: typing.Optional[Contact], /) -> typing.Optional[windows_foundation_collections.IVectorView[ContactMatchReason]]: ...
968
+ def read_batch_async(self) -> windows_foundation.IAsyncOperation[ContactBatch]: ...
969
+
970
+ @typing.final
971
+ class ContactSignificantOther(winrt.system.Object):
972
+ @staticmethod
973
+ def _from(obj: winrt.system.Object, /) -> ContactSignificantOther: ...
974
+ def __new__(cls: typing.Type[ContactSignificantOther]) -> ContactSignificantOther: ...
975
+ @_property
976
+ def name(self) -> str: ...
977
+ @name.setter
978
+ def name(self, value: str) -> None: ...
979
+ @_property
980
+ def description(self) -> str: ...
981
+ @description.setter
982
+ def description(self, value: str) -> None: ...
983
+ @_property
984
+ def relationship(self) -> ContactRelationship: ...
985
+ @relationship.setter
986
+ def relationship(self, value: ContactRelationship) -> None: ...
987
+
988
+ @typing.final
989
+ class ContactStore(winrt.system.Object):
990
+ @staticmethod
991
+ def _from(obj: winrt.system.Object, /) -> ContactStore: ...
992
+ @typing.overload
993
+ def create_contact_list_async(self, display_name: str, /) -> windows_foundation.IAsyncOperation[ContactList]: ...
994
+ @typing.overload
995
+ def create_contact_list_async(self, display_name: str, user_data_account_id: str, /) -> windows_foundation.IAsyncOperation[ContactList]: ...
996
+ def find_contact_lists_async(self) -> windows_foundation.IAsyncOperation[windows_foundation_collections.IVectorView[ContactList]]: ...
997
+ @typing.overload
998
+ def find_contacts_async(self) -> windows_foundation.IAsyncOperation[windows_foundation_collections.IVectorView[Contact]]: ...
999
+ @typing.overload
1000
+ def find_contacts_async(self, search_text: str, /) -> windows_foundation.IAsyncOperation[windows_foundation_collections.IVectorView[Contact]]: ...
1001
+ def get_change_tracker(self, identity: str, /) -> typing.Optional[ContactChangeTracker]: ...
1002
+ def get_contact_async(self, contact_id: str, /) -> windows_foundation.IAsyncOperation[Contact]: ...
1003
+ def get_contact_list_async(self, contact_list_id: str, /) -> windows_foundation.IAsyncOperation[ContactList]: ...
1004
+ @typing.overload
1005
+ def get_contact_reader(self) -> typing.Optional[ContactReader]: ...
1006
+ @typing.overload
1007
+ def get_contact_reader(self, options: typing.Optional[ContactQueryOptions], /) -> typing.Optional[ContactReader]: ...
1008
+ def get_me_contact_async(self) -> windows_foundation.IAsyncOperation[Contact]: ...
1009
+ def add_contact_changed(self, value: windows_foundation.TypedEventHandler[ContactStore, ContactChangedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
1010
+ def remove_contact_changed(self, value: windows_foundation.EventRegistrationToken, /) -> None: ...
1011
+ @_property
1012
+ def aggregate_contact_manager(self) -> typing.Optional[AggregateContactManager]: ...
1013
+ @_property
1014
+ def change_tracker(self) -> typing.Optional[ContactChangeTracker]: ...
1015
+
1016
+ @typing.final
1017
+ class ContactStoreNotificationTriggerDetails(winrt.system.Object):
1018
+ @staticmethod
1019
+ def _from(obj: winrt.system.Object, /) -> ContactStoreNotificationTriggerDetails: ...
1020
+
1021
+ @typing.final
1022
+ class ContactWebsite(winrt.system.Object):
1023
+ @staticmethod
1024
+ def _from(obj: winrt.system.Object, /) -> ContactWebsite: ...
1025
+ def __new__(cls: typing.Type[ContactWebsite]) -> ContactWebsite: ...
1026
+ @_property
1027
+ def uri(self) -> typing.Optional[windows_foundation.Uri]: ...
1028
+ @uri.setter
1029
+ def uri(self, value: typing.Optional[windows_foundation.Uri]) -> None: ...
1030
+ @_property
1031
+ def description(self) -> str: ...
1032
+ @description.setter
1033
+ def description(self, value: str) -> None: ...
1034
+ @_property
1035
+ def raw_value(self) -> str: ...
1036
+ @raw_value.setter
1037
+ def raw_value(self, value: str) -> None: ...
1038
+
1039
+ @typing.final
1040
+ class FullContactCardOptions(winrt.system.Object):
1041
+ @staticmethod
1042
+ def _from(obj: winrt.system.Object, /) -> FullContactCardOptions: ...
1043
+ def __new__(cls: typing.Type[FullContactCardOptions]) -> FullContactCardOptions: ...
1044
+ @_property
1045
+ def desired_remaining_view(self) -> windows_ui_viewmanagement.ViewSizePreference: ...
1046
+ @desired_remaining_view.setter
1047
+ def desired_remaining_view(self, value: windows_ui_viewmanagement.ViewSizePreference) -> None: ...
1048
+
1049
+ @typing.final
1050
+ class KnownContactField_Static(type):
1051
+ def convert_name_to_type(cls, name: str, /) -> ContactFieldType: ...
1052
+ def convert_type_to_name(cls, type: ContactFieldType, /) -> str: ...
1053
+ @_property
1054
+ def email(cls) -> str: ...
1055
+ @_property
1056
+ def instant_message(cls) -> str: ...
1057
+ @_property
1058
+ def location(cls) -> str: ...
1059
+ @_property
1060
+ def phone_number(cls) -> str: ...
1061
+
1062
+ @typing.final
1063
+ class KnownContactField(winrt.system.Object, metaclass=KnownContactField_Static):
1064
+ pass
1065
+
1066
+ @typing.final
1067
+ class PinnedContactIdsQueryResult(winrt.system.Object):
1068
+ @staticmethod
1069
+ def _from(obj: winrt.system.Object, /) -> PinnedContactIdsQueryResult: ...
1070
+ @_property
1071
+ def contact_ids(self) -> typing.Optional[windows_foundation_collections.IVector[str]]: ...
1072
+
1073
+ @typing.final
1074
+ class PinnedContactManager_Static(type):
1075
+ def get_default(cls) -> typing.Optional[PinnedContactManager]: ...
1076
+ def get_for_user(cls, user: typing.Optional[windows_system.User], /) -> typing.Optional[PinnedContactManager]: ...
1077
+ def is_supported(cls) -> bool: ...
1078
+
1079
+ @typing.final
1080
+ class PinnedContactManager(winrt.system.Object, metaclass=PinnedContactManager_Static):
1081
+ @staticmethod
1082
+ def _from(obj: winrt.system.Object, /) -> PinnedContactManager: ...
1083
+ def get_pinned_contact_ids_async(self) -> windows_foundation.IAsyncOperation[PinnedContactIdsQueryResult]: ...
1084
+ def is_contact_pinned(self, contact: typing.Optional[Contact], surface: PinnedContactSurface, /) -> bool: ...
1085
+ def is_pin_surface_supported(self, surface: PinnedContactSurface, /) -> bool: ...
1086
+ def request_pin_contact_async(self, contact: typing.Optional[Contact], surface: PinnedContactSurface, /) -> windows_foundation.IAsyncOperation[bool]: ...
1087
+ def request_pin_contacts_async(self, contacts: typing.Iterable[Contact], surface: PinnedContactSurface, /) -> windows_foundation.IAsyncOperation[bool]: ...
1088
+ def request_unpin_contact_async(self, contact: typing.Optional[Contact], surface: PinnedContactSurface, /) -> windows_foundation.IAsyncOperation[bool]: ...
1089
+ def signal_contact_activity(self, contact: typing.Optional[Contact], /) -> None: ...
1090
+ @_property
1091
+ def user(self) -> typing.Optional[windows_system.User]: ...
1092
+
1093
+ @typing.final
1094
+ class IContactField(winrt.system.Object):
1095
+ @staticmethod
1096
+ def _from(obj: winrt.system.Object, /) -> IContactField: ...
1097
+ @_property
1098
+ def category(self) -> ContactFieldCategory: ...
1099
+ @_property
1100
+ def name(self) -> str: ...
1101
+ @_property
1102
+ def type(self) -> ContactFieldType: ...
1103
+ @_property
1104
+ def value(self) -> str: ...
1105
+
1106
+ @typing.final
1107
+ class IContactFieldFactory(winrt.system.Object):
1108
+ @staticmethod
1109
+ def _from(obj: winrt.system.Object, /) -> IContactFieldFactory: ...
1110
+ @typing.overload
1111
+ def create_field(self, value: str, type: ContactFieldType, /) -> typing.Optional[ContactField]: ...
1112
+ @typing.overload
1113
+ def create_field(self, value: str, type: ContactFieldType, category: ContactFieldCategory, /) -> typing.Optional[ContactField]: ...
1114
+ @typing.overload
1115
+ def create_field(self, name: str, value: str, type: ContactFieldType, category: ContactFieldCategory, /) -> typing.Optional[ContactField]: ...
1116
+
1117
+ @typing.final
1118
+ class IContactInstantMessageFieldFactory(winrt.system.Object):
1119
+ @staticmethod
1120
+ def _from(obj: winrt.system.Object, /) -> IContactInstantMessageFieldFactory: ...
1121
+ @typing.overload
1122
+ def create_instant_message(self, user_name: str, /) -> typing.Optional[ContactInstantMessageField]: ...
1123
+ @typing.overload
1124
+ def create_instant_message(self, user_name: str, category: ContactFieldCategory, /) -> typing.Optional[ContactInstantMessageField]: ...
1125
+ @typing.overload
1126
+ def create_instant_message(self, user_name: str, category: ContactFieldCategory, service: str, display_text: str, verb: typing.Optional[windows_foundation.Uri], /) -> typing.Optional[ContactInstantMessageField]: ...
1127
+
1128
+ @typing.final
1129
+ class IContactLocationFieldFactory(winrt.system.Object):
1130
+ @staticmethod
1131
+ def _from(obj: winrt.system.Object, /) -> IContactLocationFieldFactory: ...
1132
+ @typing.overload
1133
+ def create_location(self, unstructured_address: str, /) -> typing.Optional[ContactLocationField]: ...
1134
+ @typing.overload
1135
+ def create_location(self, unstructured_address: str, category: ContactFieldCategory, /) -> typing.Optional[ContactLocationField]: ...
1136
+ @typing.overload
1137
+ def create_location(self, unstructured_address: str, category: ContactFieldCategory, street: str, city: str, region: str, country: str, postal_code: str, /) -> typing.Optional[ContactLocationField]: ...
1138
+