winrt-Windows.ApplicationModel.Contacts.Provider 4!10.0.28000.2705__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,14 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT
2
+
3
+ import winrt.runtime._internals
4
+ import winrt.system
5
+
6
+ winrt.runtime._internals.load_projection(__spec__)
7
+
8
+ __all__ = [
9
+ "AddContactResult",
10
+ "ContactPickerUI",
11
+ "ContactRemovedEventArgs",
12
+ "IContactProvider",
13
+ ]
14
+
@@ -0,0 +1,73 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT
2
+
3
+ import collections.abc as _cabc
4
+ import enum
5
+ import typing
6
+ from builtins import property as _property
7
+ from abc import abstractmethod
8
+ from typing_extensions import deprecated
9
+
10
+ import winrt.system
11
+ import winrt.windows.applicationmodel.contacts as windows_applicationmodel_contacts
12
+ import winrt.windows.foundation as windows_foundation
13
+ import winrt.windows.foundation.collections as windows_foundation_collections
14
+
15
+ __all__ = [
16
+ "AddContactResult",
17
+ "ContactPickerUI",
18
+ "ContactRemovedEventArgs",
19
+ "IContactProvider",
20
+ ]
21
+
22
+ class AddContactResult(enum.IntEnum):
23
+ ADDED = 0
24
+ ALREADY_ADDED = 1
25
+ UNAVAILABLE = 2
26
+
27
+ @typing.final
28
+ class ContactPickerUI(winrt.system.Object):
29
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
30
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
31
+ @typing.overload
32
+ # Windows.ApplicationModel.Contacts.Provider.AddContactResult Windows.ApplicationModel.Contacts.Provider.ContactPickerUI::AddContact(Windows.ApplicationModel.Contacts.Contact)
33
+ def add_contact(self, contact: windows_applicationmodel_contacts.Contact, /) -> AddContactResult: ...
34
+ @typing.overload
35
+ # Windows.ApplicationModel.Contacts.Provider.AddContactResult Windows.ApplicationModel.Contacts.Provider.ContactPickerUI::AddContact(System.String,Windows.ApplicationModel.Contacts.Contact)
36
+ @deprecated("AddContact may be altered or unavailable for releases after Windows 8.1. Instead, use AddContact without the ID.")
37
+ def add_contact(self, id: str, contact: windows_applicationmodel_contacts.Contact, /) -> AddContactResult: ...
38
+ # System.Boolean Windows.ApplicationModel.Contacts.Provider.ContactPickerUI::ContainsContact(System.String)
39
+ def contains_contact(self, id: str, /) -> bool: ...
40
+ # System.Void Windows.ApplicationModel.Contacts.Provider.ContactPickerUI::RemoveContact(System.String)
41
+ def remove_contact(self, id: str, /) -> None: ...
42
+ # Windows.Foundation.EventRegistrationToken Windows.ApplicationModel.Contacts.Provider.ContactPickerUI::add_ContactRemoved(Windows.Foundation.TypedEventHandler`2<Windows.ApplicationModel.Contacts.Provider.ContactPickerUI,Windows.ApplicationModel.Contacts.Provider.ContactRemovedEventArgs>)
43
+ def add_contact_removed(self, handler: windows_foundation.TypedEventHandler[ContactPickerUI, ContactRemovedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
44
+ # System.Void Windows.ApplicationModel.Contacts.Provider.ContactPickerUI::remove_ContactRemoved(Windows.Foundation.EventRegistrationToken)
45
+ def remove_contact_removed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
46
+ # Windows.Foundation.Collections.IVectorView`1<System.String> Windows.ApplicationModel.Contacts.Provider.ContactPickerUI::get_DesiredFields()
47
+ @_property
48
+ @deprecated("DesiredFields may be altered or unavailable for releases after Windows 8.1. Instead, use DesiredFieldsWithContactFieldType.")
49
+ def desired_fields(self) -> _cabc.Sequence[str]: ...
50
+ # Windows.ApplicationModel.Contacts.ContactSelectionMode Windows.ApplicationModel.Contacts.Provider.ContactPickerUI::get_SelectionMode()
51
+ @_property
52
+ def selection_mode(self) -> windows_applicationmodel_contacts.ContactSelectionMode: ...
53
+ # Windows.Foundation.Collections.IVector`1<Windows.ApplicationModel.Contacts.ContactFieldType> Windows.ApplicationModel.Contacts.Provider.ContactPickerUI::get_DesiredFieldsWithContactFieldType()
54
+ @_property
55
+ def desired_fields_with_contact_field_type(self) -> _cabc.MutableSequence[windows_applicationmodel_contacts.ContactFieldType]: ...
56
+
57
+ @typing.final
58
+ class ContactRemovedEventArgs(winrt.system.Object):
59
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
60
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
61
+ # System.String Windows.ApplicationModel.Contacts.Provider.ContactRemovedEventArgs::get_Id()
62
+ @_property
63
+ def id(self) -> str: ...
64
+
65
+ class IContactProvider(winrt.system.Object):
66
+ # Windows.Foundation.IAsyncOperation`1<Windows.ApplicationModel.Contacts.Contact> Windows.ApplicationModel.Contacts.Provider.IContactProvider::GetContactFromRemoteIdAsync(System.String)
67
+ @abstractmethod
68
+ def get_contact_from_remote_id_async(self, contact_remote_id: str, /) -> windows_foundation.IAsyncOperation[windows_applicationmodel_contacts.Contact]: ...
69
+ # System.String Windows.ApplicationModel.Contacts.Provider.IContactProvider::get_ContactListId()
70
+ @_property
71
+ @abstractmethod
72
+ def contact_list_id(self) -> str: ...
73
+
@@ -0,0 +1,47 @@
1
+ Metadata-Version: 2.5
2
+ Name: winrt-Windows.ApplicationModel.Contacts.Provider
3
+ Version: 4!10.0.28000.2705
4
+ Summary: PyWinRT projection of the Windows.ApplicationModel.Contacts.Provider namespace
5
+ Project-URL: Documentation, https://pywinrt.readthedocs.io
6
+ Project-URL: Repository, https://github.com/pywinrt/pywinrt
7
+ Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/projection/winrt/CHANGELOG.md
8
+ License-Expression: MIT
9
+ License-File: LICENSE
10
+ Classifier: Intended Audience :: Developers
11
+ Classifier: Operating System :: Microsoft :: Windows
12
+ Classifier: Programming Language :: Python :: 3
13
+ Classifier: Programming Language :: Python :: 3.11
14
+ Classifier: Programming Language :: Python :: 3.12
15
+ Classifier: Programming Language :: Python :: 3.13
16
+ Classifier: Programming Language :: Python :: 3.14
17
+ Classifier: Programming Language :: Python :: 3.15
18
+ Classifier: Programming Language :: Python :: Free Threading :: 2 - Beta
19
+ Classifier: Programming Language :: Python :: Implementation :: CPython
20
+ Classifier: Typing :: Typed
21
+ Requires-Python: >=3.11
22
+ Requires-Dist: winrt-runtime<5,>=4.0.0
23
+ Requires-Dist: winrt-windows-foundation-collections>=4!10.0.28000.2705
24
+ Requires-Dist: winrt-windows-foundation>=4!10.0.28000.2705
25
+ Provides-Extra: all
26
+ Requires-Dist: winrt-windows-applicationmodel-contacts[all]>=4!10.0.28000.2705; extra == 'all'
27
+ Requires-Dist: winrt-windows-foundation-collections[all]>=4!10.0.28000.2705; extra == 'all'
28
+ Requires-Dist: winrt-windows-foundation[all]>=4!10.0.28000.2705; extra == 'all'
29
+ Description-Content-Type: text/markdown
30
+
31
+ <!-- warning: Please don't edit this file. It was automatically generated. -->
32
+
33
+ # winrt-Windows.ApplicationModel.Contacts.Provider
34
+
35
+ Windows Runtime (WinRT) APIs for the `Windows.ApplicationModel.Contacts.Provider` namespace.
36
+
37
+ This package provides the `winrt.windows.applicationmodel.contacts.provider` module.
38
+
39
+ The WinRT APIs in it are those of version 10.0.28000.2705 of the
40
+ `Microsoft.Windows.SDK.CPP` NuGet package.
41
+
42
+ ```
43
+ pip install winrt-Windows.ApplicationModel.Contacts.Provider
44
+ ```
45
+
46
+ Other WinRT namespaces are packages of their own, so install the package of
47
+ each namespace your code imports from.
@@ -0,0 +1,8 @@
1
+ winrt/windows/applicationmodel/contacts/provider/__init__.py,sha256=FgfNrxpnos-aQ6LPhKl82jERquoQ1mwkoODy8C88DWA,296
2
+ winrt/windows/applicationmodel/contacts/provider/__init__.pyi,sha256=q89zCqvkNpabh9_7bE-1KrT7WDvmIwwl4it-rTy2sLg,4674
3
+ winrt/windows/applicationmodel/contacts/provider/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
+ winrt/windows/applicationmodel/contacts/provider/_table.pywinrt,sha256=c4XS3Bm6wu0-WBp0Liy9s4jaAoMVsLhnr8eNkYDV1t4,12232
5
+ winrt_windows_applicationmodel_contacts_provider-4!10.0.28000.2705.dist-info/METADATA,sha256=QcebmSbXIxY6hnLVUEZb3P2JvHXZZmjhElPbSOeS0AA,2156
6
+ winrt_windows_applicationmodel_contacts_provider-4!10.0.28000.2705.dist-info/WHEEL,sha256=W3fkpkm7-wf9vBI5Z-7s0eWkeM-spu78I8Neb98DeEg,87
7
+ winrt_windows_applicationmodel_contacts_provider-4!10.0.28000.2705.dist-info/licenses/LICENSE,sha256=dyVKOMqPV0fimbzMhqN3zpg6K6Y2OlekwrdfiZTBm8M,1225
8
+ winrt_windows_applicationmodel_contacts_provider-4!10.0.28000.2705.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: hatchling 1.32.4
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
@@ -0,0 +1,22 @@
1
+ MIT License
2
+
3
+ Copyright (c) Microsoft Corporation. All rights reserved.
4
+ Copyright (c) 2021-2026 David Lechner <david@pybricks.com>
5
+
6
+ Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ of this software and associated documentation files (the "Software"), to deal
8
+ in the Software without restriction, including without limitation the rights
9
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ copies of the Software, and to permit persons to whom the Software is
11
+ furnished to do so, subject to the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be included in all
14
+ copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
+ SOFTWARE