winrt-Windows.ApplicationModel.Contacts.Provider 3.2.1__cp314-cp314-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.
- winrt/_winrt_windows_applicationmodel_contacts_provider.cp314-win_amd64.pyd +0 -0
- winrt/_winrt_windows_applicationmodel_contacts_provider.pyi +52 -0
- winrt/windows/applicationmodel/contacts/provider/__init__.py +21 -0
- winrt/windows/applicationmodel/contacts/provider/py.typed +0 -0
- winrt_windows_applicationmodel_contacts_provider-3.2.1.dist-info/METADATA +27 -0
- winrt_windows_applicationmodel_contacts_provider-3.2.1.dist-info/RECORD +8 -0
- winrt_windows_applicationmodel_contacts_provider-3.2.1.dist-info/WHEEL +5 -0
- winrt_windows_applicationmodel_contacts_provider-3.2.1.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v3.2.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.applicationmodel.contacts as windows_applicationmodel_contacts
|
|
13
|
+
import winrt.windows.foundation as windows_foundation
|
|
14
|
+
import winrt.windows.foundation.collections as windows_foundation_collections
|
|
15
|
+
|
|
16
|
+
from winrt.windows.applicationmodel.contacts.provider import AddContactResult
|
|
17
|
+
|
|
18
|
+
Self = typing.TypeVar('Self')
|
|
19
|
+
|
|
20
|
+
@typing.final
|
|
21
|
+
class ContactPickerUI(winrt.system.Object):
|
|
22
|
+
@typing.overload
|
|
23
|
+
# Windows.ApplicationModel.Contacts.Provider.AddContactResult Windows.ApplicationModel.Contacts.Provider.ContactPickerUI::AddContact(Windows.ApplicationModel.Contacts.Contact)
|
|
24
|
+
def add_contact(self, contact: windows_applicationmodel_contacts.Contact, /) -> AddContactResult: ...
|
|
25
|
+
@typing.overload
|
|
26
|
+
# Windows.ApplicationModel.Contacts.Provider.AddContactResult Windows.ApplicationModel.Contacts.Provider.ContactPickerUI::AddContact(System.String,Windows.ApplicationModel.Contacts.Contact)
|
|
27
|
+
# @deprecated("AddContact may be altered or unavailable for releases after Windows 8.1. Instead, use AddContact without the ID.")
|
|
28
|
+
def add_contact(self, id: str, contact: windows_applicationmodel_contacts.Contact, /) -> AddContactResult: ...
|
|
29
|
+
# System.Boolean Windows.ApplicationModel.Contacts.Provider.ContactPickerUI::ContainsContact(System.String)
|
|
30
|
+
def contains_contact(self, id: str, /) -> bool: ...
|
|
31
|
+
# System.Void Windows.ApplicationModel.Contacts.Provider.ContactPickerUI::RemoveContact(System.String)
|
|
32
|
+
def remove_contact(self, id: str, /) -> None: ...
|
|
33
|
+
# Windows.Foundation.EventRegistrationToken Windows.ApplicationModel.Contacts.Provider.ContactPickerUI::add_ContactRemoved(Windows.Foundation.TypedEventHandler`2<Windows.ApplicationModel.Contacts.Provider.ContactPickerUI,Windows.ApplicationModel.Contacts.Provider.ContactRemovedEventArgs>)
|
|
34
|
+
def add_contact_removed(self, handler: windows_foundation.TypedEventHandler[ContactPickerUI, ContactRemovedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
35
|
+
# System.Void Windows.ApplicationModel.Contacts.Provider.ContactPickerUI::remove_ContactRemoved(Windows.Foundation.EventRegistrationToken)
|
|
36
|
+
def remove_contact_removed(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
|
|
37
|
+
# Windows.Foundation.Collections.IVectorView`1<System.String> Windows.ApplicationModel.Contacts.Provider.ContactPickerUI::get_DesiredFields()
|
|
38
|
+
@_property
|
|
39
|
+
def desired_fields(self) -> typing.Sequence[str]: ...
|
|
40
|
+
# Windows.ApplicationModel.Contacts.ContactSelectionMode Windows.ApplicationModel.Contacts.Provider.ContactPickerUI::get_SelectionMode()
|
|
41
|
+
@_property
|
|
42
|
+
def selection_mode(self) -> windows_applicationmodel_contacts.ContactSelectionMode: ...
|
|
43
|
+
# Windows.Foundation.Collections.IVector`1<Windows.ApplicationModel.Contacts.ContactFieldType> Windows.ApplicationModel.Contacts.Provider.ContactPickerUI::get_DesiredFieldsWithContactFieldType()
|
|
44
|
+
@_property
|
|
45
|
+
def desired_fields_with_contact_field_type(self) -> typing.MutableSequence[windows_applicationmodel_contacts.ContactFieldType]: ...
|
|
46
|
+
|
|
47
|
+
@typing.final
|
|
48
|
+
class ContactRemovedEventArgs(winrt.system.Object):
|
|
49
|
+
# System.String Windows.ApplicationModel.Contacts.Provider.ContactRemovedEventArgs::get_Id()
|
|
50
|
+
@_property
|
|
51
|
+
def id(self) -> str: ...
|
|
52
|
+
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v3.2.1
|
|
2
|
+
|
|
3
|
+
import enum
|
|
4
|
+
|
|
5
|
+
import winrt.system
|
|
6
|
+
from winrt._winrt_windows_applicationmodel_contacts_provider import (
|
|
7
|
+
ContactPickerUI,
|
|
8
|
+
ContactRemovedEventArgs,
|
|
9
|
+
)
|
|
10
|
+
|
|
11
|
+
__all__ = [
|
|
12
|
+
"AddContactResult",
|
|
13
|
+
"ContactPickerUI",
|
|
14
|
+
"ContactRemovedEventArgs",
|
|
15
|
+
]
|
|
16
|
+
|
|
17
|
+
class AddContactResult(enum.IntEnum):
|
|
18
|
+
ADDED = 0
|
|
19
|
+
ALREADY_ADDED = 1
|
|
20
|
+
UNAVAILABLE = 2
|
|
21
|
+
|
|
File without changes
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: winrt-Windows.ApplicationModel.Contacts.Provider
|
|
3
|
+
Version: 3.2.1
|
|
4
|
+
Summary: Python projection of Windows Runtime (WinRT) APIs
|
|
5
|
+
License-Expression: 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.9
|
|
14
|
+
Description-Content-Type: text/markdown
|
|
15
|
+
Requires-Dist: winrt-runtime~=3.2.1.0
|
|
16
|
+
Provides-Extra: all
|
|
17
|
+
Requires-Dist: winrt-Windows.ApplicationModel.Contacts[all]~=3.2.1.0; extra == "all"
|
|
18
|
+
Requires-Dist: winrt-Windows.Foundation[all]~=3.2.1.0; extra == "all"
|
|
19
|
+
Requires-Dist: winrt-Windows.Foundation.Collections[all]~=3.2.1.0; extra == "all"
|
|
20
|
+
|
|
21
|
+
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
22
|
+
|
|
23
|
+
# winrt-Windows.ApplicationModel.Contacts.Provider
|
|
24
|
+
|
|
25
|
+
Windows Runtime (WinRT) APIs for for the `Windows.ApplicationModel.Contacts.Provider` namespace.
|
|
26
|
+
|
|
27
|
+
This package provides the `winrt.windows.applicationmodel.contacts.provider` module.
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
winrt/_winrt_windows_applicationmodel_contacts_provider.cp314-win_amd64.pyd,sha256=ovkJKzoVbW3ZU8AgZNUUOvaJ5VRUS3SjuYkt3B28BkI,99328
|
|
2
|
+
winrt/_winrt_windows_applicationmodel_contacts_provider.pyi,sha256=Ve_ad5BNJ2Lp999nkLtSpFsjBVnJp37R1wCUqJk6-Mo,3515
|
|
3
|
+
winrt/windows/applicationmodel/contacts/provider/__init__.py,sha256=uRcjdMBGxTHPZaOMAfR4viRdX9PKXhR_d3r7ZVgHjRs,425
|
|
4
|
+
winrt/windows/applicationmodel/contacts/provider/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
|
+
winrt_windows_applicationmodel_contacts_provider-3.2.1.dist-info/METADATA,sha256=CWRFeejYeQTmoJH0OoDCWzaBjo8zjdBvqbO2sPaoYM4,1294
|
|
6
|
+
winrt_windows_applicationmodel_contacts_provider-3.2.1.dist-info/WHEEL,sha256=7k6Wcy588iJYe5lf5K095NLg-uoBTnE-T8eHJ92G4_4,101
|
|
7
|
+
winrt_windows_applicationmodel_contacts_provider-3.2.1.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
|
|
8
|
+
winrt_windows_applicationmodel_contacts_provider-3.2.1.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
winrt
|