winrt-Microsoft.WindowsAppSDK.Search 4!2.5.1__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/microsoft/windows/search/appcontentindex/__init__.py +58 -0
- winrt/microsoft/windows/search/appcontentindex/__init__.pyi +820 -0
- winrt/microsoft/windows/search/appcontentindex/_table.pywinrt +0 -0
- winrt/microsoft/windows/search/appcontentindex/py.typed +0 -0
- winrt_microsoft_windowsappsdk_search-4!2.5.1.dist-info/METADATA +57 -0
- winrt_microsoft_windowsappsdk_search-4!2.5.1.dist-info/RECORD +8 -0
- winrt_microsoft_windowsappsdk_search-4!2.5.1.dist-info/WHEEL +4 -0
- winrt_microsoft_windowsappsdk_search-4!2.5.1.dist-info/licenses/LICENSE +22 -0
|
@@ -0,0 +1,58 @@
|
|
|
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
|
+
"AppIndexTextStreamEncoding",
|
|
10
|
+
"ContentItemErrorDetail",
|
|
11
|
+
"ContentItemReindexingStatus",
|
|
12
|
+
"ContentItemStatus",
|
|
13
|
+
"DeleteIndexStatus",
|
|
14
|
+
"DeleteIndexWhileInUseBehavior",
|
|
15
|
+
"GetOrCreateIndexStatus",
|
|
16
|
+
"ImageOcrIndexingOptions",
|
|
17
|
+
"IndexCapability",
|
|
18
|
+
"IndexCapabilityInitializationStatus",
|
|
19
|
+
"IndexCapabilityLanguageStatus",
|
|
20
|
+
"IndexCapabilityOfCurrentSystemStatus",
|
|
21
|
+
"IndexCapabilityRequirement",
|
|
22
|
+
"QueryContentItemsFilterFlags",
|
|
23
|
+
"QueryMatchContentKind",
|
|
24
|
+
"QueryMatchScope",
|
|
25
|
+
"RegionContentKind",
|
|
26
|
+
"TextLexicalMatchType",
|
|
27
|
+
"AppContentIndexListener",
|
|
28
|
+
"AppContentIndexer",
|
|
29
|
+
"AppIndexContentRegion",
|
|
30
|
+
"AppIndexImageQuery",
|
|
31
|
+
"AppIndexImageQuerySession",
|
|
32
|
+
"AppIndexQueryMatch",
|
|
33
|
+
"AppIndexTextQuery",
|
|
34
|
+
"AppIndexTextQuerySession",
|
|
35
|
+
"AppManagedImageQueryMatch",
|
|
36
|
+
"AppManagedIndexableAppContent",
|
|
37
|
+
"AppManagedOcrTextQueryMatch",
|
|
38
|
+
"AppManagedTextQueryMatch",
|
|
39
|
+
"ContentItemReader",
|
|
40
|
+
"ContentItemStatusResult",
|
|
41
|
+
"ContentRegionImageOptions",
|
|
42
|
+
"ContentRegionTextOptions",
|
|
43
|
+
"DeleteIndexResult",
|
|
44
|
+
"GetOrCreateIndexOptions",
|
|
45
|
+
"GetOrCreateIndexResult",
|
|
46
|
+
"ImageQueryMatch",
|
|
47
|
+
"ImageQueryOptions",
|
|
48
|
+
"ImageQuerySessionResult",
|
|
49
|
+
"IndexCapabilities",
|
|
50
|
+
"IndexCapabilitiesOfCurrentSystem",
|
|
51
|
+
"IndexCapabilityState",
|
|
52
|
+
"IndexStatistics",
|
|
53
|
+
"IndexableAppContent",
|
|
54
|
+
"TextQueryMatch",
|
|
55
|
+
"TextQueryOptions",
|
|
56
|
+
"TextQuerySessionResult",
|
|
57
|
+
]
|
|
58
|
+
|
|
@@ -0,0 +1,820 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT
|
|
2
|
+
|
|
3
|
+
import collections.abc as _cabc
|
|
4
|
+
import datetime
|
|
5
|
+
import enum
|
|
6
|
+
import types
|
|
7
|
+
import typing
|
|
8
|
+
from builtins import property as _property
|
|
9
|
+
|
|
10
|
+
import winrt.system
|
|
11
|
+
import winrt.windows.foundation as windows_foundation
|
|
12
|
+
import winrt.windows.foundation.collections as windows_foundation_collections
|
|
13
|
+
import winrt.windows.graphics.imaging as windows_graphics_imaging
|
|
14
|
+
import winrt.windows.storage.streams as windows_storage_streams
|
|
15
|
+
|
|
16
|
+
__all__ = [
|
|
17
|
+
"AppIndexTextStreamEncoding",
|
|
18
|
+
"ContentItemErrorDetail",
|
|
19
|
+
"ContentItemReindexingStatus",
|
|
20
|
+
"ContentItemStatus",
|
|
21
|
+
"DeleteIndexStatus",
|
|
22
|
+
"DeleteIndexWhileInUseBehavior",
|
|
23
|
+
"GetOrCreateIndexStatus",
|
|
24
|
+
"ImageOcrIndexingOptions",
|
|
25
|
+
"IndexCapability",
|
|
26
|
+
"IndexCapabilityInitializationStatus",
|
|
27
|
+
"IndexCapabilityLanguageStatus",
|
|
28
|
+
"IndexCapabilityOfCurrentSystemStatus",
|
|
29
|
+
"IndexCapabilityRequirement",
|
|
30
|
+
"QueryContentItemsFilterFlags",
|
|
31
|
+
"QueryMatchContentKind",
|
|
32
|
+
"QueryMatchScope",
|
|
33
|
+
"RegionContentKind",
|
|
34
|
+
"TextLexicalMatchType",
|
|
35
|
+
"AppContentIndexListener",
|
|
36
|
+
"AppContentIndexer",
|
|
37
|
+
"AppIndexContentRegion",
|
|
38
|
+
"AppIndexImageQuery",
|
|
39
|
+
"AppIndexImageQuerySession",
|
|
40
|
+
"AppIndexQueryMatch",
|
|
41
|
+
"AppIndexTextQuery",
|
|
42
|
+
"AppIndexTextQuerySession",
|
|
43
|
+
"AppManagedImageQueryMatch",
|
|
44
|
+
"AppManagedIndexableAppContent",
|
|
45
|
+
"AppManagedOcrTextQueryMatch",
|
|
46
|
+
"AppManagedTextQueryMatch",
|
|
47
|
+
"ContentItemReader",
|
|
48
|
+
"ContentItemStatusResult",
|
|
49
|
+
"ContentRegionImageOptions",
|
|
50
|
+
"ContentRegionTextOptions",
|
|
51
|
+
"DeleteIndexResult",
|
|
52
|
+
"GetOrCreateIndexOptions",
|
|
53
|
+
"GetOrCreateIndexResult",
|
|
54
|
+
"ImageQueryMatch",
|
|
55
|
+
"ImageQueryOptions",
|
|
56
|
+
"ImageQuerySessionResult",
|
|
57
|
+
"IndexCapabilities",
|
|
58
|
+
"IndexCapabilitiesOfCurrentSystem",
|
|
59
|
+
"IndexCapabilityState",
|
|
60
|
+
"IndexStatistics",
|
|
61
|
+
"IndexableAppContent",
|
|
62
|
+
"TextQueryMatch",
|
|
63
|
+
"TextQueryOptions",
|
|
64
|
+
"TextQuerySessionResult",
|
|
65
|
+
]
|
|
66
|
+
|
|
67
|
+
class AppIndexTextStreamEncoding(enum.IntEnum):
|
|
68
|
+
UTF8 = 0
|
|
69
|
+
UTF16_L_E = 1
|
|
70
|
+
|
|
71
|
+
class ContentItemErrorDetail(enum.IntEnum):
|
|
72
|
+
NO_ERROR = 0
|
|
73
|
+
UNKNOWN_FAILURE = 1
|
|
74
|
+
UNKNOWN_CONTENT_ID = 2
|
|
75
|
+
CONTENT_REGION_ERRORS = 3
|
|
76
|
+
INDEX_CORRUPTION = 4
|
|
77
|
+
INSUFFICIENT_DISK_SPACE = 5
|
|
78
|
+
|
|
79
|
+
class ContentItemReindexingStatus(enum.IntEnum):
|
|
80
|
+
NONE = 0
|
|
81
|
+
UNSPECIFIED = 1
|
|
82
|
+
SEMANTIC_MODEL_CHANGED = 2
|
|
83
|
+
CONTENT_UNAVAILABLE = 3
|
|
84
|
+
SCHEMA_CHANGED = 4
|
|
85
|
+
INDEX_CORRUPTION = 5
|
|
86
|
+
|
|
87
|
+
class ContentItemStatus(enum.IntEnum):
|
|
88
|
+
NOT_STARTED = 0
|
|
89
|
+
IN_PROGRESS = 1
|
|
90
|
+
COMPLETED = 2
|
|
91
|
+
COMPLETED_WITH_SOME_ERRORS = 3
|
|
92
|
+
ERROR = 4
|
|
93
|
+
|
|
94
|
+
class DeleteIndexStatus(enum.IntEnum):
|
|
95
|
+
SUCCESS = 0
|
|
96
|
+
INDEX_NOT_FOUND = 1
|
|
97
|
+
DEFERRED = 2
|
|
98
|
+
UNKNOWN_FAILURE = 100
|
|
99
|
+
INDEX_IN_USE = 101
|
|
100
|
+
|
|
101
|
+
class DeleteIndexWhileInUseBehavior(enum.IntEnum):
|
|
102
|
+
FAIL_IF_IN_USE = 0
|
|
103
|
+
DEFER_IF_IN_USE = 1
|
|
104
|
+
|
|
105
|
+
class GetOrCreateIndexStatus(enum.IntEnum):
|
|
106
|
+
CREATED_NEW = 0
|
|
107
|
+
OPENED_EXISTING = 1
|
|
108
|
+
UNKNOWN_FAILURE = 100
|
|
109
|
+
INVALID_OPTIONS = 101
|
|
110
|
+
INCOMPATIBLE_WITH_EXISTING_OPTIONS = 102
|
|
111
|
+
UNSUPPORTED_DEFAULT_LANGUAGE = 103
|
|
112
|
+
INVALID_INDEX_NAME = 104
|
|
113
|
+
DEFERRED_DELETION_FAILED = 105
|
|
114
|
+
LEXICAL_MODELS_NOT_AVAILABLE = 106
|
|
115
|
+
SEMANTIC_MODELS_NOT_AVAILABLE = 107
|
|
116
|
+
OCR_MODELS_NOT_AVAILABLE = 108
|
|
117
|
+
INDEX_IS_PENDING_DELETION = 109
|
|
118
|
+
SEMANTIC_TEXT_INDEX_STORE_FAILURE = 110
|
|
119
|
+
SEMANTIC_OCR_TEXT_INDEX_STORE_FAILURE = 111
|
|
120
|
+
SEMANTIC_IMAGE_INDEX_STORE_FAILURE = 112
|
|
121
|
+
APP_CONTENT_INDEXER_FILE_LOCKED_ERROR = 113
|
|
122
|
+
|
|
123
|
+
class ImageOcrIndexingOptions(enum.IntEnum):
|
|
124
|
+
DEFAULT = 0
|
|
125
|
+
SUPPRESS_SEMANTIC_INDEXING = 1
|
|
126
|
+
SUPPRESS_LEXICAL_AND_SEMANTIC_INDEXING = 2
|
|
127
|
+
|
|
128
|
+
class IndexCapability(enum.IntEnum):
|
|
129
|
+
TEXT_LEXICAL = 0
|
|
130
|
+
TEXT_SEMANTIC = 1
|
|
131
|
+
IMAGE_OCR = 2
|
|
132
|
+
IMAGE_SEMANTIC = 3
|
|
133
|
+
|
|
134
|
+
class IndexCapabilityInitializationStatus(enum.IntEnum):
|
|
135
|
+
UNKNOWN = 0
|
|
136
|
+
INITIALIZED = 1
|
|
137
|
+
INITIALIZING = 2
|
|
138
|
+
SUPPRESSED = 3
|
|
139
|
+
NOT_SUPPORTED = 4
|
|
140
|
+
DISABLED_BY_POLICY = 5
|
|
141
|
+
INITIALIZATION_ERROR = 100
|
|
142
|
+
|
|
143
|
+
class IndexCapabilityLanguageStatus(enum.IntEnum):
|
|
144
|
+
SUPPORTED = 0
|
|
145
|
+
PARTIAL = 1
|
|
146
|
+
NOT_SUPPORTED = 2
|
|
147
|
+
|
|
148
|
+
class IndexCapabilityOfCurrentSystemStatus(enum.IntEnum):
|
|
149
|
+
READY = 0
|
|
150
|
+
NOT_READY = 1
|
|
151
|
+
DISABLED_BY_POLICY = 2
|
|
152
|
+
NOT_SUPPORTED = 3
|
|
153
|
+
|
|
154
|
+
class IndexCapabilityRequirement(enum.IntEnum):
|
|
155
|
+
DEFAULT = 0
|
|
156
|
+
SUPPRESSED = 1
|
|
157
|
+
REQUIRED = 2
|
|
158
|
+
|
|
159
|
+
class QueryContentItemsFilterFlags(enum.IntFlag):
|
|
160
|
+
NOT_STARTED = 0x1
|
|
161
|
+
IN_PROGRESS = 0x2
|
|
162
|
+
COMPLETED = 0x4
|
|
163
|
+
WITH_ERRORS = 0x8
|
|
164
|
+
PENDING_DELETION = 0x10
|
|
165
|
+
REQUIRING_REINDEXING = 0x20
|
|
166
|
+
|
|
167
|
+
class QueryMatchContentKind(enum.IntEnum):
|
|
168
|
+
APP_MANAGED_TEXT = 0
|
|
169
|
+
APP_MANAGED_IMAGE = 1
|
|
170
|
+
APP_MANAGED_OCR_TEXT = 2
|
|
171
|
+
|
|
172
|
+
class QueryMatchScope(enum.IntEnum):
|
|
173
|
+
UNCONSTRAINED = 0
|
|
174
|
+
REGION = 1
|
|
175
|
+
CONTENT_ITEM = 2
|
|
176
|
+
|
|
177
|
+
class RegionContentKind(enum.IntEnum):
|
|
178
|
+
TEXT = 0
|
|
179
|
+
IMAGE = 1
|
|
180
|
+
|
|
181
|
+
class TextLexicalMatchType(enum.IntEnum):
|
|
182
|
+
FUZZY = 0
|
|
183
|
+
EXACT = 1
|
|
184
|
+
|
|
185
|
+
@typing.final
|
|
186
|
+
class AppContentIndexListener(winrt.system.Object):
|
|
187
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
188
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
189
|
+
# Windows.Foundation.EventRegistrationToken Microsoft.Windows.Search.AppContentIndex.AppContentIndexListener::add_ContentItemStatusChanged(Windows.Foundation.TypedEventHandler`2<Microsoft.Windows.Search.AppContentIndex.AppContentIndexer,Windows.Foundation.Collections.IMapView`2<System.String,Microsoft.Windows.Search.AppContentIndex.ContentItemStatusResult>>)
|
|
190
|
+
def add_content_item_status_changed(self, handler: windows_foundation.TypedEventHandler[AppContentIndexer, _cabc.Mapping[str, ContentItemStatusResult]], /) -> windows_foundation.EventRegistrationToken: ...
|
|
191
|
+
# System.Void Microsoft.Windows.Search.AppContentIndex.AppContentIndexListener::remove_ContentItemStatusChanged(Windows.Foundation.EventRegistrationToken)
|
|
192
|
+
def remove_content_item_status_changed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
193
|
+
# Windows.Foundation.EventRegistrationToken Microsoft.Windows.Search.AppContentIndex.AppContentIndexListener::add_IndexCapabilitiesChanged(Windows.Foundation.TypedEventHandler`2<Microsoft.Windows.Search.AppContentIndex.AppContentIndexer,Microsoft.Windows.Search.AppContentIndex.IndexCapabilities>)
|
|
194
|
+
def add_index_capabilities_changed(self, handler: windows_foundation.TypedEventHandler[AppContentIndexer, IndexCapabilities], /) -> windows_foundation.EventRegistrationToken: ...
|
|
195
|
+
# System.Void Microsoft.Windows.Search.AppContentIndex.AppContentIndexListener::remove_IndexCapabilitiesChanged(Windows.Foundation.EventRegistrationToken)
|
|
196
|
+
def remove_index_capabilities_changed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
197
|
+
# Windows.Foundation.EventRegistrationToken Microsoft.Windows.Search.AppContentIndex.AppContentIndexListener::add_IndexStatisticsChanged(Windows.Foundation.TypedEventHandler`2<Microsoft.Windows.Search.AppContentIndex.AppContentIndexer,Microsoft.Windows.Search.AppContentIndex.IndexStatistics>)
|
|
198
|
+
def add_index_statistics_changed(self, handler: windows_foundation.TypedEventHandler[AppContentIndexer, IndexStatistics], /) -> windows_foundation.EventRegistrationToken: ...
|
|
199
|
+
# System.Void Microsoft.Windows.Search.AppContentIndex.AppContentIndexListener::remove_IndexStatisticsChanged(Windows.Foundation.EventRegistrationToken)
|
|
200
|
+
def remove_index_statistics_changed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
201
|
+
|
|
202
|
+
@typing.final
|
|
203
|
+
class AppContentIndexer_Static(winrt.system.Object_Static):
|
|
204
|
+
# Microsoft.Windows.Search.AppContentIndex.DeleteIndexResult Microsoft.Windows.Search.AppContentIndex.AppContentIndexer::DeleteIndex(System.String,Microsoft.Windows.Search.AppContentIndex.DeleteIndexWhileInUseBehavior)
|
|
205
|
+
def delete_index(cls, index_name: str, delete_index_while_in_use_behavior: DeleteIndexWhileInUseBehavior, /) -> DeleteIndexResult: ...
|
|
206
|
+
# Windows.Foundation.Collections.IVectorView`1<System.String> Microsoft.Windows.Search.AppContentIndex.AppContentIndexer::GetExistingIndexes()
|
|
207
|
+
def get_existing_indexes(cls) -> _cabc.Sequence[str]: ...
|
|
208
|
+
# Microsoft.Windows.Search.AppContentIndex.IndexCapabilitiesOfCurrentSystem Microsoft.Windows.Search.AppContentIndex.AppContentIndexer::GetIndexCapabilitiesOfCurrentSystem()
|
|
209
|
+
def get_index_capabilities_of_current_system(cls) -> IndexCapabilitiesOfCurrentSystem: ...
|
|
210
|
+
@typing.overload
|
|
211
|
+
# Microsoft.Windows.Search.AppContentIndex.GetOrCreateIndexResult Microsoft.Windows.Search.AppContentIndex.AppContentIndexer::GetOrCreateIndex(System.String)
|
|
212
|
+
def get_or_create_index(cls, index_name: str, /) -> GetOrCreateIndexResult: ...
|
|
213
|
+
@typing.overload
|
|
214
|
+
# Microsoft.Windows.Search.AppContentIndex.GetOrCreateIndexResult Microsoft.Windows.Search.AppContentIndex.AppContentIndexer::GetOrCreateIndex(System.String,Microsoft.Windows.Search.AppContentIndex.GetOrCreateIndexOptions)
|
|
215
|
+
def get_or_create_index(cls, index_name: str, options: GetOrCreateIndexOptions, /) -> GetOrCreateIndexResult: ...
|
|
216
|
+
|
|
217
|
+
@typing.final
|
|
218
|
+
class AppContentIndexer(windows_foundation.IClosable, winrt.system.Object, metaclass=AppContentIndexer_Static):
|
|
219
|
+
def __enter__(self) -> typing.Self: ...
|
|
220
|
+
def __exit__(self, exc_type: type[BaseException] | None, exc_value: BaseException | None, traceback: types.TracebackType | None) -> None: ...
|
|
221
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
222
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
223
|
+
# System.Void Microsoft.Windows.Search.AppContentIndex.AppContentIndexer::AddOrUpdate(Microsoft.Windows.Search.AppContentIndex.IndexableAppContent)
|
|
224
|
+
def add_or_update(self, indexable_content: IndexableAppContent, /) -> None: ...
|
|
225
|
+
# System.Void Microsoft.Windows.Search.AppContentIndex.AppContentIndexer::Close()
|
|
226
|
+
def close(self) -> None: ...
|
|
227
|
+
@typing.overload
|
|
228
|
+
# Microsoft.Windows.Search.AppContentIndex.AppIndexImageQuery Microsoft.Windows.Search.AppContentIndex.AppContentIndexer::CreateImageQuery(System.String)
|
|
229
|
+
def create_image_query(self, query_phrase: str, /) -> AppIndexImageQuery: ...
|
|
230
|
+
@typing.overload
|
|
231
|
+
# Microsoft.Windows.Search.AppContentIndex.AppIndexImageQuery Microsoft.Windows.Search.AppContentIndex.AppContentIndexer::CreateImageQuery(System.String,Microsoft.Windows.Search.AppContentIndex.ImageQueryOptions)
|
|
232
|
+
def create_image_query(self, query_phrase: str, options: ImageQueryOptions, /) -> AppIndexImageQuery: ...
|
|
233
|
+
# Microsoft.Windows.Search.AppContentIndex.AppIndexImageQuerySession Microsoft.Windows.Search.AppContentIndex.AppContentIndexer::CreateImageQuerySession()
|
|
234
|
+
def create_image_query_session(self) -> AppIndexImageQuerySession: ...
|
|
235
|
+
@typing.overload
|
|
236
|
+
# Microsoft.Windows.Search.AppContentIndex.AppIndexTextQuery Microsoft.Windows.Search.AppContentIndex.AppContentIndexer::CreateTextQuery(System.String)
|
|
237
|
+
def create_text_query(self, query_phrase: str, /) -> AppIndexTextQuery: ...
|
|
238
|
+
@typing.overload
|
|
239
|
+
# Microsoft.Windows.Search.AppContentIndex.AppIndexTextQuery Microsoft.Windows.Search.AppContentIndex.AppContentIndexer::CreateTextQuery(System.String,Microsoft.Windows.Search.AppContentIndex.TextQueryOptions)
|
|
240
|
+
def create_text_query(self, query_phrase: str, options: TextQueryOptions, /) -> AppIndexTextQuery: ...
|
|
241
|
+
# Microsoft.Windows.Search.AppContentIndex.AppIndexTextQuerySession Microsoft.Windows.Search.AppContentIndex.AppContentIndexer::CreateTextQuerySession()
|
|
242
|
+
def create_text_query_session(self) -> AppIndexTextQuerySession: ...
|
|
243
|
+
# Microsoft.Windows.Search.AppContentIndex.ContentItemStatusResult Microsoft.Windows.Search.AppContentIndex.AppContentIndexer::GetContentItemStatus(System.String)
|
|
244
|
+
def get_content_item_status(self, content_id: str, /) -> ContentItemStatusResult: ...
|
|
245
|
+
# Windows.Foundation.Collections.IVectorView`1<Microsoft.Windows.Search.AppContentIndex.ContentItemStatusResult> Microsoft.Windows.Search.AppContentIndex.AppContentIndexer::GetContentItemStatuses(Windows.Foundation.Collections.IIterable`1<System.String>)
|
|
246
|
+
def get_content_item_statuses(self, content_ids: _cabc.Iterable[str], /) -> _cabc.Sequence[ContentItemStatusResult]: ...
|
|
247
|
+
@typing.overload
|
|
248
|
+
# Microsoft.Windows.Search.AppContentIndex.ContentItemReader Microsoft.Windows.Search.AppContentIndex.AppContentIndexer::GetContentItems()
|
|
249
|
+
def get_content_items(self) -> ContentItemReader: ...
|
|
250
|
+
@typing.overload
|
|
251
|
+
# Microsoft.Windows.Search.AppContentIndex.ContentItemReader Microsoft.Windows.Search.AppContentIndex.AppContentIndexer::GetContentItems(Microsoft.Windows.Search.AppContentIndex.QueryContentItemsFilterFlags)
|
|
252
|
+
def get_content_items(self, filter_flags: QueryContentItemsFilterFlags, /) -> ContentItemReader: ...
|
|
253
|
+
# Microsoft.Windows.Search.AppContentIndex.ContentItemReader Microsoft.Windows.Search.AppContentIndex.AppContentIndexer::GetContentItemsRequiringReindexing()
|
|
254
|
+
def get_content_items_requiring_reindexing(self) -> ContentItemReader: ...
|
|
255
|
+
# Microsoft.Windows.Search.AppContentIndex.IndexCapabilities Microsoft.Windows.Search.AppContentIndex.AppContentIndexer::GetIndexCapabilities()
|
|
256
|
+
def get_index_capabilities(self) -> IndexCapabilities: ...
|
|
257
|
+
# Microsoft.Windows.Search.AppContentIndex.IndexStatistics Microsoft.Windows.Search.AppContentIndex.AppContentIndexer::GetIndexStatistics()
|
|
258
|
+
def get_index_statistics(self) -> IndexStatistics: ...
|
|
259
|
+
# System.Boolean Microsoft.Windows.Search.AppContentIndex.AppContentIndexer::IsContentKindSupported(Microsoft.Windows.Search.AppContentIndex.RegionContentKind)
|
|
260
|
+
def is_content_kind_supported(self, content_kind: RegionContentKind, /) -> bool: ...
|
|
261
|
+
# System.Void Microsoft.Windows.Search.AppContentIndex.AppContentIndexer::RemoveAllContentItems()
|
|
262
|
+
def remove_all_content_items(self) -> None: ...
|
|
263
|
+
# System.Void Microsoft.Windows.Search.AppContentIndex.AppContentIndexer::RemoveContentItem(System.String)
|
|
264
|
+
def remove_content_item(self, content_id: str, /) -> None: ...
|
|
265
|
+
# System.Void Microsoft.Windows.Search.AppContentIndex.AppContentIndexer::RemoveContentItems(Windows.Foundation.Collections.IIterable`1<System.String>)
|
|
266
|
+
def remove_content_items(self, content_ids: _cabc.Iterable[str], /) -> None: ...
|
|
267
|
+
# Windows.Foundation.IAsyncOperationWithProgress`2<Microsoft.Windows.Search.AppContentIndex.IndexCapabilities,System.Double> Microsoft.Windows.Search.AppContentIndex.AppContentIndexer::WaitForIndexCapabilitiesAsync()
|
|
268
|
+
def wait_for_index_capabilities_async(self) -> windows_foundation.IAsyncOperationWithProgress[IndexCapabilities, winrt.system.Double]: ...
|
|
269
|
+
# Windows.Foundation.IAsyncOperation`1<System.Boolean> Microsoft.Windows.Search.AppContentIndex.AppContentIndexer::WaitForIndexingIdleAsync(Windows.Foundation.TimeSpan)
|
|
270
|
+
def wait_for_indexing_idle_async(self, timeout: datetime.timedelta, /) -> windows_foundation.IAsyncOperation[bool]: ...
|
|
271
|
+
# System.String Microsoft.Windows.Search.AppContentIndex.AppContentIndexer::get_DefaultLanguage()
|
|
272
|
+
@_property
|
|
273
|
+
def default_language(self) -> str: ...
|
|
274
|
+
# System.String Microsoft.Windows.Search.AppContentIndex.AppContentIndexer::get_IndexName()
|
|
275
|
+
@_property
|
|
276
|
+
def index_name(self) -> str: ...
|
|
277
|
+
# Microsoft.Windows.Search.AppContentIndex.AppContentIndexListener Microsoft.Windows.Search.AppContentIndex.AppContentIndexer::get_Listener()
|
|
278
|
+
@_property
|
|
279
|
+
def listener(self) -> AppContentIndexListener: ...
|
|
280
|
+
|
|
281
|
+
@typing.final
|
|
282
|
+
class AppIndexContentRegion_Static(winrt.system.Object_Static):
|
|
283
|
+
@typing.overload
|
|
284
|
+
# Microsoft.Windows.Search.AppContentIndex.AppIndexContentRegion Microsoft.Windows.Search.AppContentIndex.AppIndexContentRegion::CreateFromBitmap(System.String,Windows.Graphics.Imaging.SoftwareBitmap)
|
|
285
|
+
def create_from_bitmap(cls, region_id: str, image: windows_graphics_imaging.SoftwareBitmap, /) -> AppIndexContentRegion: ...
|
|
286
|
+
@typing.overload
|
|
287
|
+
# Microsoft.Windows.Search.AppContentIndex.AppIndexContentRegion Microsoft.Windows.Search.AppContentIndex.AppIndexContentRegion::CreateFromBitmap(System.String,Windows.Graphics.Imaging.SoftwareBitmap,Microsoft.Windows.Search.AppContentIndex.ContentRegionImageOptions)
|
|
288
|
+
def create_from_bitmap(cls, region_id: str, image: windows_graphics_imaging.SoftwareBitmap, options: ContentRegionImageOptions, /) -> AppIndexContentRegion: ...
|
|
289
|
+
@typing.overload
|
|
290
|
+
# Microsoft.Windows.Search.AppContentIndex.AppIndexContentRegion Microsoft.Windows.Search.AppContentIndex.AppIndexContentRegion::CreateFromImageStream(System.String,System.Int32,Windows.Storage.Streams.IInputStream)
|
|
291
|
+
def create_from_image_stream(cls, region_id: str, content_byte_count: winrt.system.Int32 | typing.SupportsIndex, image_stream: windows_storage_streams.IInputStream, /) -> AppIndexContentRegion: ...
|
|
292
|
+
@typing.overload
|
|
293
|
+
# Microsoft.Windows.Search.AppContentIndex.AppIndexContentRegion Microsoft.Windows.Search.AppContentIndex.AppIndexContentRegion::CreateFromImageStream(System.String,System.Int32,Windows.Storage.Streams.IInputStream,Microsoft.Windows.Search.AppContentIndex.ContentRegionImageOptions)
|
|
294
|
+
def create_from_image_stream(cls, region_id: str, content_byte_count: winrt.system.Int32 | typing.SupportsIndex, image_stream: windows_storage_streams.IInputStream, options: ContentRegionImageOptions, /) -> AppIndexContentRegion: ...
|
|
295
|
+
@typing.overload
|
|
296
|
+
# Microsoft.Windows.Search.AppContentIndex.AppIndexContentRegion Microsoft.Windows.Search.AppContentIndex.AppIndexContentRegion::CreateFromString(System.String,System.String)
|
|
297
|
+
def create_from_string(cls, region_id: str, text: str, /) -> AppIndexContentRegion: ...
|
|
298
|
+
@typing.overload
|
|
299
|
+
# Microsoft.Windows.Search.AppContentIndex.AppIndexContentRegion Microsoft.Windows.Search.AppContentIndex.AppIndexContentRegion::CreateFromString(System.String,System.String,Microsoft.Windows.Search.AppContentIndex.ContentRegionTextOptions)
|
|
300
|
+
def create_from_string(cls, region_id: str, text: str, options: ContentRegionTextOptions, /) -> AppIndexContentRegion: ...
|
|
301
|
+
@typing.overload
|
|
302
|
+
# Microsoft.Windows.Search.AppContentIndex.AppIndexContentRegion Microsoft.Windows.Search.AppContentIndex.AppIndexContentRegion::CreateFromTextStream(System.String,System.Int32,Microsoft.Windows.Search.AppContentIndex.AppIndexTextStreamEncoding,Windows.Storage.Streams.IInputStream)
|
|
303
|
+
def create_from_text_stream(cls, region_id: str, content_byte_count: winrt.system.Int32 | typing.SupportsIndex, encoding: AppIndexTextStreamEncoding, text_stream: windows_storage_streams.IInputStream, /) -> AppIndexContentRegion: ...
|
|
304
|
+
@typing.overload
|
|
305
|
+
# Microsoft.Windows.Search.AppContentIndex.AppIndexContentRegion Microsoft.Windows.Search.AppContentIndex.AppIndexContentRegion::CreateFromTextStream(System.String,System.Int32,Microsoft.Windows.Search.AppContentIndex.AppIndexTextStreamEncoding,Windows.Storage.Streams.IInputStream,Microsoft.Windows.Search.AppContentIndex.ContentRegionTextOptions)
|
|
306
|
+
def create_from_text_stream(cls, region_id: str, content_byte_count: winrt.system.Int32 | typing.SupportsIndex, encoding: AppIndexTextStreamEncoding, text_stream: windows_storage_streams.IInputStream, options: ContentRegionTextOptions, /) -> AppIndexContentRegion: ...
|
|
307
|
+
|
|
308
|
+
@typing.final
|
|
309
|
+
class AppIndexContentRegion(winrt.system.Object, metaclass=AppIndexContentRegion_Static):
|
|
310
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
311
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
312
|
+
# Microsoft.Windows.Search.AppContentIndex.RegionContentKind Microsoft.Windows.Search.AppContentIndex.AppIndexContentRegion::get_ContentKind()
|
|
313
|
+
@_property
|
|
314
|
+
def content_kind(self) -> RegionContentKind: ...
|
|
315
|
+
# System.String Microsoft.Windows.Search.AppContentIndex.AppIndexContentRegion::get_RegionId()
|
|
316
|
+
@_property
|
|
317
|
+
def region_id(self) -> str: ...
|
|
318
|
+
|
|
319
|
+
@typing.final
|
|
320
|
+
class AppIndexImageQuery(winrt.system.Object):
|
|
321
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
322
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
323
|
+
# Windows.Foundation.Collections.IVectorView`1<Microsoft.Windows.Search.AppContentIndex.ImageQueryMatch> Microsoft.Windows.Search.AppContentIndex.AppIndexImageQuery::GetNextMatches(System.Int32)
|
|
324
|
+
def get_next_matches(self, max_count: winrt.system.Int32 | typing.SupportsIndex, /) -> _cabc.Sequence[ImageQueryMatch]: ...
|
|
325
|
+
# System.String Microsoft.Windows.Search.AppContentIndex.AppIndexImageQuery::get_Language()
|
|
326
|
+
@_property
|
|
327
|
+
def language(self) -> str: ...
|
|
328
|
+
# System.String Microsoft.Windows.Search.AppContentIndex.AppIndexImageQuery::get_QueryPhrase()
|
|
329
|
+
@_property
|
|
330
|
+
def query_phrase(self) -> str: ...
|
|
331
|
+
|
|
332
|
+
@typing.final
|
|
333
|
+
class AppIndexImageQuerySession_Static(winrt.system.Object_Static):
|
|
334
|
+
# System.Int32 Microsoft.Windows.Search.AppContentIndex.AppIndexImageQuerySession::get_MaxMatchesPerResult()
|
|
335
|
+
@_property
|
|
336
|
+
def max_matches_per_result(cls) -> winrt.system.Int32: ...
|
|
337
|
+
|
|
338
|
+
@typing.final
|
|
339
|
+
class AppIndexImageQuerySession(windows_foundation.IClosable, winrt.system.Object, metaclass=AppIndexImageQuerySession_Static):
|
|
340
|
+
def __enter__(self) -> typing.Self: ...
|
|
341
|
+
def __exit__(self, exc_type: type[BaseException] | None, exc_value: BaseException | None, traceback: types.TracebackType | None) -> None: ...
|
|
342
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
343
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
344
|
+
# System.Void Microsoft.Windows.Search.AppContentIndex.AppIndexImageQuerySession::Close()
|
|
345
|
+
def close(self) -> None: ...
|
|
346
|
+
# Microsoft.Windows.Search.AppContentIndex.ImageQuerySessionResult Microsoft.Windows.Search.AppContentIndex.AppIndexImageQuerySession::GetResult()
|
|
347
|
+
def get_result(self) -> ImageQuerySessionResult: ...
|
|
348
|
+
@typing.overload
|
|
349
|
+
# System.Void Microsoft.Windows.Search.AppContentIndex.AppIndexImageQuerySession::Start()
|
|
350
|
+
def start(self) -> None: ...
|
|
351
|
+
@typing.overload
|
|
352
|
+
# System.Void Microsoft.Windows.Search.AppContentIndex.AppIndexImageQuerySession::Start(Microsoft.Windows.Search.AppContentIndex.ImageQueryOptions)
|
|
353
|
+
def start(self, options: ImageQueryOptions, /) -> None: ...
|
|
354
|
+
@typing.overload
|
|
355
|
+
# System.Void Microsoft.Windows.Search.AppContentIndex.AppIndexImageQuerySession::Start(Microsoft.Windows.Search.AppContentIndex.ImageQueryOptions,System.String)
|
|
356
|
+
def start(self, options: ImageQueryOptions, first_query_phrase: str, /) -> None: ...
|
|
357
|
+
@typing.overload
|
|
358
|
+
# System.Void Microsoft.Windows.Search.AppContentIndex.AppIndexImageQuerySession::Stop()
|
|
359
|
+
def stop(self) -> None: ...
|
|
360
|
+
@typing.overload
|
|
361
|
+
# System.Void Microsoft.Windows.Search.AppContentIndex.AppIndexImageQuerySession::Stop(Microsoft.Windows.Search.AppContentIndex.ImageQueryMatch)
|
|
362
|
+
def stop(self, chosen_match: ImageQueryMatch, /) -> None: ...
|
|
363
|
+
# System.Void Microsoft.Windows.Search.AppContentIndex.AppIndexImageQuerySession::UpdateQueryPhrase(System.String)
|
|
364
|
+
def update_query_phrase(self, new_query_phrase: str, /) -> None: ...
|
|
365
|
+
# Windows.Foundation.EventRegistrationToken Microsoft.Windows.Search.AppContentIndex.AppIndexImageQuerySession::add_ResultChanged(Windows.Foundation.TypedEventHandler`2<Microsoft.Windows.Search.AppContentIndex.AppIndexImageQuerySession,System.Object>)
|
|
366
|
+
def add_result_changed(self, handler: windows_foundation.TypedEventHandler[AppIndexImageQuerySession, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
|
|
367
|
+
# System.Void Microsoft.Windows.Search.AppContentIndex.AppIndexImageQuerySession::remove_ResultChanged(Windows.Foundation.EventRegistrationToken)
|
|
368
|
+
def remove_result_changed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
369
|
+
# System.Int32 Microsoft.Windows.Search.AppContentIndex.AppIndexImageQuerySession::get_DesiredMatchesPerResult()
|
|
370
|
+
@_property
|
|
371
|
+
def desired_matches_per_result(self) -> winrt.system.Int32: ...
|
|
372
|
+
# System.Void Microsoft.Windows.Search.AppContentIndex.AppIndexImageQuerySession::put_DesiredMatchesPerResult(System.Int32)
|
|
373
|
+
@desired_matches_per_result.setter
|
|
374
|
+
def desired_matches_per_result(self, value: winrt.system.Int32 | typing.SupportsIndex) -> None: ...
|
|
375
|
+
|
|
376
|
+
class AppIndexQueryMatch_Static(winrt.system.Object_Static):
|
|
377
|
+
def __new__(mcls, name: str, bases: tuple[type, ...], namespace: dict[str, typing.Any], /, *, runtime_class_name: str = ...) -> AppIndexQueryMatch_Static: ...
|
|
378
|
+
|
|
379
|
+
class AppIndexQueryMatch(winrt.system.Object, metaclass=AppIndexQueryMatch_Static):
|
|
380
|
+
def __init_subclass__(cls, *, runtime_class_name: str = ...) -> None: ...
|
|
381
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
382
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
383
|
+
# System.String Microsoft.Windows.Search.AppContentIndex.AppIndexQueryMatch::get_ContentId()
|
|
384
|
+
@_property
|
|
385
|
+
@typing.final
|
|
386
|
+
def content_id(self) -> str: ...
|
|
387
|
+
# Microsoft.Windows.Search.AppContentIndex.QueryMatchContentKind Microsoft.Windows.Search.AppContentIndex.AppIndexQueryMatch::get_ContentKind()
|
|
388
|
+
@_property
|
|
389
|
+
@typing.final
|
|
390
|
+
def content_kind(self) -> QueryMatchContentKind: ...
|
|
391
|
+
# System.String Microsoft.Windows.Search.AppContentIndex.AppIndexQueryMatch::get_RegionId()
|
|
392
|
+
@_property
|
|
393
|
+
@typing.final
|
|
394
|
+
def region_id(self) -> str: ...
|
|
395
|
+
|
|
396
|
+
@typing.final
|
|
397
|
+
class AppIndexTextQuery(winrt.system.Object):
|
|
398
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
399
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
400
|
+
# Windows.Foundation.Collections.IVectorView`1<Microsoft.Windows.Search.AppContentIndex.TextQueryMatch> Microsoft.Windows.Search.AppContentIndex.AppIndexTextQuery::GetNextMatches(System.Int32)
|
|
401
|
+
def get_next_matches(self, max_count: winrt.system.Int32 | typing.SupportsIndex, /) -> _cabc.Sequence[TextQueryMatch]: ...
|
|
402
|
+
# System.String Microsoft.Windows.Search.AppContentIndex.AppIndexTextQuery::get_Language()
|
|
403
|
+
@_property
|
|
404
|
+
def language(self) -> str: ...
|
|
405
|
+
# System.String Microsoft.Windows.Search.AppContentIndex.AppIndexTextQuery::get_QueryPhrase()
|
|
406
|
+
@_property
|
|
407
|
+
def query_phrase(self) -> str: ...
|
|
408
|
+
|
|
409
|
+
@typing.final
|
|
410
|
+
class AppIndexTextQuerySession_Static(winrt.system.Object_Static):
|
|
411
|
+
# System.Int32 Microsoft.Windows.Search.AppContentIndex.AppIndexTextQuerySession::get_MaxMatchesPerResult()
|
|
412
|
+
@_property
|
|
413
|
+
def max_matches_per_result(cls) -> winrt.system.Int32: ...
|
|
414
|
+
|
|
415
|
+
@typing.final
|
|
416
|
+
class AppIndexTextQuerySession(windows_foundation.IClosable, winrt.system.Object, metaclass=AppIndexTextQuerySession_Static):
|
|
417
|
+
def __enter__(self) -> typing.Self: ...
|
|
418
|
+
def __exit__(self, exc_type: type[BaseException] | None, exc_value: BaseException | None, traceback: types.TracebackType | None) -> None: ...
|
|
419
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
420
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
421
|
+
# System.Void Microsoft.Windows.Search.AppContentIndex.AppIndexTextQuerySession::Close()
|
|
422
|
+
def close(self) -> None: ...
|
|
423
|
+
# Microsoft.Windows.Search.AppContentIndex.TextQuerySessionResult Microsoft.Windows.Search.AppContentIndex.AppIndexTextQuerySession::GetResult()
|
|
424
|
+
def get_result(self) -> TextQuerySessionResult: ...
|
|
425
|
+
@typing.overload
|
|
426
|
+
# System.Void Microsoft.Windows.Search.AppContentIndex.AppIndexTextQuerySession::Start()
|
|
427
|
+
def start(self) -> None: ...
|
|
428
|
+
@typing.overload
|
|
429
|
+
# System.Void Microsoft.Windows.Search.AppContentIndex.AppIndexTextQuerySession::Start(Microsoft.Windows.Search.AppContentIndex.TextQueryOptions)
|
|
430
|
+
def start(self, options: TextQueryOptions, /) -> None: ...
|
|
431
|
+
@typing.overload
|
|
432
|
+
# System.Void Microsoft.Windows.Search.AppContentIndex.AppIndexTextQuerySession::Start(Microsoft.Windows.Search.AppContentIndex.TextQueryOptions,System.String)
|
|
433
|
+
def start(self, options: TextQueryOptions, first_query_phrase: str, /) -> None: ...
|
|
434
|
+
@typing.overload
|
|
435
|
+
# System.Void Microsoft.Windows.Search.AppContentIndex.AppIndexTextQuerySession::Stop()
|
|
436
|
+
def stop(self) -> None: ...
|
|
437
|
+
@typing.overload
|
|
438
|
+
# System.Void Microsoft.Windows.Search.AppContentIndex.AppIndexTextQuerySession::Stop(Microsoft.Windows.Search.AppContentIndex.TextQueryMatch)
|
|
439
|
+
def stop(self, chosen_match: TextQueryMatch, /) -> None: ...
|
|
440
|
+
# System.Void Microsoft.Windows.Search.AppContentIndex.AppIndexTextQuerySession::UpdateQueryPhrase(System.String)
|
|
441
|
+
def update_query_phrase(self, new_query_phrase: str, /) -> None: ...
|
|
442
|
+
# Windows.Foundation.EventRegistrationToken Microsoft.Windows.Search.AppContentIndex.AppIndexTextQuerySession::add_ResultChanged(Windows.Foundation.TypedEventHandler`2<Microsoft.Windows.Search.AppContentIndex.AppIndexTextQuerySession,System.Object>)
|
|
443
|
+
def add_result_changed(self, handler: windows_foundation.TypedEventHandler[AppIndexTextQuerySession, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
|
|
444
|
+
# System.Void Microsoft.Windows.Search.AppContentIndex.AppIndexTextQuerySession::remove_ResultChanged(Windows.Foundation.EventRegistrationToken)
|
|
445
|
+
def remove_result_changed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
446
|
+
# System.Int32 Microsoft.Windows.Search.AppContentIndex.AppIndexTextQuerySession::get_DesiredMatchesPerResult()
|
|
447
|
+
@_property
|
|
448
|
+
def desired_matches_per_result(self) -> winrt.system.Int32: ...
|
|
449
|
+
# System.Void Microsoft.Windows.Search.AppContentIndex.AppIndexTextQuerySession::put_DesiredMatchesPerResult(System.Int32)
|
|
450
|
+
@desired_matches_per_result.setter
|
|
451
|
+
def desired_matches_per_result(self, value: winrt.system.Int32 | typing.SupportsIndex) -> None: ...
|
|
452
|
+
|
|
453
|
+
@typing.final
|
|
454
|
+
class AppManagedImageQueryMatch(ImageQueryMatch):
|
|
455
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
456
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
457
|
+
# Windows.Foundation.IReference`1<Windows.Foundation.Rect> Microsoft.Windows.Search.AppContentIndex.AppManagedImageQueryMatch::get_RegionOfInterest()
|
|
458
|
+
@_property
|
|
459
|
+
def region_of_interest(self) -> windows_foundation.Rect | None: ...
|
|
460
|
+
|
|
461
|
+
@typing.final
|
|
462
|
+
class AppManagedIndexableAppContent_Static(IndexableAppContent_Static):
|
|
463
|
+
@typing.overload
|
|
464
|
+
# Microsoft.Windows.Search.AppContentIndex.AppManagedIndexableAppContent Microsoft.Windows.Search.AppContentIndex.AppManagedIndexableAppContent::CreateFromBitmap(System.String,Windows.Graphics.Imaging.SoftwareBitmap)
|
|
465
|
+
def create_from_bitmap(cls, content_id: str, bitmap_content: windows_graphics_imaging.SoftwareBitmap, /) -> AppManagedIndexableAppContent: ...
|
|
466
|
+
@typing.overload
|
|
467
|
+
# Microsoft.Windows.Search.AppContentIndex.AppManagedIndexableAppContent Microsoft.Windows.Search.AppContentIndex.AppManagedIndexableAppContent::CreateFromBitmap(System.String,Windows.Graphics.Imaging.SoftwareBitmap,Microsoft.Windows.Search.AppContentIndex.ContentRegionImageOptions)
|
|
468
|
+
def create_from_bitmap(cls, content_id: str, bitmap_content: windows_graphics_imaging.SoftwareBitmap, region_options: ContentRegionImageOptions, /) -> AppManagedIndexableAppContent: ...
|
|
469
|
+
# Microsoft.Windows.Search.AppContentIndex.AppManagedIndexableAppContent Microsoft.Windows.Search.AppContentIndex.AppManagedIndexableAppContent::CreateFromContentRegions(System.String,Windows.Foundation.Collections.IIterable`1<Microsoft.Windows.Search.AppContentIndex.AppIndexContentRegion>)
|
|
470
|
+
def create_from_content_regions(cls, content_id: str, content_regions: _cabc.Iterable[AppIndexContentRegion], /) -> AppManagedIndexableAppContent: ...
|
|
471
|
+
@typing.overload
|
|
472
|
+
# Microsoft.Windows.Search.AppContentIndex.AppManagedIndexableAppContent Microsoft.Windows.Search.AppContentIndex.AppManagedIndexableAppContent::CreateFromImageStream(System.String,System.Int32,Windows.Storage.Streams.IInputStream)
|
|
473
|
+
def create_from_image_stream(cls, content_id: str, content_byte_count: winrt.system.Int32 | typing.SupportsIndex, image_stream: windows_storage_streams.IInputStream, /) -> AppManagedIndexableAppContent: ...
|
|
474
|
+
@typing.overload
|
|
475
|
+
# Microsoft.Windows.Search.AppContentIndex.AppManagedIndexableAppContent Microsoft.Windows.Search.AppContentIndex.AppManagedIndexableAppContent::CreateFromImageStream(System.String,System.Int32,Windows.Storage.Streams.IInputStream,Microsoft.Windows.Search.AppContentIndex.ContentRegionImageOptions)
|
|
476
|
+
def create_from_image_stream(cls, content_id: str, content_byte_count: winrt.system.Int32 | typing.SupportsIndex, image_stream: windows_storage_streams.IInputStream, region_options: ContentRegionImageOptions, /) -> AppManagedIndexableAppContent: ...
|
|
477
|
+
@typing.overload
|
|
478
|
+
# Microsoft.Windows.Search.AppContentIndex.AppManagedIndexableAppContent Microsoft.Windows.Search.AppContentIndex.AppManagedIndexableAppContent::CreateFromString(System.String,System.String)
|
|
479
|
+
def create_from_string(cls, content_id: str, text: str, /) -> AppManagedIndexableAppContent: ...
|
|
480
|
+
@typing.overload
|
|
481
|
+
# Microsoft.Windows.Search.AppContentIndex.AppManagedIndexableAppContent Microsoft.Windows.Search.AppContentIndex.AppManagedIndexableAppContent::CreateFromString(System.String,System.String,Microsoft.Windows.Search.AppContentIndex.ContentRegionTextOptions)
|
|
482
|
+
def create_from_string(cls, content_id: str, text: str, region_options: ContentRegionTextOptions, /) -> AppManagedIndexableAppContent: ...
|
|
483
|
+
@typing.overload
|
|
484
|
+
# Microsoft.Windows.Search.AppContentIndex.AppManagedIndexableAppContent Microsoft.Windows.Search.AppContentIndex.AppManagedIndexableAppContent::CreateFromTextStream(System.String,System.Int32,Microsoft.Windows.Search.AppContentIndex.AppIndexTextStreamEncoding,Windows.Storage.Streams.IInputStream)
|
|
485
|
+
def create_from_text_stream(cls, content_id: str, content_byte_count: winrt.system.Int32 | typing.SupportsIndex, encoding: AppIndexTextStreamEncoding, text_stream: windows_storage_streams.IInputStream, /) -> AppManagedIndexableAppContent: ...
|
|
486
|
+
@typing.overload
|
|
487
|
+
# Microsoft.Windows.Search.AppContentIndex.AppManagedIndexableAppContent Microsoft.Windows.Search.AppContentIndex.AppManagedIndexableAppContent::CreateFromTextStream(System.String,System.Int32,Microsoft.Windows.Search.AppContentIndex.AppIndexTextStreamEncoding,Windows.Storage.Streams.IInputStream,Microsoft.Windows.Search.AppContentIndex.ContentRegionTextOptions)
|
|
488
|
+
def create_from_text_stream(cls, content_id: str, content_byte_count: winrt.system.Int32 | typing.SupportsIndex, encoding: AppIndexTextStreamEncoding, text_stream: windows_storage_streams.IInputStream, region_options: ContentRegionTextOptions, /) -> AppManagedIndexableAppContent: ...
|
|
489
|
+
|
|
490
|
+
@typing.final
|
|
491
|
+
class AppManagedIndexableAppContent(IndexableAppContent, metaclass=AppManagedIndexableAppContent_Static):
|
|
492
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
493
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
494
|
+
# Windows.Foundation.Collections.IVectorView`1<Microsoft.Windows.Search.AppContentIndex.AppIndexContentRegion> Microsoft.Windows.Search.AppContentIndex.AppManagedIndexableAppContent::get_ContentRegions()
|
|
495
|
+
@_property
|
|
496
|
+
def content_regions(self) -> _cabc.Sequence[AppIndexContentRegion]: ...
|
|
497
|
+
|
|
498
|
+
@typing.final
|
|
499
|
+
class AppManagedOcrTextQueryMatch(TextQueryMatch):
|
|
500
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
501
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
502
|
+
# System.String Microsoft.Windows.Search.AppContentIndex.AppManagedOcrTextQueryMatch::get_Fragment()
|
|
503
|
+
@_property
|
|
504
|
+
def fragment(self) -> str: ...
|
|
505
|
+
# Windows.Foundation.IReference`1<Windows.Foundation.Rect> Microsoft.Windows.Search.AppContentIndex.AppManagedOcrTextQueryMatch::get_Subregion()
|
|
506
|
+
@_property
|
|
507
|
+
def subregion(self) -> windows_foundation.Rect | None: ...
|
|
508
|
+
|
|
509
|
+
@typing.final
|
|
510
|
+
class AppManagedTextQueryMatch(TextQueryMatch):
|
|
511
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
512
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
513
|
+
# System.Int32 Microsoft.Windows.Search.AppContentIndex.AppManagedTextQueryMatch::get_TextLength()
|
|
514
|
+
@_property
|
|
515
|
+
def text_length(self) -> winrt.system.Int32: ...
|
|
516
|
+
# System.Int32 Microsoft.Windows.Search.AppContentIndex.AppManagedTextQueryMatch::get_TextOffset()
|
|
517
|
+
@_property
|
|
518
|
+
def text_offset(self) -> winrt.system.Int32: ...
|
|
519
|
+
|
|
520
|
+
@typing.final
|
|
521
|
+
class ContentItemReader(winrt.system.Object):
|
|
522
|
+
def __iter__(self) -> _cabc.Iterator[str]: ...
|
|
523
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
524
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
525
|
+
# Windows.Foundation.Collections.IIterator`1<System.String> Microsoft.Windows.Search.AppContentIndex.ContentItemReader::First()
|
|
526
|
+
def first(self) -> windows_foundation_collections.IIterator[str]: ...
|
|
527
|
+
# Windows.Foundation.Collections.IVectorView`1<System.String> Microsoft.Windows.Search.AppContentIndex.ContentItemReader::GetNextItems(System.Int32)
|
|
528
|
+
def get_next_items(self, max_count: winrt.system.Int32 | typing.SupportsIndex, /) -> _cabc.Sequence[str]: ...
|
|
529
|
+
|
|
530
|
+
@typing.final
|
|
531
|
+
class ContentItemStatusResult(winrt.system.Object):
|
|
532
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
533
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
534
|
+
# Microsoft.Windows.Search.AppContentIndex.ContentItemErrorDetail Microsoft.Windows.Search.AppContentIndex.ContentItemStatusResult::get_ErrorDetail()
|
|
535
|
+
@_property
|
|
536
|
+
def error_detail(self) -> ContentItemErrorDetail: ...
|
|
537
|
+
# Windows.Foundation.HResult Microsoft.Windows.Search.AppContentIndex.ContentItemStatusResult::get_ExtendedError()
|
|
538
|
+
@_property
|
|
539
|
+
def extended_error(self) -> windows_foundation.HResult: ...
|
|
540
|
+
# Microsoft.Windows.Search.AppContentIndex.ContentItemReindexingStatus Microsoft.Windows.Search.AppContentIndex.ContentItemStatusResult::get_ReindexingStatus()
|
|
541
|
+
@_property
|
|
542
|
+
def reindexing_status(self) -> ContentItemReindexingStatus: ...
|
|
543
|
+
# Microsoft.Windows.Search.AppContentIndex.ContentItemStatus Microsoft.Windows.Search.AppContentIndex.ContentItemStatusResult::get_Status()
|
|
544
|
+
@_property
|
|
545
|
+
def status(self) -> ContentItemStatus: ...
|
|
546
|
+
|
|
547
|
+
@typing.final
|
|
548
|
+
class ContentRegionImageOptions(winrt.system.Object):
|
|
549
|
+
def __new__(cls) -> typing.Self: ...
|
|
550
|
+
# System.Boolean Microsoft.Windows.Search.AppContentIndex.ContentRegionImageOptions::get_SuppressImageSemanticIndexing()
|
|
551
|
+
@_property
|
|
552
|
+
def suppress_image_semantic_indexing(self) -> bool: ...
|
|
553
|
+
# System.Void Microsoft.Windows.Search.AppContentIndex.ContentRegionImageOptions::put_SuppressImageSemanticIndexing(System.Boolean)
|
|
554
|
+
@suppress_image_semantic_indexing.setter
|
|
555
|
+
def suppress_image_semantic_indexing(self, value: bool) -> None: ...
|
|
556
|
+
# Microsoft.Windows.Search.AppContentIndex.ImageOcrIndexingOptions Microsoft.Windows.Search.AppContentIndex.ContentRegionImageOptions::get_ImageOcrIndexingOptions()
|
|
557
|
+
@_property
|
|
558
|
+
def image_ocr_indexing_options(self) -> ImageOcrIndexingOptions: ...
|
|
559
|
+
# System.Void Microsoft.Windows.Search.AppContentIndex.ContentRegionImageOptions::put_ImageOcrIndexingOptions(Microsoft.Windows.Search.AppContentIndex.ImageOcrIndexingOptions)
|
|
560
|
+
@image_ocr_indexing_options.setter
|
|
561
|
+
def image_ocr_indexing_options(self, value: ImageOcrIndexingOptions) -> None: ...
|
|
562
|
+
|
|
563
|
+
@typing.final
|
|
564
|
+
class ContentRegionTextOptions(winrt.system.Object):
|
|
565
|
+
def __new__(cls) -> typing.Self: ...
|
|
566
|
+
# System.String Microsoft.Windows.Search.AppContentIndex.ContentRegionTextOptions::get_Language()
|
|
567
|
+
@_property
|
|
568
|
+
def language(self) -> str: ...
|
|
569
|
+
# System.Void Microsoft.Windows.Search.AppContentIndex.ContentRegionTextOptions::put_Language(System.String)
|
|
570
|
+
@language.setter
|
|
571
|
+
def language(self, value: str) -> None: ...
|
|
572
|
+
# System.Boolean Microsoft.Windows.Search.AppContentIndex.ContentRegionTextOptions::get_AllowSemanticIndexing()
|
|
573
|
+
@_property
|
|
574
|
+
def allow_semantic_indexing(self) -> bool: ...
|
|
575
|
+
# System.Void Microsoft.Windows.Search.AppContentIndex.ContentRegionTextOptions::put_AllowSemanticIndexing(System.Boolean)
|
|
576
|
+
@allow_semantic_indexing.setter
|
|
577
|
+
def allow_semantic_indexing(self, value: bool) -> None: ...
|
|
578
|
+
|
|
579
|
+
@typing.final
|
|
580
|
+
class DeleteIndexResult(winrt.system.Object):
|
|
581
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
582
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
583
|
+
# Windows.Foundation.HResult Microsoft.Windows.Search.AppContentIndex.DeleteIndexResult::get_ExtendedError()
|
|
584
|
+
@_property
|
|
585
|
+
def extended_error(self) -> windows_foundation.HResult: ...
|
|
586
|
+
# Microsoft.Windows.Search.AppContentIndex.DeleteIndexStatus Microsoft.Windows.Search.AppContentIndex.DeleteIndexResult::get_Status()
|
|
587
|
+
@_property
|
|
588
|
+
def status(self) -> DeleteIndexStatus: ...
|
|
589
|
+
# System.Boolean Microsoft.Windows.Search.AppContentIndex.DeleteIndexResult::get_Succeeded()
|
|
590
|
+
@_property
|
|
591
|
+
def succeeded(self) -> bool: ...
|
|
592
|
+
|
|
593
|
+
@typing.final
|
|
594
|
+
class GetOrCreateIndexOptions(winrt.system.Object):
|
|
595
|
+
def __new__(cls) -> typing.Self: ...
|
|
596
|
+
# Microsoft.Windows.Search.AppContentIndex.IndexCapabilityRequirement Microsoft.Windows.Search.AppContentIndex.GetOrCreateIndexOptions::get_TextSemanticRequirement()
|
|
597
|
+
@_property
|
|
598
|
+
def text_semantic_requirement(self) -> IndexCapabilityRequirement: ...
|
|
599
|
+
# System.Void Microsoft.Windows.Search.AppContentIndex.GetOrCreateIndexOptions::put_TextSemanticRequirement(Microsoft.Windows.Search.AppContentIndex.IndexCapabilityRequirement)
|
|
600
|
+
@text_semantic_requirement.setter
|
|
601
|
+
def text_semantic_requirement(self, value: IndexCapabilityRequirement) -> None: ...
|
|
602
|
+
# Microsoft.Windows.Search.AppContentIndex.IndexCapabilityRequirement Microsoft.Windows.Search.AppContentIndex.GetOrCreateIndexOptions::get_TextLexicalRequirement()
|
|
603
|
+
@_property
|
|
604
|
+
def text_lexical_requirement(self) -> IndexCapabilityRequirement: ...
|
|
605
|
+
# System.Void Microsoft.Windows.Search.AppContentIndex.GetOrCreateIndexOptions::put_TextLexicalRequirement(Microsoft.Windows.Search.AppContentIndex.IndexCapabilityRequirement)
|
|
606
|
+
@text_lexical_requirement.setter
|
|
607
|
+
def text_lexical_requirement(self, value: IndexCapabilityRequirement) -> None: ...
|
|
608
|
+
# Microsoft.Windows.Search.AppContentIndex.IndexCapabilityRequirement Microsoft.Windows.Search.AppContentIndex.GetOrCreateIndexOptions::get_ImageSemanticRequirement()
|
|
609
|
+
@_property
|
|
610
|
+
def image_semantic_requirement(self) -> IndexCapabilityRequirement: ...
|
|
611
|
+
# System.Void Microsoft.Windows.Search.AppContentIndex.GetOrCreateIndexOptions::put_ImageSemanticRequirement(Microsoft.Windows.Search.AppContentIndex.IndexCapabilityRequirement)
|
|
612
|
+
@image_semantic_requirement.setter
|
|
613
|
+
def image_semantic_requirement(self, value: IndexCapabilityRequirement) -> None: ...
|
|
614
|
+
# Microsoft.Windows.Search.AppContentIndex.IndexCapabilityRequirement Microsoft.Windows.Search.AppContentIndex.GetOrCreateIndexOptions::get_ImageOcrRequirement()
|
|
615
|
+
@_property
|
|
616
|
+
def image_ocr_requirement(self) -> IndexCapabilityRequirement: ...
|
|
617
|
+
# System.Void Microsoft.Windows.Search.AppContentIndex.GetOrCreateIndexOptions::put_ImageOcrRequirement(Microsoft.Windows.Search.AppContentIndex.IndexCapabilityRequirement)
|
|
618
|
+
@image_ocr_requirement.setter
|
|
619
|
+
def image_ocr_requirement(self, value: IndexCapabilityRequirement) -> None: ...
|
|
620
|
+
# System.String Microsoft.Windows.Search.AppContentIndex.GetOrCreateIndexOptions::get_DefaultLanguage()
|
|
621
|
+
@_property
|
|
622
|
+
def default_language(self) -> str: ...
|
|
623
|
+
# System.Void Microsoft.Windows.Search.AppContentIndex.GetOrCreateIndexOptions::put_DefaultLanguage(System.String)
|
|
624
|
+
@default_language.setter
|
|
625
|
+
def default_language(self, value: str) -> None: ...
|
|
626
|
+
# System.Boolean Microsoft.Windows.Search.AppContentIndex.GetOrCreateIndexOptions::get_CreateAlways()
|
|
627
|
+
@_property
|
|
628
|
+
def create_always(self) -> bool: ...
|
|
629
|
+
# System.Void Microsoft.Windows.Search.AppContentIndex.GetOrCreateIndexOptions::put_CreateAlways(System.Boolean)
|
|
630
|
+
@create_always.setter
|
|
631
|
+
def create_always(self, value: bool) -> None: ...
|
|
632
|
+
|
|
633
|
+
@typing.final
|
|
634
|
+
class GetOrCreateIndexResult(winrt.system.Object):
|
|
635
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
636
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
637
|
+
# Windows.Foundation.HResult Microsoft.Windows.Search.AppContentIndex.GetOrCreateIndexResult::get_ExtendedError()
|
|
638
|
+
@_property
|
|
639
|
+
def extended_error(self) -> windows_foundation.HResult: ...
|
|
640
|
+
# Microsoft.Windows.Search.AppContentIndex.AppContentIndexer Microsoft.Windows.Search.AppContentIndex.GetOrCreateIndexResult::get_Indexer()
|
|
641
|
+
@_property
|
|
642
|
+
def indexer(self) -> AppContentIndexer: ...
|
|
643
|
+
# Microsoft.Windows.Search.AppContentIndex.GetOrCreateIndexStatus Microsoft.Windows.Search.AppContentIndex.GetOrCreateIndexResult::get_Status()
|
|
644
|
+
@_property
|
|
645
|
+
def status(self) -> GetOrCreateIndexStatus: ...
|
|
646
|
+
# System.Boolean Microsoft.Windows.Search.AppContentIndex.GetOrCreateIndexResult::get_Succeeded()
|
|
647
|
+
@_property
|
|
648
|
+
def succeeded(self) -> bool: ...
|
|
649
|
+
|
|
650
|
+
class ImageQueryMatch_Static(AppIndexQueryMatch_Static):
|
|
651
|
+
...
|
|
652
|
+
|
|
653
|
+
class ImageQueryMatch(AppIndexQueryMatch, metaclass=ImageQueryMatch_Static):
|
|
654
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
655
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
656
|
+
|
|
657
|
+
@typing.final
|
|
658
|
+
class ImageQueryOptions(winrt.system.Object):
|
|
659
|
+
def __new__(cls) -> typing.Self: ...
|
|
660
|
+
# Microsoft.Windows.Search.AppContentIndex.QueryMatchScope Microsoft.Windows.Search.AppContentIndex.ImageQueryOptions::get_MatchScope()
|
|
661
|
+
@_property
|
|
662
|
+
def match_scope(self) -> QueryMatchScope: ...
|
|
663
|
+
# System.Void Microsoft.Windows.Search.AppContentIndex.ImageQueryOptions::put_MatchScope(Microsoft.Windows.Search.AppContentIndex.QueryMatchScope)
|
|
664
|
+
@match_scope.setter
|
|
665
|
+
def match_scope(self, value: QueryMatchScope) -> None: ...
|
|
666
|
+
# System.String Microsoft.Windows.Search.AppContentIndex.ImageQueryOptions::get_Language()
|
|
667
|
+
@_property
|
|
668
|
+
def language(self) -> str: ...
|
|
669
|
+
# System.Void Microsoft.Windows.Search.AppContentIndex.ImageQueryOptions::put_Language(System.String)
|
|
670
|
+
@language.setter
|
|
671
|
+
def language(self, value: str) -> None: ...
|
|
672
|
+
|
|
673
|
+
@typing.final
|
|
674
|
+
class ImageQuerySessionResult(winrt.system.Object):
|
|
675
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
676
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
677
|
+
# System.Boolean Microsoft.Windows.Search.AppContentIndex.ImageQuerySessionResult::get_IsValid()
|
|
678
|
+
@_property
|
|
679
|
+
def is_valid(self) -> bool: ...
|
|
680
|
+
# Windows.Foundation.Collections.IVectorView`1<Microsoft.Windows.Search.AppContentIndex.ImageQueryMatch> Microsoft.Windows.Search.AppContentIndex.ImageQuerySessionResult::get_Matches()
|
|
681
|
+
@_property
|
|
682
|
+
def matches(self) -> _cabc.Sequence[ImageQueryMatch]: ...
|
|
683
|
+
# Microsoft.Windows.Search.AppContentIndex.ImageQueryOptions Microsoft.Windows.Search.AppContentIndex.ImageQuerySessionResult::get_QueryOptions()
|
|
684
|
+
@_property
|
|
685
|
+
def query_options(self) -> ImageQueryOptions: ...
|
|
686
|
+
# System.String Microsoft.Windows.Search.AppContentIndex.ImageQuerySessionResult::get_QueryPhrase()
|
|
687
|
+
@_property
|
|
688
|
+
def query_phrase(self) -> str: ...
|
|
689
|
+
|
|
690
|
+
@typing.final
|
|
691
|
+
class IndexCapabilities(winrt.system.Object):
|
|
692
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
693
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
694
|
+
# Windows.Foundation.Collections.IVectorView`1<Microsoft.Windows.Search.AppContentIndex.IndexCapability> Microsoft.Windows.Search.AppContentIndex.IndexCapabilities::GetCapabilitiesWithErrors()
|
|
695
|
+
def get_capabilities_with_errors(self) -> _cabc.Sequence[IndexCapability]: ...
|
|
696
|
+
# Microsoft.Windows.Search.AppContentIndex.IndexCapabilityState Microsoft.Windows.Search.AppContentIndex.IndexCapabilities::GetCapabilityState(Microsoft.Windows.Search.AppContentIndex.IndexCapability)
|
|
697
|
+
def get_capability_state(self, capability: IndexCapability, /) -> IndexCapabilityState: ...
|
|
698
|
+
# System.Boolean Microsoft.Windows.Search.AppContentIndex.IndexCapabilities::get_HasCapabilitiesWithErrors()
|
|
699
|
+
@_property
|
|
700
|
+
def has_capabilities_with_errors(self) -> bool: ...
|
|
701
|
+
|
|
702
|
+
@typing.final
|
|
703
|
+
class IndexCapabilitiesOfCurrentSystem(winrt.system.Object):
|
|
704
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
705
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
706
|
+
# Microsoft.Windows.Search.AppContentIndex.IndexCapabilityOfCurrentSystemStatus Microsoft.Windows.Search.AppContentIndex.IndexCapabilitiesOfCurrentSystem::GetIndexCapabilityStatus(Microsoft.Windows.Search.AppContentIndex.IndexCapability)
|
|
707
|
+
def get_index_capability_status(self, capability: IndexCapability, /) -> IndexCapabilityOfCurrentSystemStatus: ...
|
|
708
|
+
# Microsoft.Windows.Search.AppContentIndex.IndexCapabilityLanguageStatus Microsoft.Windows.Search.AppContentIndex.IndexCapabilitiesOfCurrentSystem::GetLanguageStatusForIndexCapability(Microsoft.Windows.Search.AppContentIndex.IndexCapability,System.String)
|
|
709
|
+
def get_language_status_for_index_capability(self, capability: IndexCapability, language: str, /) -> IndexCapabilityLanguageStatus: ...
|
|
710
|
+
|
|
711
|
+
@typing.final
|
|
712
|
+
class IndexCapabilityState(winrt.system.Object):
|
|
713
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
714
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
715
|
+
# Microsoft.Windows.Search.AppContentIndex.IndexCapability Microsoft.Windows.Search.AppContentIndex.IndexCapabilityState::get_Capability()
|
|
716
|
+
@_property
|
|
717
|
+
def capability(self) -> IndexCapability: ...
|
|
718
|
+
# System.String Microsoft.Windows.Search.AppContentIndex.IndexCapabilityState::get_ErrorMessage()
|
|
719
|
+
@_property
|
|
720
|
+
def error_message(self) -> str: ...
|
|
721
|
+
# Windows.Foundation.HResult Microsoft.Windows.Search.AppContentIndex.IndexCapabilityState::get_ExtendedError()
|
|
722
|
+
@_property
|
|
723
|
+
def extended_error(self) -> windows_foundation.HResult: ...
|
|
724
|
+
# Microsoft.Windows.Search.AppContentIndex.IndexCapabilityInitializationStatus Microsoft.Windows.Search.AppContentIndex.IndexCapabilityState::get_InitializationStatus()
|
|
725
|
+
@_property
|
|
726
|
+
def initialization_status(self) -> IndexCapabilityInitializationStatus: ...
|
|
727
|
+
|
|
728
|
+
@typing.final
|
|
729
|
+
class IndexStatistics(winrt.system.Object):
|
|
730
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
731
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
732
|
+
# System.Int32 Microsoft.Windows.Search.AppContentIndex.IndexStatistics::get_CompletedCount()
|
|
733
|
+
@_property
|
|
734
|
+
def completed_count(self) -> winrt.system.Int32: ...
|
|
735
|
+
# System.Int32 Microsoft.Windows.Search.AppContentIndex.IndexStatistics::get_ErrorsCount()
|
|
736
|
+
@_property
|
|
737
|
+
def errors_count(self) -> winrt.system.Int32: ...
|
|
738
|
+
# System.Int32 Microsoft.Windows.Search.AppContentIndex.IndexStatistics::get_InProgressCount()
|
|
739
|
+
@_property
|
|
740
|
+
def in_progress_count(self) -> winrt.system.Int32: ...
|
|
741
|
+
# System.Boolean Microsoft.Windows.Search.AppContentIndex.IndexStatistics::get_IndexingInProgress()
|
|
742
|
+
@_property
|
|
743
|
+
def indexing_in_progress(self) -> bool: ...
|
|
744
|
+
# System.Int32 Microsoft.Windows.Search.AppContentIndex.IndexStatistics::get_ItemCount()
|
|
745
|
+
@_property
|
|
746
|
+
def item_count(self) -> winrt.system.Int32: ...
|
|
747
|
+
# System.Int32 Microsoft.Windows.Search.AppContentIndex.IndexStatistics::get_NotStartedCount()
|
|
748
|
+
@_property
|
|
749
|
+
def not_started_count(self) -> winrt.system.Int32: ...
|
|
750
|
+
# System.Int32 Microsoft.Windows.Search.AppContentIndex.IndexStatistics::get_PendingDeletionCount()
|
|
751
|
+
@_property
|
|
752
|
+
def pending_deletion_count(self) -> winrt.system.Int32: ...
|
|
753
|
+
# System.Int32 Microsoft.Windows.Search.AppContentIndex.IndexStatistics::get_RequiringReindexingCount()
|
|
754
|
+
@_property
|
|
755
|
+
def requiring_reindexing_count(self) -> winrt.system.Int32: ...
|
|
756
|
+
|
|
757
|
+
class IndexableAppContent_Static(winrt.system.Object_Static):
|
|
758
|
+
def __new__(mcls, name: str, bases: tuple[type, ...], namespace: dict[str, typing.Any], /, *, runtime_class_name: str = ...) -> IndexableAppContent_Static: ...
|
|
759
|
+
|
|
760
|
+
class IndexableAppContent(winrt.system.Object, metaclass=IndexableAppContent_Static):
|
|
761
|
+
def __init_subclass__(cls, *, runtime_class_name: str = ...) -> None: ...
|
|
762
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
763
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
764
|
+
# System.String Microsoft.Windows.Search.AppContentIndex.IndexableAppContent::get_ContentId()
|
|
765
|
+
@_property
|
|
766
|
+
@typing.final
|
|
767
|
+
def content_id(self) -> str: ...
|
|
768
|
+
|
|
769
|
+
class TextQueryMatch_Static(AppIndexQueryMatch_Static):
|
|
770
|
+
...
|
|
771
|
+
|
|
772
|
+
class TextQueryMatch(AppIndexQueryMatch, metaclass=TextQueryMatch_Static):
|
|
773
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
774
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
775
|
+
|
|
776
|
+
@typing.final
|
|
777
|
+
class TextQueryOptions(winrt.system.Object):
|
|
778
|
+
def __new__(cls) -> typing.Self: ...
|
|
779
|
+
# Microsoft.Windows.Search.AppContentIndex.TextLexicalMatchType Microsoft.Windows.Search.AppContentIndex.TextQueryOptions::get_TextMatchType()
|
|
780
|
+
@_property
|
|
781
|
+
def text_match_type(self) -> TextLexicalMatchType: ...
|
|
782
|
+
# System.Void Microsoft.Windows.Search.AppContentIndex.TextQueryOptions::put_TextMatchType(Microsoft.Windows.Search.AppContentIndex.TextLexicalMatchType)
|
|
783
|
+
@text_match_type.setter
|
|
784
|
+
def text_match_type(self, value: TextLexicalMatchType) -> None: ...
|
|
785
|
+
# System.Boolean Microsoft.Windows.Search.AppContentIndex.TextQueryOptions::get_SuppressSemanticMatches()
|
|
786
|
+
@_property
|
|
787
|
+
def suppress_semantic_matches(self) -> bool: ...
|
|
788
|
+
# System.Void Microsoft.Windows.Search.AppContentIndex.TextQueryOptions::put_SuppressSemanticMatches(System.Boolean)
|
|
789
|
+
@suppress_semantic_matches.setter
|
|
790
|
+
def suppress_semantic_matches(self, value: bool) -> None: ...
|
|
791
|
+
# Microsoft.Windows.Search.AppContentIndex.QueryMatchScope Microsoft.Windows.Search.AppContentIndex.TextQueryOptions::get_MatchScope()
|
|
792
|
+
@_property
|
|
793
|
+
def match_scope(self) -> QueryMatchScope: ...
|
|
794
|
+
# System.Void Microsoft.Windows.Search.AppContentIndex.TextQueryOptions::put_MatchScope(Microsoft.Windows.Search.AppContentIndex.QueryMatchScope)
|
|
795
|
+
@match_scope.setter
|
|
796
|
+
def match_scope(self, value: QueryMatchScope) -> None: ...
|
|
797
|
+
# System.String Microsoft.Windows.Search.AppContentIndex.TextQueryOptions::get_Language()
|
|
798
|
+
@_property
|
|
799
|
+
def language(self) -> str: ...
|
|
800
|
+
# System.Void Microsoft.Windows.Search.AppContentIndex.TextQueryOptions::put_Language(System.String)
|
|
801
|
+
@language.setter
|
|
802
|
+
def language(self, value: str) -> None: ...
|
|
803
|
+
|
|
804
|
+
@typing.final
|
|
805
|
+
class TextQuerySessionResult(winrt.system.Object):
|
|
806
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
807
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
808
|
+
# System.Boolean Microsoft.Windows.Search.AppContentIndex.TextQuerySessionResult::get_IsValid()
|
|
809
|
+
@_property
|
|
810
|
+
def is_valid(self) -> bool: ...
|
|
811
|
+
# Windows.Foundation.Collections.IVectorView`1<Microsoft.Windows.Search.AppContentIndex.TextQueryMatch> Microsoft.Windows.Search.AppContentIndex.TextQuerySessionResult::get_Matches()
|
|
812
|
+
@_property
|
|
813
|
+
def matches(self) -> _cabc.Sequence[TextQueryMatch]: ...
|
|
814
|
+
# Microsoft.Windows.Search.AppContentIndex.TextQueryOptions Microsoft.Windows.Search.AppContentIndex.TextQuerySessionResult::get_QueryOptions()
|
|
815
|
+
@_property
|
|
816
|
+
def query_options(self) -> TextQueryOptions: ...
|
|
817
|
+
# System.String Microsoft.Windows.Search.AppContentIndex.TextQuerySessionResult::get_QueryPhrase()
|
|
818
|
+
@_property
|
|
819
|
+
def query_phrase(self) -> str: ...
|
|
820
|
+
|
|
Binary file
|
|
File without changes
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: winrt-Microsoft.WindowsAppSDK.Search
|
|
3
|
+
Version: 4!2.5.1
|
|
4
|
+
Summary: PyWinRT projection of the Microsoft.WindowsAppSDK.Search NuGet package
|
|
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/wasdk/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
|
+
Requires-Dist: winrt-windows-storage-streams>=4!10.0.28000.2705
|
|
26
|
+
Provides-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
|
+
Requires-Dist: winrt-windows-graphics-imaging[all]>=4!10.0.28000.2705; extra == 'all'
|
|
30
|
+
Requires-Dist: winrt-windows-storage-streams[all]>=4!10.0.28000.2705; extra == 'all'
|
|
31
|
+
Description-Content-Type: text/markdown
|
|
32
|
+
|
|
33
|
+
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
34
|
+
|
|
35
|
+
# winrt-Microsoft.WindowsAppSDK.Search
|
|
36
|
+
|
|
37
|
+
**IMPORTANT**: Windows App SDK packages cannot be used without the Windows App
|
|
38
|
+
Runtime. This has to be installed manually by the end user. Read the
|
|
39
|
+
[PyWinRT Windows App SDK documentation](https://pywinrt.readthedocs.io/en/latest/api/microsoft/)
|
|
40
|
+
for more information.
|
|
41
|
+
|
|
42
|
+
Windows Runtime (WinRT) APIs for the `Microsoft.Windows.Search.AppContentIndex` namespace.
|
|
43
|
+
|
|
44
|
+
This package provides the `winrt.microsoft.windows.search.appcontentindex` module.
|
|
45
|
+
|
|
46
|
+
The WinRT APIs in it are those of version 2.5.1 of the
|
|
47
|
+
`Microsoft.WindowsAppSDK` NuGet package.
|
|
48
|
+
|
|
49
|
+
Its metadata comes from the `Microsoft.WindowsAppSDK.Search` component,
|
|
50
|
+
version 2.5.5.
|
|
51
|
+
|
|
52
|
+
```
|
|
53
|
+
pip install winrt-Microsoft.WindowsAppSDK.Search
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
Other WinRT namespaces are packages of their own, so install the package of
|
|
57
|
+
each namespace your code imports from.
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
winrt/microsoft/windows/search/appcontentindex/__init__.py,sha256=WdbtyJaQeNts02SoDL9ghJBQGfnBEbUuw1-knmxWc4U,1632
|
|
2
|
+
winrt/microsoft/windows/search/appcontentindex/__init__.pyi,sha256=_H3FeHsZGf7Ubsp0FJHFCYM1qInHIzj-9se_jq-Hb-Y,55737
|
|
3
|
+
winrt/microsoft/windows/search/appcontentindex/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
|
+
winrt/microsoft/windows/search/appcontentindex/_table.pywinrt,sha256=yS190Ha8dTh9qlaZK27WX_M18QCev1M4mCmtXBiQvpw,62856
|
|
5
|
+
winrt_microsoft_windowsappsdk_search-4!2.5.1.dist-info/METADATA,sha256=WavrXGeISWu5ERJ_elFDCcL9ELwaKl1DVK9RDF1Tdi4,2582
|
|
6
|
+
winrt_microsoft_windowsappsdk_search-4!2.5.1.dist-info/WHEEL,sha256=W3fkpkm7-wf9vBI5Z-7s0eWkeM-spu78I8Neb98DeEg,87
|
|
7
|
+
winrt_microsoft_windowsappsdk_search-4!2.5.1.dist-info/licenses/LICENSE,sha256=dyVKOMqPV0fimbzMhqN3zpg6K6Y2OlekwrdfiZTBm8M,1225
|
|
8
|
+
winrt_microsoft_windowsappsdk_search-4!2.5.1.dist-info/RECORD,,
|
|
@@ -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
|