winrt-Windows.ApplicationModel.DataTransfer.ShareTarget 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.
- winrt/windows/applicationmodel/datatransfer/sharetarget/__init__.py +13 -0
- winrt/windows/applicationmodel/datatransfer/sharetarget/__init__.pyi +82 -0
- winrt/windows/applicationmodel/datatransfer/sharetarget/_table.pywinrt +0 -0
- winrt/windows/applicationmodel/datatransfer/sharetarget/py.typed +0 -0
- winrt_windows_applicationmodel_datatransfer_sharetarget-4!10.0.28000.2705.dist-info/METADATA +48 -0
- winrt_windows_applicationmodel_datatransfer_sharetarget-4!10.0.28000.2705.dist-info/RECORD +8 -0
- winrt_windows_applicationmodel_datatransfer_sharetarget-4!10.0.28000.2705.dist-info/WHEEL +4 -0
- winrt_windows_applicationmodel_datatransfer_sharetarget-4!10.0.28000.2705.dist-info/licenses/LICENSE +22 -0
|
@@ -0,0 +1,13 @@
|
|
|
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
|
+
"QuickLink",
|
|
10
|
+
"ShareOperation",
|
|
11
|
+
]
|
|
12
|
+
|
|
13
|
+
winrt.runtime._internals.alias_method(ShareOperation, "report_completed_with_quick_link", "report_completed")
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT
|
|
2
|
+
|
|
3
|
+
import collections.abc as _cabc
|
|
4
|
+
import typing
|
|
5
|
+
from builtins import property as _property
|
|
6
|
+
from typing_extensions import deprecated
|
|
7
|
+
|
|
8
|
+
import winrt.system
|
|
9
|
+
import winrt.windows.applicationmodel.contacts as windows_applicationmodel_contacts
|
|
10
|
+
import winrt.windows.applicationmodel.datatransfer as windows_applicationmodel_datatransfer
|
|
11
|
+
import winrt.windows.foundation.collections as windows_foundation_collections
|
|
12
|
+
import winrt.windows.storage.streams as windows_storage_streams
|
|
13
|
+
|
|
14
|
+
__all__ = [
|
|
15
|
+
"QuickLink",
|
|
16
|
+
"ShareOperation",
|
|
17
|
+
]
|
|
18
|
+
|
|
19
|
+
@typing.final
|
|
20
|
+
class QuickLink(winrt.system.Object):
|
|
21
|
+
def __new__(cls) -> typing.Self: ...
|
|
22
|
+
# System.String Windows.ApplicationModel.DataTransfer.ShareTarget.QuickLink::get_Title()
|
|
23
|
+
@_property
|
|
24
|
+
def title(self) -> str: ...
|
|
25
|
+
# System.Void Windows.ApplicationModel.DataTransfer.ShareTarget.QuickLink::put_Title(System.String)
|
|
26
|
+
@title.setter
|
|
27
|
+
def title(self, value: str) -> None: ...
|
|
28
|
+
# Windows.Storage.Streams.RandomAccessStreamReference Windows.ApplicationModel.DataTransfer.ShareTarget.QuickLink::get_Thumbnail()
|
|
29
|
+
@_property
|
|
30
|
+
def thumbnail(self) -> windows_storage_streams.RandomAccessStreamReference: ...
|
|
31
|
+
# System.Void Windows.ApplicationModel.DataTransfer.ShareTarget.QuickLink::put_Thumbnail(Windows.Storage.Streams.RandomAccessStreamReference)
|
|
32
|
+
@thumbnail.setter
|
|
33
|
+
def thumbnail(self, value: windows_storage_streams.RandomAccessStreamReference) -> None: ...
|
|
34
|
+
# System.String Windows.ApplicationModel.DataTransfer.ShareTarget.QuickLink::get_Id()
|
|
35
|
+
@_property
|
|
36
|
+
def id(self) -> str: ...
|
|
37
|
+
# System.Void Windows.ApplicationModel.DataTransfer.ShareTarget.QuickLink::put_Id(System.String)
|
|
38
|
+
@id.setter
|
|
39
|
+
def id(self, value: str) -> None: ...
|
|
40
|
+
# Windows.Foundation.Collections.IVector`1<System.String> Windows.ApplicationModel.DataTransfer.ShareTarget.QuickLink::get_SupportedDataFormats()
|
|
41
|
+
@_property
|
|
42
|
+
def supported_data_formats(self) -> _cabc.MutableSequence[str]: ...
|
|
43
|
+
# Windows.Foundation.Collections.IVector`1<System.String> Windows.ApplicationModel.DataTransfer.ShareTarget.QuickLink::get_SupportedFileTypes()
|
|
44
|
+
@_property
|
|
45
|
+
def supported_file_types(self) -> _cabc.MutableSequence[str]: ...
|
|
46
|
+
|
|
47
|
+
@typing.final
|
|
48
|
+
class ShareOperation(winrt.system.Object):
|
|
49
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
50
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
51
|
+
# System.Void Windows.ApplicationModel.DataTransfer.ShareTarget.ShareOperation::DismissUI()
|
|
52
|
+
def dismiss_ui(self) -> None: ...
|
|
53
|
+
# System.Void Windows.ApplicationModel.DataTransfer.ShareTarget.ShareOperation::RemoveThisQuickLink()
|
|
54
|
+
def remove_this_quick_link(self) -> None: ...
|
|
55
|
+
@typing.overload
|
|
56
|
+
# System.Void Windows.ApplicationModel.DataTransfer.ShareTarget.ShareOperation::ReportCompleted()
|
|
57
|
+
def report_completed(self) -> None: ...
|
|
58
|
+
@typing.overload
|
|
59
|
+
# System.Void Windows.ApplicationModel.DataTransfer.ShareTarget.ShareOperation::ReportCompleted(Windows.ApplicationModel.DataTransfer.ShareTarget.QuickLink)
|
|
60
|
+
def report_completed(self, quicklink: QuickLink, /) -> None: ...
|
|
61
|
+
# Deprecated alias of report_completed() for pywinrt v3.x compatibility.
|
|
62
|
+
# System.Void Windows.ApplicationModel.DataTransfer.ShareTarget.ShareOperation::ReportCompleted(Windows.ApplicationModel.DataTransfer.ShareTarget.QuickLink)
|
|
63
|
+
@deprecated("Use report_completed() instead.")
|
|
64
|
+
def report_completed_with_quick_link(self, quicklink: QuickLink, /) -> None: ...
|
|
65
|
+
# System.Void Windows.ApplicationModel.DataTransfer.ShareTarget.ShareOperation::ReportDataRetrieved()
|
|
66
|
+
def report_data_retrieved(self) -> None: ...
|
|
67
|
+
# System.Void Windows.ApplicationModel.DataTransfer.ShareTarget.ShareOperation::ReportError(System.String)
|
|
68
|
+
def report_error(self, value: str, /) -> None: ...
|
|
69
|
+
# System.Void Windows.ApplicationModel.DataTransfer.ShareTarget.ShareOperation::ReportStarted()
|
|
70
|
+
def report_started(self) -> None: ...
|
|
71
|
+
# System.Void Windows.ApplicationModel.DataTransfer.ShareTarget.ShareOperation::ReportSubmittedBackgroundTask()
|
|
72
|
+
def report_submitted_background_task(self) -> None: ...
|
|
73
|
+
# Windows.ApplicationModel.DataTransfer.DataPackageView Windows.ApplicationModel.DataTransfer.ShareTarget.ShareOperation::get_Data()
|
|
74
|
+
@_property
|
|
75
|
+
def data(self) -> windows_applicationmodel_datatransfer.DataPackageView: ...
|
|
76
|
+
# System.String Windows.ApplicationModel.DataTransfer.ShareTarget.ShareOperation::get_QuickLinkId()
|
|
77
|
+
@_property
|
|
78
|
+
def quick_link_id(self) -> str: ...
|
|
79
|
+
# Windows.Foundation.Collections.IVectorView`1<Windows.ApplicationModel.Contacts.Contact> Windows.ApplicationModel.DataTransfer.ShareTarget.ShareOperation::get_Contacts()
|
|
80
|
+
@_property
|
|
81
|
+
def contacts(self) -> _cabc.Sequence[windows_applicationmodel_contacts.Contact]: ...
|
|
82
|
+
|
|
Binary file
|
|
File without changes
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: winrt-Windows.ApplicationModel.DataTransfer.ShareTarget
|
|
3
|
+
Version: 4!10.0.28000.2705
|
|
4
|
+
Summary: PyWinRT projection of the Windows.ApplicationModel.DataTransfer.ShareTarget 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-storage-streams>=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-applicationmodel-datatransfer[all]>=4!10.0.28000.2705; extra == 'all'
|
|
28
|
+
Requires-Dist: winrt-windows-foundation-collections[all]>=4!10.0.28000.2705; extra == 'all'
|
|
29
|
+
Requires-Dist: winrt-windows-storage-streams[all]>=4!10.0.28000.2705; extra == 'all'
|
|
30
|
+
Description-Content-Type: text/markdown
|
|
31
|
+
|
|
32
|
+
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
33
|
+
|
|
34
|
+
# winrt-Windows.ApplicationModel.DataTransfer.ShareTarget
|
|
35
|
+
|
|
36
|
+
Windows Runtime (WinRT) APIs for the `Windows.ApplicationModel.DataTransfer.ShareTarget` namespace.
|
|
37
|
+
|
|
38
|
+
This package provides the `winrt.windows.applicationmodel.datatransfer.sharetarget` module.
|
|
39
|
+
|
|
40
|
+
The WinRT APIs in it are those of version 10.0.28000.2705 of the
|
|
41
|
+
`Microsoft.Windows.SDK.CPP` NuGet package.
|
|
42
|
+
|
|
43
|
+
```
|
|
44
|
+
pip install winrt-Windows.ApplicationModel.DataTransfer.ShareTarget
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
Other WinRT namespaces are packages of their own, so install the package of
|
|
48
|
+
each namespace your code imports from.
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
winrt/windows/applicationmodel/datatransfer/sharetarget/__init__.py,sha256=ZBkrz3IgFKgWjRfe8l3EMaXQ-wZSn08bx3hWz4hA9ro,343
|
|
2
|
+
winrt/windows/applicationmodel/datatransfer/sharetarget/__init__.pyi,sha256=UWHqYzTxna006E3cT71snWPpmPRt74SUsuwwcMTnpCk,4882
|
|
3
|
+
winrt/windows/applicationmodel/datatransfer/sharetarget/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
|
+
winrt/windows/applicationmodel/datatransfer/sharetarget/_table.pywinrt,sha256=tKcakxq_u2XYNAK5TqjCos7PmIPGdaWMn2VmN-XHC9k,9264
|
|
5
|
+
winrt_windows_applicationmodel_datatransfer_sharetarget-4!10.0.28000.2705.dist-info/METADATA,sha256=tnbKIr21IRyL-sFr1c66vqqtiFk5Q4sUuJ5paEcIa9E,2307
|
|
6
|
+
winrt_windows_applicationmodel_datatransfer_sharetarget-4!10.0.28000.2705.dist-info/WHEEL,sha256=W3fkpkm7-wf9vBI5Z-7s0eWkeM-spu78I8Neb98DeEg,87
|
|
7
|
+
winrt_windows_applicationmodel_datatransfer_sharetarget-4!10.0.28000.2705.dist-info/licenses/LICENSE,sha256=dyVKOMqPV0fimbzMhqN3zpg6K6Y2OlekwrdfiZTBm8M,1225
|
|
8
|
+
winrt_windows_applicationmodel_datatransfer_sharetarget-4!10.0.28000.2705.dist-info/RECORD,,
|
winrt_windows_applicationmodel_datatransfer_sharetarget-4!10.0.28000.2705.dist-info/licenses/LICENSE
ADDED
|
@@ -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
|