winrt-Windows.Storage.Search 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.
- winrt/_winrt_windows_storage_search.cp313-win32.pyd +0 -0
- winrt/_winrt_windows_storage_search.pyi +321 -0
- winrt/windows/storage/search/__init__.py +91 -0
- winrt/windows/storage/search/py.typed +0 -0
- winrt_Windows.Storage.Search-2.2.0.dist-info/METADATA +30 -0
- winrt_Windows.Storage.Search-2.2.0.dist-info/RECORD +8 -0
- winrt_Windows.Storage.Search-2.2.0.dist-info/WHEEL +5 -0
- winrt_Windows.Storage.Search-2.2.0.dist-info/top_level.txt +1 -0
|
Binary file
|
|
@@ -0,0 +1,321 @@
|
|
|
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.data.text as windows_data_text
|
|
13
|
+
import winrt.windows.foundation as windows_foundation
|
|
14
|
+
import winrt.windows.foundation.collections as windows_foundation_collections
|
|
15
|
+
import winrt.windows.storage as windows_storage
|
|
16
|
+
import winrt.windows.storage.fileproperties as windows_storage_fileproperties
|
|
17
|
+
import winrt.windows.storage.streams as windows_storage_streams
|
|
18
|
+
|
|
19
|
+
from winrt.windows.storage.search import CommonFileQuery, CommonFolderQuery, DateStackOption, FolderDepth, IndexedState, IndexerOption
|
|
20
|
+
|
|
21
|
+
Self = typing.TypeVar('Self')
|
|
22
|
+
|
|
23
|
+
@typing.final
|
|
24
|
+
class SortEntry:
|
|
25
|
+
property_name: str
|
|
26
|
+
ascending_order: bool
|
|
27
|
+
def __init__(self, property_name: str, ascending_order: bool) -> None: ...
|
|
28
|
+
|
|
29
|
+
@typing.final
|
|
30
|
+
class ContentIndexer_Static(type):
|
|
31
|
+
@typing.overload
|
|
32
|
+
def get_indexer(cls) -> typing.Optional[ContentIndexer]: ...
|
|
33
|
+
@typing.overload
|
|
34
|
+
def get_indexer(cls, index_name: str, /) -> typing.Optional[ContentIndexer]: ...
|
|
35
|
+
|
|
36
|
+
@typing.final
|
|
37
|
+
class ContentIndexer(winrt.system.Object, metaclass=ContentIndexer_Static):
|
|
38
|
+
@staticmethod
|
|
39
|
+
def _from(obj: winrt.system.Object, /) -> ContentIndexer: ...
|
|
40
|
+
def add_async(self, indexable_content: typing.Optional[IIndexableContent], /) -> windows_foundation.IAsyncAction: ...
|
|
41
|
+
@typing.overload
|
|
42
|
+
def create_query(self, search_filter: str, properties_to_retrieve: typing.Iterable[str], /) -> typing.Optional[ContentIndexerQuery]: ...
|
|
43
|
+
@typing.overload
|
|
44
|
+
def create_query(self, search_filter: str, properties_to_retrieve: typing.Iterable[str], sort_order: typing.Iterable[SortEntry], /) -> typing.Optional[ContentIndexerQuery]: ...
|
|
45
|
+
@typing.overload
|
|
46
|
+
def create_query(self, search_filter: str, properties_to_retrieve: typing.Iterable[str], sort_order: typing.Iterable[SortEntry], search_filter_language: str, /) -> typing.Optional[ContentIndexerQuery]: ...
|
|
47
|
+
def delete_all_async(self) -> windows_foundation.IAsyncAction: ...
|
|
48
|
+
def delete_async(self, content_id: str, /) -> windows_foundation.IAsyncAction: ...
|
|
49
|
+
def delete_multiple_async(self, content_ids: typing.Iterable[str], /) -> windows_foundation.IAsyncAction: ...
|
|
50
|
+
def retrieve_properties_async(self, content_id: str, properties_to_retrieve: typing.Iterable[str], /) -> windows_foundation.IAsyncOperation[windows_foundation_collections.IMapView[str, winrt.system.Object]]: ...
|
|
51
|
+
def update_async(self, indexable_content: typing.Optional[IIndexableContent], /) -> windows_foundation.IAsyncAction: ...
|
|
52
|
+
@_property
|
|
53
|
+
def revision(self) -> winrt.system.UInt64: ...
|
|
54
|
+
|
|
55
|
+
@typing.final
|
|
56
|
+
class ContentIndexerQuery(winrt.system.Object):
|
|
57
|
+
@staticmethod
|
|
58
|
+
def _from(obj: winrt.system.Object, /) -> ContentIndexerQuery: ...
|
|
59
|
+
@typing.overload
|
|
60
|
+
def get_async(self) -> windows_foundation.IAsyncOperation[windows_foundation_collections.IVectorView[IIndexableContent]]: ...
|
|
61
|
+
@typing.overload
|
|
62
|
+
def get_async(self, start_index: winrt.system.UInt32, max_items: winrt.system.UInt32, /) -> windows_foundation.IAsyncOperation[windows_foundation_collections.IVectorView[IIndexableContent]]: ...
|
|
63
|
+
def get_count_async(self) -> windows_foundation.IAsyncOperation[winrt.system.UInt32]: ...
|
|
64
|
+
@typing.overload
|
|
65
|
+
def get_properties_async(self) -> windows_foundation.IAsyncOperation[windows_foundation_collections.IVectorView[windows_foundation_collections.IMapView[str, winrt.system.Object]]]: ...
|
|
66
|
+
@typing.overload
|
|
67
|
+
def get_properties_async(self, start_index: winrt.system.UInt32, max_items: winrt.system.UInt32, /) -> windows_foundation.IAsyncOperation[windows_foundation_collections.IVectorView[windows_foundation_collections.IMapView[str, winrt.system.Object]]]: ...
|
|
68
|
+
@_property
|
|
69
|
+
def query_folder(self) -> typing.Optional[windows_storage.StorageFolder]: ...
|
|
70
|
+
|
|
71
|
+
@typing.final
|
|
72
|
+
class IndexableContent(winrt.system.Object):
|
|
73
|
+
@staticmethod
|
|
74
|
+
def _from(obj: winrt.system.Object, /) -> IndexableContent: ...
|
|
75
|
+
def __new__(cls: typing.Type[IndexableContent]) -> IndexableContent: ...
|
|
76
|
+
@_property
|
|
77
|
+
def stream_content_type(self) -> str: ...
|
|
78
|
+
@stream_content_type.setter
|
|
79
|
+
def stream_content_type(self, value: str) -> None: ...
|
|
80
|
+
@_property
|
|
81
|
+
def stream(self) -> typing.Optional[windows_storage_streams.IRandomAccessStream]: ...
|
|
82
|
+
@stream.setter
|
|
83
|
+
def stream(self, value: typing.Optional[windows_storage_streams.IRandomAccessStream]) -> None: ...
|
|
84
|
+
@_property
|
|
85
|
+
def id(self) -> str: ...
|
|
86
|
+
@id.setter
|
|
87
|
+
def id(self, value: str) -> None: ...
|
|
88
|
+
@_property
|
|
89
|
+
def properties(self) -> typing.Optional[windows_foundation_collections.IMap[str, winrt.system.Object]]: ...
|
|
90
|
+
|
|
91
|
+
@typing.final
|
|
92
|
+
class QueryOptions(winrt.system.Object):
|
|
93
|
+
@staticmethod
|
|
94
|
+
def _from(obj: winrt.system.Object, /) -> QueryOptions: ...
|
|
95
|
+
@typing.overload
|
|
96
|
+
def __new__(cls: typing.Type[QueryOptions], query: CommonFileQuery, file_type_filter: typing.Iterable[str]) -> QueryOptions: ...
|
|
97
|
+
@typing.overload
|
|
98
|
+
def __new__(cls: typing.Type[QueryOptions], query: CommonFolderQuery) -> QueryOptions: ...
|
|
99
|
+
@typing.overload
|
|
100
|
+
def __new__(cls: typing.Type[QueryOptions]) -> QueryOptions: ...
|
|
101
|
+
def load_from_string(self, value: str, /) -> None: ...
|
|
102
|
+
def save_to_string(self) -> str: ...
|
|
103
|
+
def set_property_prefetch(self, options: windows_storage_fileproperties.PropertyPrefetchOptions, properties_to_retrieve: typing.Iterable[str], /) -> None: ...
|
|
104
|
+
def set_thumbnail_prefetch(self, mode: windows_storage_fileproperties.ThumbnailMode, requested_size: winrt.system.UInt32, options: windows_storage_fileproperties.ThumbnailOptions, /) -> None: ...
|
|
105
|
+
@_property
|
|
106
|
+
def user_search_filter(self) -> str: ...
|
|
107
|
+
@user_search_filter.setter
|
|
108
|
+
def user_search_filter(self, value: str) -> None: ...
|
|
109
|
+
@_property
|
|
110
|
+
def language(self) -> str: ...
|
|
111
|
+
@language.setter
|
|
112
|
+
def language(self, value: str) -> None: ...
|
|
113
|
+
@_property
|
|
114
|
+
def indexer_option(self) -> IndexerOption: ...
|
|
115
|
+
@indexer_option.setter
|
|
116
|
+
def indexer_option(self, value: IndexerOption) -> None: ...
|
|
117
|
+
@_property
|
|
118
|
+
def folder_depth(self) -> FolderDepth: ...
|
|
119
|
+
@folder_depth.setter
|
|
120
|
+
def folder_depth(self, value: FolderDepth) -> None: ...
|
|
121
|
+
@_property
|
|
122
|
+
def application_search_filter(self) -> str: ...
|
|
123
|
+
@application_search_filter.setter
|
|
124
|
+
def application_search_filter(self, value: str) -> None: ...
|
|
125
|
+
@_property
|
|
126
|
+
def date_stack_option(self) -> DateStackOption: ...
|
|
127
|
+
@_property
|
|
128
|
+
def file_type_filter(self) -> typing.Optional[windows_foundation_collections.IVector[str]]: ...
|
|
129
|
+
@_property
|
|
130
|
+
def group_property_name(self) -> str: ...
|
|
131
|
+
@_property
|
|
132
|
+
def sort_order(self) -> typing.Optional[windows_foundation_collections.IVector[SortEntry]]: ...
|
|
133
|
+
@_property
|
|
134
|
+
def storage_provider_id_filter(self) -> typing.Optional[windows_foundation_collections.IVector[str]]: ...
|
|
135
|
+
|
|
136
|
+
@typing.final
|
|
137
|
+
class SortEntryVector(winrt.system.Object, winrt._winrt.MutableSequence[SortEntry]):
|
|
138
|
+
def __len__(self) -> int: ...
|
|
139
|
+
def __iter__(self) -> windows_foundation_collections.IIterator[SortEntry]: ...
|
|
140
|
+
@typing.overload
|
|
141
|
+
def __getitem__(self, index: typing.SupportsIndex) -> SortEntry: ...
|
|
142
|
+
@typing.overload
|
|
143
|
+
def __getitem__(self, index: slice) -> winrt.system.Array[SortEntry]: ...
|
|
144
|
+
@typing.overload
|
|
145
|
+
def __delitem__(self, index: typing.SupportsIndex) -> None: ...
|
|
146
|
+
@typing.overload
|
|
147
|
+
def __delitem__(self, index: slice) -> None: ...
|
|
148
|
+
@typing.overload
|
|
149
|
+
def __setitem__(self, index: typing.SupportsIndex, value: SortEntry) -> None: ...
|
|
150
|
+
@typing.overload
|
|
151
|
+
def __setitem__(self, index: slice, value: typing.Iterable[SortEntry]) -> None: ...
|
|
152
|
+
@staticmethod
|
|
153
|
+
def _from(obj: winrt.system.Object, /) -> SortEntryVector: ...
|
|
154
|
+
def append(self, value: SortEntry, /) -> None: ...
|
|
155
|
+
def clear(self) -> None: ...
|
|
156
|
+
def first(self) -> typing.Optional[windows_foundation_collections.IIterator[SortEntry]]: ...
|
|
157
|
+
def get_at(self, index: winrt.system.UInt32, /) -> SortEntry: ...
|
|
158
|
+
def get_many(self, start_index: winrt.system.UInt32, items: winrt.system.Array[SortEntry], /) -> winrt.system.UInt32: ...
|
|
159
|
+
def get_view(self) -> typing.Optional[windows_foundation_collections.IVectorView[SortEntry]]: ...
|
|
160
|
+
def index_of(self, value: SortEntry, /) -> typing.Tuple[bool, winrt.system.UInt32]: ...
|
|
161
|
+
def insert_at(self, index: winrt.system.UInt32, value: SortEntry, /) -> None: ...
|
|
162
|
+
def remove_at(self, index: winrt.system.UInt32, /) -> None: ...
|
|
163
|
+
def remove_at_end(self) -> None: ...
|
|
164
|
+
def replace_all(self, items: winrt.system.Array[SortEntry], /) -> None: ...
|
|
165
|
+
def set_at(self, index: winrt.system.UInt32, value: SortEntry, /) -> None: ...
|
|
166
|
+
@_property
|
|
167
|
+
def size(self) -> winrt.system.UInt32: ...
|
|
168
|
+
|
|
169
|
+
@typing.final
|
|
170
|
+
class StorageFileQueryResult(winrt.system.Object):
|
|
171
|
+
@staticmethod
|
|
172
|
+
def _from(obj: winrt.system.Object, /) -> StorageFileQueryResult: ...
|
|
173
|
+
def apply_new_query_options(self, new_query_options: typing.Optional[QueryOptions], /) -> None: ...
|
|
174
|
+
def find_start_index_async(self, value: typing.Optional[winrt.system.Object], /) -> windows_foundation.IAsyncOperation[winrt.system.UInt32]: ...
|
|
175
|
+
def get_current_query_options(self) -> typing.Optional[QueryOptions]: ...
|
|
176
|
+
@typing.overload
|
|
177
|
+
def get_files_async(self) -> windows_foundation.IAsyncOperation[windows_foundation_collections.IVectorView[windows_storage.StorageFile]]: ...
|
|
178
|
+
@typing.overload
|
|
179
|
+
def get_files_async(self, start_index: winrt.system.UInt32, max_number_of_items: winrt.system.UInt32, /) -> windows_foundation.IAsyncOperation[windows_foundation_collections.IVectorView[windows_storage.StorageFile]]: ...
|
|
180
|
+
def get_item_count_async(self) -> windows_foundation.IAsyncOperation[winrt.system.UInt32]: ...
|
|
181
|
+
def get_matching_properties_with_ranges(self, file: typing.Optional[windows_storage.StorageFile], /) -> typing.Optional[windows_foundation_collections.IMap[str, windows_foundation_collections.IVectorView[windows_data_text.TextSegment]]]: ...
|
|
182
|
+
def add_contents_changed(self, handler: windows_foundation.TypedEventHandler[IStorageQueryResultBase, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
|
|
183
|
+
def remove_contents_changed(self, event_cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
184
|
+
def add_options_changed(self, changed_handler: windows_foundation.TypedEventHandler[IStorageQueryResultBase, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
|
|
185
|
+
def remove_options_changed(self, event_cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
186
|
+
@_property
|
|
187
|
+
def folder(self) -> typing.Optional[windows_storage.StorageFolder]: ...
|
|
188
|
+
|
|
189
|
+
@typing.final
|
|
190
|
+
class StorageFolderQueryResult(winrt.system.Object):
|
|
191
|
+
@staticmethod
|
|
192
|
+
def _from(obj: winrt.system.Object, /) -> StorageFolderQueryResult: ...
|
|
193
|
+
def apply_new_query_options(self, new_query_options: typing.Optional[QueryOptions], /) -> None: ...
|
|
194
|
+
def find_start_index_async(self, value: typing.Optional[winrt.system.Object], /) -> windows_foundation.IAsyncOperation[winrt.system.UInt32]: ...
|
|
195
|
+
def get_current_query_options(self) -> typing.Optional[QueryOptions]: ...
|
|
196
|
+
@typing.overload
|
|
197
|
+
def get_folders_async(self) -> windows_foundation.IAsyncOperation[windows_foundation_collections.IVectorView[windows_storage.StorageFolder]]: ...
|
|
198
|
+
@typing.overload
|
|
199
|
+
def get_folders_async(self, start_index: winrt.system.UInt32, max_number_of_items: winrt.system.UInt32, /) -> windows_foundation.IAsyncOperation[windows_foundation_collections.IVectorView[windows_storage.StorageFolder]]: ...
|
|
200
|
+
def get_item_count_async(self) -> windows_foundation.IAsyncOperation[winrt.system.UInt32]: ...
|
|
201
|
+
def add_contents_changed(self, handler: windows_foundation.TypedEventHandler[IStorageQueryResultBase, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
|
|
202
|
+
def remove_contents_changed(self, event_cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
203
|
+
def add_options_changed(self, changed_handler: windows_foundation.TypedEventHandler[IStorageQueryResultBase, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
|
|
204
|
+
def remove_options_changed(self, event_cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
205
|
+
@_property
|
|
206
|
+
def folder(self) -> typing.Optional[windows_storage.StorageFolder]: ...
|
|
207
|
+
|
|
208
|
+
@typing.final
|
|
209
|
+
class StorageItemQueryResult(winrt.system.Object):
|
|
210
|
+
@staticmethod
|
|
211
|
+
def _from(obj: winrt.system.Object, /) -> StorageItemQueryResult: ...
|
|
212
|
+
def apply_new_query_options(self, new_query_options: typing.Optional[QueryOptions], /) -> None: ...
|
|
213
|
+
def find_start_index_async(self, value: typing.Optional[winrt.system.Object], /) -> windows_foundation.IAsyncOperation[winrt.system.UInt32]: ...
|
|
214
|
+
def get_current_query_options(self) -> typing.Optional[QueryOptions]: ...
|
|
215
|
+
def get_item_count_async(self) -> windows_foundation.IAsyncOperation[winrt.system.UInt32]: ...
|
|
216
|
+
@typing.overload
|
|
217
|
+
def get_items_async(self) -> windows_foundation.IAsyncOperation[windows_foundation_collections.IVectorView[windows_storage.IStorageItem]]: ...
|
|
218
|
+
@typing.overload
|
|
219
|
+
def get_items_async(self, start_index: winrt.system.UInt32, max_number_of_items: winrt.system.UInt32, /) -> windows_foundation.IAsyncOperation[windows_foundation_collections.IVectorView[windows_storage.IStorageItem]]: ...
|
|
220
|
+
def add_contents_changed(self, handler: windows_foundation.TypedEventHandler[IStorageQueryResultBase, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
|
|
221
|
+
def remove_contents_changed(self, event_cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
222
|
+
def add_options_changed(self, changed_handler: windows_foundation.TypedEventHandler[IStorageQueryResultBase, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
|
|
223
|
+
def remove_options_changed(self, event_cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
224
|
+
@_property
|
|
225
|
+
def folder(self) -> typing.Optional[windows_storage.StorageFolder]: ...
|
|
226
|
+
|
|
227
|
+
@typing.final
|
|
228
|
+
class StorageLibraryChangeTrackerTriggerDetails(winrt.system.Object):
|
|
229
|
+
@staticmethod
|
|
230
|
+
def _from(obj: winrt.system.Object, /) -> StorageLibraryChangeTrackerTriggerDetails: ...
|
|
231
|
+
@_property
|
|
232
|
+
def change_tracker(self) -> typing.Optional[windows_storage.StorageLibraryChangeTracker]: ...
|
|
233
|
+
@_property
|
|
234
|
+
def folder(self) -> typing.Optional[windows_storage.StorageFolder]: ...
|
|
235
|
+
|
|
236
|
+
@typing.final
|
|
237
|
+
class StorageLibraryContentChangedTriggerDetails(winrt.system.Object):
|
|
238
|
+
@staticmethod
|
|
239
|
+
def _from(obj: winrt.system.Object, /) -> StorageLibraryContentChangedTriggerDetails: ...
|
|
240
|
+
def create_modified_since_query(self, last_query_time: datetime.datetime, /) -> typing.Optional[StorageItemQueryResult]: ...
|
|
241
|
+
@_property
|
|
242
|
+
def folder(self) -> typing.Optional[windows_storage.StorageFolder]: ...
|
|
243
|
+
|
|
244
|
+
@typing.final
|
|
245
|
+
class ValueAndLanguage(winrt.system.Object):
|
|
246
|
+
@staticmethod
|
|
247
|
+
def _from(obj: winrt.system.Object, /) -> ValueAndLanguage: ...
|
|
248
|
+
def __new__(cls: typing.Type[ValueAndLanguage]) -> ValueAndLanguage: ...
|
|
249
|
+
@_property
|
|
250
|
+
def value(self) -> typing.Optional[winrt.system.Object]: ...
|
|
251
|
+
@value.setter
|
|
252
|
+
def value(self, value: typing.Optional[winrt.system.Object]) -> None: ...
|
|
253
|
+
@_property
|
|
254
|
+
def language(self) -> str: ...
|
|
255
|
+
@language.setter
|
|
256
|
+
def language(self, value: str) -> None: ...
|
|
257
|
+
|
|
258
|
+
@typing.final
|
|
259
|
+
class IIndexableContent(winrt.system.Object):
|
|
260
|
+
@staticmethod
|
|
261
|
+
def _from(obj: winrt.system.Object, /) -> IIndexableContent: ...
|
|
262
|
+
@_property
|
|
263
|
+
def id(self) -> str: ...
|
|
264
|
+
@id.setter
|
|
265
|
+
def id(self, value: str) -> None: ...
|
|
266
|
+
@_property
|
|
267
|
+
def properties(self) -> typing.Optional[windows_foundation_collections.IMap[str, winrt.system.Object]]: ...
|
|
268
|
+
@_property
|
|
269
|
+
def stream(self) -> typing.Optional[windows_storage_streams.IRandomAccessStream]: ...
|
|
270
|
+
@stream.setter
|
|
271
|
+
def stream(self, value: typing.Optional[windows_storage_streams.IRandomAccessStream]) -> None: ...
|
|
272
|
+
@_property
|
|
273
|
+
def stream_content_type(self) -> str: ...
|
|
274
|
+
@stream_content_type.setter
|
|
275
|
+
def stream_content_type(self, value: str) -> None: ...
|
|
276
|
+
|
|
277
|
+
@typing.final
|
|
278
|
+
class IStorageFolderQueryOperations(winrt.system.Object):
|
|
279
|
+
@staticmethod
|
|
280
|
+
def _from(obj: winrt.system.Object, /) -> IStorageFolderQueryOperations: ...
|
|
281
|
+
def are_query_options_supported(self, query_options: typing.Optional[QueryOptions], /) -> bool: ...
|
|
282
|
+
@typing.overload
|
|
283
|
+
def create_file_query(self) -> typing.Optional[StorageFileQueryResult]: ...
|
|
284
|
+
@typing.overload
|
|
285
|
+
def create_file_query(self, query: CommonFileQuery, /) -> typing.Optional[StorageFileQueryResult]: ...
|
|
286
|
+
def create_file_query_with_options(self, query_options: typing.Optional[QueryOptions], /) -> typing.Optional[StorageFileQueryResult]: ...
|
|
287
|
+
@typing.overload
|
|
288
|
+
def create_folder_query(self) -> typing.Optional[StorageFolderQueryResult]: ...
|
|
289
|
+
@typing.overload
|
|
290
|
+
def create_folder_query(self, query: CommonFolderQuery, /) -> typing.Optional[StorageFolderQueryResult]: ...
|
|
291
|
+
def create_folder_query_with_options(self, query_options: typing.Optional[QueryOptions], /) -> typing.Optional[StorageFolderQueryResult]: ...
|
|
292
|
+
def create_item_query(self) -> typing.Optional[StorageItemQueryResult]: ...
|
|
293
|
+
def create_item_query_with_options(self, query_options: typing.Optional[QueryOptions], /) -> typing.Optional[StorageItemQueryResult]: ...
|
|
294
|
+
@typing.overload
|
|
295
|
+
def get_files_async(self, query: CommonFileQuery, /) -> windows_foundation.IAsyncOperation[windows_foundation_collections.IVectorView[windows_storage.StorageFile]]: ...
|
|
296
|
+
@typing.overload
|
|
297
|
+
def get_files_async(self, query: CommonFileQuery, start_index: winrt.system.UInt32, max_items_to_retrieve: winrt.system.UInt32, /) -> windows_foundation.IAsyncOperation[windows_foundation_collections.IVectorView[windows_storage.StorageFile]]: ...
|
|
298
|
+
@typing.overload
|
|
299
|
+
def get_folders_async(self, query: CommonFolderQuery, /) -> windows_foundation.IAsyncOperation[windows_foundation_collections.IVectorView[windows_storage.StorageFolder]]: ...
|
|
300
|
+
@typing.overload
|
|
301
|
+
def get_folders_async(self, query: CommonFolderQuery, start_index: winrt.system.UInt32, max_items_to_retrieve: winrt.system.UInt32, /) -> windows_foundation.IAsyncOperation[windows_foundation_collections.IVectorView[windows_storage.StorageFolder]]: ...
|
|
302
|
+
def get_indexed_state_async(self) -> windows_foundation.IAsyncOperation[IndexedState]: ...
|
|
303
|
+
def get_items_async(self, start_index: winrt.system.UInt32, max_items_to_retrieve: winrt.system.UInt32, /) -> windows_foundation.IAsyncOperation[windows_foundation_collections.IVectorView[windows_storage.IStorageItem]]: ...
|
|
304
|
+
def is_common_file_query_supported(self, query: CommonFileQuery, /) -> bool: ...
|
|
305
|
+
def is_common_folder_query_supported(self, query: CommonFolderQuery, /) -> bool: ...
|
|
306
|
+
|
|
307
|
+
@typing.final
|
|
308
|
+
class IStorageQueryResultBase(winrt.system.Object):
|
|
309
|
+
@staticmethod
|
|
310
|
+
def _from(obj: winrt.system.Object, /) -> IStorageQueryResultBase: ...
|
|
311
|
+
def apply_new_query_options(self, new_query_options: typing.Optional[QueryOptions], /) -> None: ...
|
|
312
|
+
def find_start_index_async(self, value: typing.Optional[winrt.system.Object], /) -> windows_foundation.IAsyncOperation[winrt.system.UInt32]: ...
|
|
313
|
+
def get_current_query_options(self) -> typing.Optional[QueryOptions]: ...
|
|
314
|
+
def get_item_count_async(self) -> windows_foundation.IAsyncOperation[winrt.system.UInt32]: ...
|
|
315
|
+
def add_contents_changed(self, handler: windows_foundation.TypedEventHandler[IStorageQueryResultBase, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
|
|
316
|
+
def remove_contents_changed(self, event_cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
317
|
+
def add_options_changed(self, changed_handler: windows_foundation.TypedEventHandler[IStorageQueryResultBase, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
|
|
318
|
+
def remove_options_changed(self, event_cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
319
|
+
@_property
|
|
320
|
+
def folder(self) -> typing.Optional[windows_storage.StorageFolder]: ...
|
|
321
|
+
|
|
@@ -0,0 +1,91 @@
|
|
|
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_storage_search
|
|
7
|
+
|
|
8
|
+
__all__ = [
|
|
9
|
+
"CommonFileQuery",
|
|
10
|
+
"CommonFolderQuery",
|
|
11
|
+
"DateStackOption",
|
|
12
|
+
"FolderDepth",
|
|
13
|
+
"IndexedState",
|
|
14
|
+
"IndexerOption",
|
|
15
|
+
"SortEntry",
|
|
16
|
+
"ContentIndexer",
|
|
17
|
+
"ContentIndexerQuery",
|
|
18
|
+
"IndexableContent",
|
|
19
|
+
"QueryOptions",
|
|
20
|
+
"SortEntryVector",
|
|
21
|
+
"StorageFileQueryResult",
|
|
22
|
+
"StorageFolderQueryResult",
|
|
23
|
+
"StorageItemQueryResult",
|
|
24
|
+
"StorageLibraryChangeTrackerTriggerDetails",
|
|
25
|
+
"StorageLibraryContentChangedTriggerDetails",
|
|
26
|
+
"ValueAndLanguage",
|
|
27
|
+
"IIndexableContent",
|
|
28
|
+
"IStorageFolderQueryOperations",
|
|
29
|
+
"IStorageQueryResultBase",
|
|
30
|
+
]
|
|
31
|
+
|
|
32
|
+
class CommonFileQuery(enum.IntEnum):
|
|
33
|
+
DEFAULT_QUERY = 0
|
|
34
|
+
ORDER_BY_NAME = 1
|
|
35
|
+
ORDER_BY_TITLE = 2
|
|
36
|
+
ORDER_BY_MUSIC_PROPERTIES = 3
|
|
37
|
+
ORDER_BY_SEARCH_RANK = 4
|
|
38
|
+
ORDER_BY_DATE = 5
|
|
39
|
+
|
|
40
|
+
class CommonFolderQuery(enum.IntEnum):
|
|
41
|
+
DEFAULT_QUERY = 0
|
|
42
|
+
GROUP_BY_YEAR = 100
|
|
43
|
+
GROUP_BY_MONTH = 101
|
|
44
|
+
GROUP_BY_ARTIST = 102
|
|
45
|
+
GROUP_BY_ALBUM = 103
|
|
46
|
+
GROUP_BY_ALBUM_ARTIST = 104
|
|
47
|
+
GROUP_BY_COMPOSER = 105
|
|
48
|
+
GROUP_BY_GENRE = 106
|
|
49
|
+
GROUP_BY_PUBLISHED_YEAR = 107
|
|
50
|
+
GROUP_BY_RATING = 108
|
|
51
|
+
GROUP_BY_TAG = 109
|
|
52
|
+
GROUP_BY_AUTHOR = 110
|
|
53
|
+
GROUP_BY_TYPE = 111
|
|
54
|
+
|
|
55
|
+
class DateStackOption(enum.IntEnum):
|
|
56
|
+
NONE = 0
|
|
57
|
+
YEAR = 1
|
|
58
|
+
MONTH = 2
|
|
59
|
+
|
|
60
|
+
class FolderDepth(enum.IntEnum):
|
|
61
|
+
SHALLOW = 0
|
|
62
|
+
DEEP = 1
|
|
63
|
+
|
|
64
|
+
class IndexedState(enum.IntEnum):
|
|
65
|
+
UNKNOWN = 0
|
|
66
|
+
NOT_INDEXED = 1
|
|
67
|
+
PARTIALLY_INDEXED = 2
|
|
68
|
+
FULLY_INDEXED = 3
|
|
69
|
+
|
|
70
|
+
class IndexerOption(enum.IntEnum):
|
|
71
|
+
USE_INDEXER_WHEN_AVAILABLE = 0
|
|
72
|
+
ONLY_USE_INDEXER = 1
|
|
73
|
+
DO_NOT_USE_INDEXER = 2
|
|
74
|
+
ONLY_USE_INDEXER_AND_OPTIMIZE_FOR_INDEXED_PROPERTIES = 3
|
|
75
|
+
|
|
76
|
+
SortEntry = _winrt_windows_storage_search.SortEntry
|
|
77
|
+
ContentIndexer = _winrt_windows_storage_search.ContentIndexer
|
|
78
|
+
ContentIndexerQuery = _winrt_windows_storage_search.ContentIndexerQuery
|
|
79
|
+
IndexableContent = _winrt_windows_storage_search.IndexableContent
|
|
80
|
+
QueryOptions = _winrt_windows_storage_search.QueryOptions
|
|
81
|
+
SortEntryVector = _winrt_windows_storage_search.SortEntryVector
|
|
82
|
+
winrt.system._mixin_mutable_sequence(SortEntryVector)
|
|
83
|
+
StorageFileQueryResult = _winrt_windows_storage_search.StorageFileQueryResult
|
|
84
|
+
StorageFolderQueryResult = _winrt_windows_storage_search.StorageFolderQueryResult
|
|
85
|
+
StorageItemQueryResult = _winrt_windows_storage_search.StorageItemQueryResult
|
|
86
|
+
StorageLibraryChangeTrackerTriggerDetails = _winrt_windows_storage_search.StorageLibraryChangeTrackerTriggerDetails
|
|
87
|
+
StorageLibraryContentChangedTriggerDetails = _winrt_windows_storage_search.StorageLibraryContentChangedTriggerDetails
|
|
88
|
+
ValueAndLanguage = _winrt_windows_storage_search.ValueAndLanguage
|
|
89
|
+
IIndexableContent = _winrt_windows_storage_search.IIndexableContent
|
|
90
|
+
IStorageFolderQueryOperations = _winrt_windows_storage_search.IStorageFolderQueryOperations
|
|
91
|
+
IStorageQueryResultBase = _winrt_windows_storage_search.IStorageQueryResultBase
|
|
File without changes
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: winrt-Windows.Storage.Search
|
|
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.Data.Text[all] ==2.2.0 ; extra == 'all'
|
|
18
|
+
Requires-Dist: winrt-Windows.Foundation[all] ==2.2.0 ; extra == 'all'
|
|
19
|
+
Requires-Dist: winrt-Windows.Foundation.Collections[all] ==2.2.0 ; extra == 'all'
|
|
20
|
+
Requires-Dist: winrt-Windows.Storage[all] ==2.2.0 ; extra == 'all'
|
|
21
|
+
Requires-Dist: winrt-Windows.Storage.FileProperties[all] ==2.2.0 ; extra == 'all'
|
|
22
|
+
Requires-Dist: winrt-Windows.Storage.Streams[all] ==2.2.0 ; extra == 'all'
|
|
23
|
+
|
|
24
|
+
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
25
|
+
|
|
26
|
+
# winrt-Windows.Storage.Search
|
|
27
|
+
|
|
28
|
+
Windows Runtime (WinRT) APIs for for the `Windows.Storage.Search` namespace.
|
|
29
|
+
|
|
30
|
+
This package provides the `winrt.windows.storage.search` module.
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
winrt/_winrt_windows_storage_search.cp313-win32.pyd,sha256=5NJ5mpiM36Ya5j4FWb9rtc5wDdE2lqNGg0ovTdr41S4,386560
|
|
2
|
+
winrt/_winrt_windows_storage_search.pyi,sha256=MMZ2oRt1-eA4St6BF6AOj3qh0M2z5n_jwcfOv8aOYus,20210
|
|
3
|
+
winrt/windows/storage/search/__init__.py,sha256=dnTEKa-uDXWPkHD38z4CaKX6tt19kC9iGZ_KKgQ8AKk,2970
|
|
4
|
+
winrt/windows/storage/search/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
|
+
winrt_Windows.Storage.Search-2.2.0.dist-info/METADATA,sha256=dSDVxDTiwl9ZeTRWVZdBDfIkIDM5l3JpJ-r-c0SJhgo,1419
|
|
6
|
+
winrt_Windows.Storage.Search-2.2.0.dist-info/WHEEL,sha256=rHSPOKLHVf857fDiba9Pzuf1iCvh9pcRQ5-VWQYz3ms,97
|
|
7
|
+
winrt_Windows.Storage.Search-2.2.0.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
|
|
8
|
+
winrt_Windows.Storage.Search-2.2.0.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
winrt
|