winrt-Windows.Services.TargetedContent 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,205 @@
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.foundation as windows_foundation
13
+ import winrt.windows.foundation.collections as windows_foundation_collections
14
+ import winrt.windows.storage.streams as windows_storage_streams
15
+
16
+ from winrt.windows.services.targetedcontent import TargetedContentAppInstallationState, TargetedContentAvailability, TargetedContentInteraction, TargetedContentObjectKind, TargetedContentValueKind
17
+
18
+ Self = typing.TypeVar('Self')
19
+
20
+ @typing.final
21
+ class TargetedContentAction(winrt.system.Object):
22
+ @staticmethod
23
+ def _from(obj: winrt.system.Object, /) -> TargetedContentAction: ...
24
+ def invoke_async(self) -> windows_foundation.IAsyncAction: ...
25
+
26
+ @typing.final
27
+ class TargetedContentAvailabilityChangedEventArgs(winrt.system.Object):
28
+ @staticmethod
29
+ def _from(obj: winrt.system.Object, /) -> TargetedContentAvailabilityChangedEventArgs: ...
30
+ def get_deferral(self) -> typing.Optional[windows_foundation.Deferral]: ...
31
+
32
+ @typing.final
33
+ class TargetedContentChangedEventArgs(winrt.system.Object):
34
+ @staticmethod
35
+ def _from(obj: winrt.system.Object, /) -> TargetedContentChangedEventArgs: ...
36
+ def get_deferral(self) -> typing.Optional[windows_foundation.Deferral]: ...
37
+ @_property
38
+ def has_previous_content_expired(self) -> bool: ...
39
+
40
+ @typing.final
41
+ class TargetedContentCollection(winrt.system.Object):
42
+ @staticmethod
43
+ def _from(obj: winrt.system.Object, /) -> TargetedContentCollection: ...
44
+ def report_custom_interaction(self, custom_interaction_name: str, /) -> None: ...
45
+ def report_interaction(self, interaction: TargetedContentInteraction, /) -> None: ...
46
+ @_property
47
+ def collections(self) -> typing.Optional[windows_foundation_collections.IVectorView[TargetedContentCollection]]: ...
48
+ @_property
49
+ def id(self) -> str: ...
50
+ @_property
51
+ def items(self) -> typing.Optional[windows_foundation_collections.IVectorView[TargetedContentItem]]: ...
52
+ @_property
53
+ def path(self) -> str: ...
54
+ @_property
55
+ def properties(self) -> typing.Optional[windows_foundation_collections.IMapView[str, TargetedContentValue]]: ...
56
+
57
+ @typing.final
58
+ class TargetedContentContainer_Static(type):
59
+ def get_async(cls, content_id: str, /) -> windows_foundation.IAsyncOperation[TargetedContentContainer]: ...
60
+
61
+ @typing.final
62
+ class TargetedContentContainer(winrt.system.Object, metaclass=TargetedContentContainer_Static):
63
+ @staticmethod
64
+ def _from(obj: winrt.system.Object, /) -> TargetedContentContainer: ...
65
+ def select_single_object(self, path: str, /) -> typing.Optional[TargetedContentObject]: ...
66
+ @_property
67
+ def availability(self) -> TargetedContentAvailability: ...
68
+ @_property
69
+ def content(self) -> typing.Optional[TargetedContentCollection]: ...
70
+ @_property
71
+ def id(self) -> str: ...
72
+ @_property
73
+ def timestamp(self) -> datetime.datetime: ...
74
+
75
+ @typing.final
76
+ class TargetedContentFile(winrt.system.Object):
77
+ @staticmethod
78
+ def _from(obj: winrt.system.Object, /) -> TargetedContentFile: ...
79
+ def open_read_async(self) -> windows_foundation.IAsyncOperation[windows_storage_streams.IRandomAccessStreamWithContentType]: ...
80
+
81
+ @typing.final
82
+ class TargetedContentImage(winrt.system.Object):
83
+ @staticmethod
84
+ def _from(obj: winrt.system.Object, /) -> TargetedContentImage: ...
85
+ def open_read_async(self) -> windows_foundation.IAsyncOperation[windows_storage_streams.IRandomAccessStreamWithContentType]: ...
86
+ @_property
87
+ def height(self) -> winrt.system.UInt32: ...
88
+ @_property
89
+ def width(self) -> winrt.system.UInt32: ...
90
+
91
+ @typing.final
92
+ class TargetedContentItem(winrt.system.Object):
93
+ @staticmethod
94
+ def _from(obj: winrt.system.Object, /) -> TargetedContentItem: ...
95
+ def report_custom_interaction(self, custom_interaction_name: str, /) -> None: ...
96
+ def report_interaction(self, interaction: TargetedContentInteraction, /) -> None: ...
97
+ @_property
98
+ def collections(self) -> typing.Optional[windows_foundation_collections.IVectorView[TargetedContentCollection]]: ...
99
+ @_property
100
+ def path(self) -> str: ...
101
+ @_property
102
+ def properties(self) -> typing.Optional[windows_foundation_collections.IMapView[str, TargetedContentValue]]: ...
103
+ @_property
104
+ def state(self) -> typing.Optional[TargetedContentItemState]: ...
105
+
106
+ @typing.final
107
+ class TargetedContentItemState(winrt.system.Object):
108
+ @staticmethod
109
+ def _from(obj: winrt.system.Object, /) -> TargetedContentItemState: ...
110
+ @_property
111
+ def app_installation_state(self) -> TargetedContentAppInstallationState: ...
112
+ @_property
113
+ def should_display(self) -> bool: ...
114
+
115
+ @typing.final
116
+ class TargetedContentObject(winrt.system.Object):
117
+ @staticmethod
118
+ def _from(obj: winrt.system.Object, /) -> TargetedContentObject: ...
119
+ @_property
120
+ def collection(self) -> typing.Optional[TargetedContentCollection]: ...
121
+ @_property
122
+ def item(self) -> typing.Optional[TargetedContentItem]: ...
123
+ @_property
124
+ def object_kind(self) -> TargetedContentObjectKind: ...
125
+ @_property
126
+ def value(self) -> typing.Optional[TargetedContentValue]: ...
127
+
128
+ @typing.final
129
+ class TargetedContentStateChangedEventArgs(winrt.system.Object):
130
+ @staticmethod
131
+ def _from(obj: winrt.system.Object, /) -> TargetedContentStateChangedEventArgs: ...
132
+ def get_deferral(self) -> typing.Optional[windows_foundation.Deferral]: ...
133
+
134
+ @typing.final
135
+ class TargetedContentSubscription_Static(type):
136
+ def get_async(cls, subscription_id: str, /) -> windows_foundation.IAsyncOperation[TargetedContentSubscription]: ...
137
+ def get_options(cls, subscription_id: str, /) -> typing.Optional[TargetedContentSubscriptionOptions]: ...
138
+
139
+ @typing.final
140
+ class TargetedContentSubscription(winrt.system.Object, metaclass=TargetedContentSubscription_Static):
141
+ @staticmethod
142
+ def _from(obj: winrt.system.Object, /) -> TargetedContentSubscription: ...
143
+ def get_content_container_async(self) -> windows_foundation.IAsyncOperation[TargetedContentContainer]: ...
144
+ def add_availability_changed(self, handler: windows_foundation.TypedEventHandler[TargetedContentSubscription, TargetedContentAvailabilityChangedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
145
+ def remove_availability_changed(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
146
+ def add_content_changed(self, handler: windows_foundation.TypedEventHandler[TargetedContentSubscription, TargetedContentChangedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
147
+ def remove_content_changed(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
148
+ def add_state_changed(self, handler: windows_foundation.TypedEventHandler[TargetedContentSubscription, TargetedContentStateChangedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
149
+ def remove_state_changed(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
150
+ @_property
151
+ def id(self) -> str: ...
152
+
153
+ @typing.final
154
+ class TargetedContentSubscriptionOptions(winrt.system.Object):
155
+ @staticmethod
156
+ def _from(obj: winrt.system.Object, /) -> TargetedContentSubscriptionOptions: ...
157
+ def update(self) -> None: ...
158
+ @_property
159
+ def allow_partial_content_availability(self) -> bool: ...
160
+ @allow_partial_content_availability.setter
161
+ def allow_partial_content_availability(self, value: bool) -> None: ...
162
+ @_property
163
+ def cloud_query_parameters(self) -> typing.Optional[windows_foundation_collections.IMap[str, str]]: ...
164
+ @_property
165
+ def local_filters(self) -> typing.Optional[windows_foundation_collections.IVector[str]]: ...
166
+ @_property
167
+ def subscription_id(self) -> str: ...
168
+
169
+ @typing.final
170
+ class TargetedContentValue(winrt.system.Object):
171
+ @staticmethod
172
+ def _from(obj: winrt.system.Object, /) -> TargetedContentValue: ...
173
+ @_property
174
+ def action(self) -> typing.Optional[TargetedContentAction]: ...
175
+ @_property
176
+ def actions(self) -> typing.Optional[windows_foundation_collections.IVectorView[TargetedContentAction]]: ...
177
+ @_property
178
+ def boolean(self) -> bool: ...
179
+ @_property
180
+ def booleans(self) -> typing.Optional[windows_foundation_collections.IVectorView[bool]]: ...
181
+ @_property
182
+ def file(self) -> typing.Optional[TargetedContentFile]: ...
183
+ @_property
184
+ def files(self) -> typing.Optional[windows_foundation_collections.IVectorView[TargetedContentFile]]: ...
185
+ @_property
186
+ def image_file(self) -> typing.Optional[TargetedContentImage]: ...
187
+ @_property
188
+ def image_files(self) -> typing.Optional[windows_foundation_collections.IVectorView[TargetedContentImage]]: ...
189
+ @_property
190
+ def number(self) -> winrt.system.Double: ...
191
+ @_property
192
+ def numbers(self) -> typing.Optional[windows_foundation_collections.IVectorView[winrt.system.Double]]: ...
193
+ @_property
194
+ def path(self) -> str: ...
195
+ @_property
196
+ def string(self) -> str: ...
197
+ @_property
198
+ def strings(self) -> typing.Optional[windows_foundation_collections.IVectorView[str]]: ...
199
+ @_property
200
+ def uri(self) -> typing.Optional[windows_foundation.Uri]: ...
201
+ @_property
202
+ def uris(self) -> typing.Optional[windows_foundation_collections.IVectorView[windows_foundation.Uri]]: ...
203
+ @_property
204
+ def value_kind(self) -> TargetedContentValueKind: ...
205
+
@@ -0,0 +1,89 @@
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_services_targetedcontent
7
+
8
+ __all__ = [
9
+ "TargetedContentAppInstallationState",
10
+ "TargetedContentAvailability",
11
+ "TargetedContentInteraction",
12
+ "TargetedContentObjectKind",
13
+ "TargetedContentValueKind",
14
+ "TargetedContentAction",
15
+ "TargetedContentAvailabilityChangedEventArgs",
16
+ "TargetedContentChangedEventArgs",
17
+ "TargetedContentCollection",
18
+ "TargetedContentContainer",
19
+ "TargetedContentFile",
20
+ "TargetedContentImage",
21
+ "TargetedContentItem",
22
+ "TargetedContentItemState",
23
+ "TargetedContentObject",
24
+ "TargetedContentStateChangedEventArgs",
25
+ "TargetedContentSubscription",
26
+ "TargetedContentSubscriptionOptions",
27
+ "TargetedContentValue",
28
+ ]
29
+
30
+ class TargetedContentAppInstallationState(enum.IntEnum):
31
+ NOT_APPLICABLE = 0
32
+ NOT_INSTALLED = 1
33
+ INSTALLED = 2
34
+
35
+ class TargetedContentAvailability(enum.IntEnum):
36
+ NONE = 0
37
+ PARTIAL = 1
38
+ ALL = 2
39
+
40
+ class TargetedContentInteraction(enum.IntEnum):
41
+ IMPRESSION = 0
42
+ CLICK_THROUGH = 1
43
+ HOVER = 2
44
+ LIKE = 3
45
+ DISLIKE = 4
46
+ DISMISS = 5
47
+ INELIGIBLE = 6
48
+ ACCEPT = 7
49
+ DECLINE = 8
50
+ DEFER = 9
51
+ CANCELED = 10
52
+ CONVERSION = 11
53
+ OPPORTUNITY = 12
54
+
55
+ class TargetedContentObjectKind(enum.IntEnum):
56
+ COLLECTION = 0
57
+ ITEM = 1
58
+ VALUE = 2
59
+
60
+ class TargetedContentValueKind(enum.IntEnum):
61
+ STRING = 0
62
+ URI = 1
63
+ NUMBER = 2
64
+ BOOLEAN = 3
65
+ FILE = 4
66
+ IMAGE_FILE = 5
67
+ ACTION = 6
68
+ STRINGS = 7
69
+ URIS = 8
70
+ NUMBERS = 9
71
+ BOOLEANS = 10
72
+ FILES = 11
73
+ IMAGE_FILES = 12
74
+ ACTIONS = 13
75
+
76
+ TargetedContentAction = _winrt_windows_services_targetedcontent.TargetedContentAction
77
+ TargetedContentAvailabilityChangedEventArgs = _winrt_windows_services_targetedcontent.TargetedContentAvailabilityChangedEventArgs
78
+ TargetedContentChangedEventArgs = _winrt_windows_services_targetedcontent.TargetedContentChangedEventArgs
79
+ TargetedContentCollection = _winrt_windows_services_targetedcontent.TargetedContentCollection
80
+ TargetedContentContainer = _winrt_windows_services_targetedcontent.TargetedContentContainer
81
+ TargetedContentFile = _winrt_windows_services_targetedcontent.TargetedContentFile
82
+ TargetedContentImage = _winrt_windows_services_targetedcontent.TargetedContentImage
83
+ TargetedContentItem = _winrt_windows_services_targetedcontent.TargetedContentItem
84
+ TargetedContentItemState = _winrt_windows_services_targetedcontent.TargetedContentItemState
85
+ TargetedContentObject = _winrt_windows_services_targetedcontent.TargetedContentObject
86
+ TargetedContentStateChangedEventArgs = _winrt_windows_services_targetedcontent.TargetedContentStateChangedEventArgs
87
+ TargetedContentSubscription = _winrt_windows_services_targetedcontent.TargetedContentSubscription
88
+ TargetedContentSubscriptionOptions = _winrt_windows_services_targetedcontent.TargetedContentSubscriptionOptions
89
+ TargetedContentValue = _winrt_windows_services_targetedcontent.TargetedContentValue
File without changes
@@ -0,0 +1,27 @@
1
+ Metadata-Version: 2.1
2
+ Name: winrt-Windows.Services.TargetedContent
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.Foundation[all] ==2.2.0 ; extra == 'all'
18
+ Requires-Dist: winrt-Windows.Foundation.Collections[all] ==2.2.0 ; extra == 'all'
19
+ Requires-Dist: winrt-Windows.Storage.Streams[all] ==2.2.0 ; extra == 'all'
20
+
21
+ <!-- warning: Please don't edit this file. It was automatically generated. -->
22
+
23
+ # winrt-Windows.Services.TargetedContent
24
+
25
+ Windows Runtime (WinRT) APIs for for the `Windows.Services.TargetedContent` namespace.
26
+
27
+ This package provides the `winrt.windows.services.targetedcontent` module.
@@ -0,0 +1,8 @@
1
+ winrt/_winrt_windows_services_targetedcontent.cp313-win32.pyd,sha256=01bGUl0vATD-fn4Nxaw9YETU5md8nw-Hu6Eov-52XW0,258048
2
+ winrt/_winrt_windows_services_targetedcontent.pyi,sha256=5o5jYe85I2-ThEJKl8624S8t0jiCkfZDmegcSxuPQxk,9468
3
+ winrt/windows/services/targetedcontent/__init__.py,sha256=FsRDeiINkXG9BwPnDryRyefmK8nVMAso15LMdyt2X9g,3031
4
+ winrt/windows/services/targetedcontent/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
+ winrt_Windows.Services.TargetedContent-2.2.0.dist-info/METADATA,sha256=VcG6F3n9gjcfq0PoAKCviGoV-7OzJkSsONs9gyG0PnA,1238
6
+ winrt_Windows.Services.TargetedContent-2.2.0.dist-info/WHEEL,sha256=rHSPOKLHVf857fDiba9Pzuf1iCvh9pcRQ5-VWQYz3ms,97
7
+ winrt_Windows.Services.TargetedContent-2.2.0.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
8
+ winrt_Windows.Services.TargetedContent-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
+