winrt-Windows.Storage.Search 3.2.1__cp314-cp314-win_amd64.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.cp314-win_amd64.pyd +0 -0
- winrt/_winrt_windows_storage_search.pyi +446 -0
- winrt/windows/storage/search/__init__.py +96 -0
- winrt/windows/storage/search/py.typed +0 -0
- winrt_windows_storage_search-3.2.1.dist-info/METADATA +30 -0
- winrt_windows_storage_search-3.2.1.dist-info/RECORD +8 -0
- winrt_windows_storage_search-3.2.1.dist-info/WHEEL +5 -0
- winrt_windows_storage_search-3.2.1.dist-info/top_level.txt +1 -0
|
Binary file
|
|
@@ -0,0 +1,446 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v3.2.1
|
|
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
|
+
from abc import abstractmethod
|
|
10
|
+
|
|
11
|
+
import winrt._winrt
|
|
12
|
+
import winrt.system
|
|
13
|
+
import winrt.windows.data.text as windows_data_text
|
|
14
|
+
import winrt.windows.foundation as windows_foundation
|
|
15
|
+
import winrt.windows.foundation.collections as windows_foundation_collections
|
|
16
|
+
import winrt.windows.storage as windows_storage
|
|
17
|
+
import winrt.windows.storage.fileproperties as windows_storage_fileproperties
|
|
18
|
+
import winrt.windows.storage.streams as windows_storage_streams
|
|
19
|
+
|
|
20
|
+
from winrt.windows.storage.search import CommonFileQuery, CommonFolderQuery, DateStackOption, FolderDepth, IndexedState, IndexerOption
|
|
21
|
+
|
|
22
|
+
Self = typing.TypeVar('Self')
|
|
23
|
+
|
|
24
|
+
@typing.final
|
|
25
|
+
class SortEntry:
|
|
26
|
+
@_property
|
|
27
|
+
def property_name(self) -> str: ...
|
|
28
|
+
@_property
|
|
29
|
+
def ascending_order(self) -> bool: ...
|
|
30
|
+
def __new__(cls, property_name: str = "", ascending_order: bool = False) -> SortEntry: ...
|
|
31
|
+
def __replace__(self, /, **changes: typing.Any) -> SortEntry: ...
|
|
32
|
+
def unpack(self) -> typing.Tuple[str, bool]: ...
|
|
33
|
+
|
|
34
|
+
@typing.final
|
|
35
|
+
class ContentIndexer_Static(winrt._winrt.IInspectable_Static):
|
|
36
|
+
# Windows.Storage.Search.ContentIndexer Windows.Storage.Search.ContentIndexer::GetIndexer()
|
|
37
|
+
def get_indexer(cls) -> ContentIndexer: ...
|
|
38
|
+
# Windows.Storage.Search.ContentIndexer Windows.Storage.Search.ContentIndexer::GetIndexer(System.String)
|
|
39
|
+
def get_indexer_with_name(cls, index_name: str, /) -> ContentIndexer: ...
|
|
40
|
+
|
|
41
|
+
@typing.final
|
|
42
|
+
class ContentIndexer(winrt.system.Object, metaclass=ContentIndexer_Static):
|
|
43
|
+
# Windows.Foundation.IAsyncAction Windows.Storage.Search.ContentIndexer::AddAsync(Windows.Storage.Search.IIndexableContent)
|
|
44
|
+
def add_async(self, indexable_content: IIndexableContent, /) -> windows_foundation.IAsyncAction: ...
|
|
45
|
+
# Windows.Storage.Search.ContentIndexerQuery Windows.Storage.Search.ContentIndexer::CreateQuery(System.String,Windows.Foundation.Collections.IIterable`1<System.String>)
|
|
46
|
+
def create_query(self, search_filter: str, properties_to_retrieve: typing.Iterable[str], /) -> ContentIndexerQuery: ...
|
|
47
|
+
# Windows.Storage.Search.ContentIndexerQuery Windows.Storage.Search.ContentIndexer::CreateQuery(System.String,Windows.Foundation.Collections.IIterable`1<System.String>,Windows.Foundation.Collections.IIterable`1<Windows.Storage.Search.SortEntry>)
|
|
48
|
+
def create_query_with_sort_order(self, search_filter: str, properties_to_retrieve: typing.Iterable[str], sort_order: typing.Iterable[SortEntry], /) -> ContentIndexerQuery: ...
|
|
49
|
+
# Windows.Storage.Search.ContentIndexerQuery Windows.Storage.Search.ContentIndexer::CreateQuery(System.String,Windows.Foundation.Collections.IIterable`1<System.String>,Windows.Foundation.Collections.IIterable`1<Windows.Storage.Search.SortEntry>,System.String)
|
|
50
|
+
def create_query_with_sort_order_and_language(self, search_filter: str, properties_to_retrieve: typing.Iterable[str], sort_order: typing.Iterable[SortEntry], search_filter_language: str, /) -> ContentIndexerQuery: ...
|
|
51
|
+
# Windows.Foundation.IAsyncAction Windows.Storage.Search.ContentIndexer::DeleteAllAsync()
|
|
52
|
+
def delete_all_async(self) -> windows_foundation.IAsyncAction: ...
|
|
53
|
+
# Windows.Foundation.IAsyncAction Windows.Storage.Search.ContentIndexer::DeleteAsync(System.String)
|
|
54
|
+
def delete_async(self, content_id: str, /) -> windows_foundation.IAsyncAction: ...
|
|
55
|
+
# Windows.Foundation.IAsyncAction Windows.Storage.Search.ContentIndexer::DeleteMultipleAsync(Windows.Foundation.Collections.IIterable`1<System.String>)
|
|
56
|
+
def delete_multiple_async(self, content_ids: typing.Iterable[str], /) -> windows_foundation.IAsyncAction: ...
|
|
57
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Foundation.Collections.IMapView`2<System.String,System.Object>> Windows.Storage.Search.ContentIndexer::RetrievePropertiesAsync(System.String,Windows.Foundation.Collections.IIterable`1<System.String>)
|
|
58
|
+
def retrieve_properties_async(self, content_id: str, properties_to_retrieve: typing.Iterable[str], /) -> windows_foundation.IAsyncOperation[typing.Mapping[str, winrt.system.Object]]: ...
|
|
59
|
+
# Windows.Foundation.IAsyncAction Windows.Storage.Search.ContentIndexer::UpdateAsync(Windows.Storage.Search.IIndexableContent)
|
|
60
|
+
def update_async(self, indexable_content: IIndexableContent, /) -> windows_foundation.IAsyncAction: ...
|
|
61
|
+
# System.UInt64 Windows.Storage.Search.ContentIndexer::get_Revision()
|
|
62
|
+
@_property
|
|
63
|
+
def revision(self) -> winrt.system.UInt64: ...
|
|
64
|
+
|
|
65
|
+
@typing.final
|
|
66
|
+
class ContentIndexerQuery(winrt.system.Object):
|
|
67
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Foundation.Collections.IVectorView`1<Windows.Storage.Search.IIndexableContent>> Windows.Storage.Search.ContentIndexerQuery::GetAsync()
|
|
68
|
+
def get_async(self) -> windows_foundation.IAsyncOperation[typing.Sequence[IIndexableContent]]: ...
|
|
69
|
+
# Windows.Foundation.IAsyncOperation`1<System.UInt32> Windows.Storage.Search.ContentIndexerQuery::GetCountAsync()
|
|
70
|
+
def get_count_async(self) -> windows_foundation.IAsyncOperation[winrt.system.UInt32]: ...
|
|
71
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Foundation.Collections.IVectorView`1<Windows.Foundation.Collections.IMapView`2<System.String,System.Object>>> Windows.Storage.Search.ContentIndexerQuery::GetPropertiesAsync()
|
|
72
|
+
def get_properties_async(self) -> windows_foundation.IAsyncOperation[typing.Sequence[typing.Mapping[str, winrt.system.Object]]]: ...
|
|
73
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Foundation.Collections.IVectorView`1<Windows.Foundation.Collections.IMapView`2<System.String,System.Object>>> Windows.Storage.Search.ContentIndexerQuery::GetPropertiesAsync(System.UInt32,System.UInt32)
|
|
74
|
+
def get_properties_range_async(self, start_index: winrt.system.UInt32, max_items: winrt.system.UInt32, /) -> windows_foundation.IAsyncOperation[typing.Sequence[typing.Mapping[str, winrt.system.Object]]]: ...
|
|
75
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Foundation.Collections.IVectorView`1<Windows.Storage.Search.IIndexableContent>> Windows.Storage.Search.ContentIndexerQuery::GetAsync(System.UInt32,System.UInt32)
|
|
76
|
+
def get_range_async(self, start_index: winrt.system.UInt32, max_items: winrt.system.UInt32, /) -> windows_foundation.IAsyncOperation[typing.Sequence[IIndexableContent]]: ...
|
|
77
|
+
# Windows.Storage.StorageFolder Windows.Storage.Search.ContentIndexerQuery::get_QueryFolder()
|
|
78
|
+
@_property
|
|
79
|
+
def query_folder(self) -> windows_storage.StorageFolder: ...
|
|
80
|
+
|
|
81
|
+
@typing.final
|
|
82
|
+
class IndexableContent(winrt.system.Object, IIndexableContent):
|
|
83
|
+
def __new__(cls: typing.Type[Self]) -> Self: ...
|
|
84
|
+
# System.String Windows.Storage.Search.IndexableContent::get_StreamContentType()
|
|
85
|
+
@_property
|
|
86
|
+
def stream_content_type(self) -> str: ...
|
|
87
|
+
# System.Void Windows.Storage.Search.IndexableContent::put_StreamContentType(System.String)
|
|
88
|
+
@stream_content_type.setter
|
|
89
|
+
def stream_content_type(self, value: str) -> None: ...
|
|
90
|
+
# Windows.Storage.Streams.IRandomAccessStream Windows.Storage.Search.IndexableContent::get_Stream()
|
|
91
|
+
@_property
|
|
92
|
+
def stream(self) -> windows_storage_streams.IRandomAccessStream: ...
|
|
93
|
+
# System.Void Windows.Storage.Search.IndexableContent::put_Stream(Windows.Storage.Streams.IRandomAccessStream)
|
|
94
|
+
@stream.setter
|
|
95
|
+
def stream(self, value: windows_storage_streams.IRandomAccessStream) -> None: ...
|
|
96
|
+
# System.String Windows.Storage.Search.IndexableContent::get_Id()
|
|
97
|
+
@_property
|
|
98
|
+
def id(self) -> str: ...
|
|
99
|
+
# System.Void Windows.Storage.Search.IndexableContent::put_Id(System.String)
|
|
100
|
+
@id.setter
|
|
101
|
+
def id(self, value: str) -> None: ...
|
|
102
|
+
# Windows.Foundation.Collections.IMap`2<System.String,System.Object> Windows.Storage.Search.IndexableContent::get_Properties()
|
|
103
|
+
@_property
|
|
104
|
+
def properties(self) -> typing.MutableMapping[str, winrt.system.Object]: ...
|
|
105
|
+
|
|
106
|
+
@typing.final
|
|
107
|
+
class QueryOptions(winrt.system.Object):
|
|
108
|
+
@typing.overload
|
|
109
|
+
def __new__(cls: typing.Type[Self], query: CommonFileQuery, file_type_filter: typing.Iterable[str]) -> Self: ...
|
|
110
|
+
@typing.overload
|
|
111
|
+
def __new__(cls: typing.Type[Self], query: CommonFolderQuery) -> Self: ...
|
|
112
|
+
@typing.overload
|
|
113
|
+
def __new__(cls: typing.Type[Self]) -> Self: ...
|
|
114
|
+
# System.Void Windows.Storage.Search.QueryOptions::LoadFromString(System.String)
|
|
115
|
+
def load_from_string(self, value: str, /) -> None: ...
|
|
116
|
+
# System.String Windows.Storage.Search.QueryOptions::SaveToString()
|
|
117
|
+
def save_to_string(self) -> str: ...
|
|
118
|
+
# System.Void Windows.Storage.Search.QueryOptions::SetPropertyPrefetch(Windows.Storage.FileProperties.PropertyPrefetchOptions,Windows.Foundation.Collections.IIterable`1<System.String>)
|
|
119
|
+
def set_property_prefetch(self, options: windows_storage_fileproperties.PropertyPrefetchOptions, properties_to_retrieve: typing.Iterable[str], /) -> None: ...
|
|
120
|
+
# System.Void Windows.Storage.Search.QueryOptions::SetThumbnailPrefetch(Windows.Storage.FileProperties.ThumbnailMode,System.UInt32,Windows.Storage.FileProperties.ThumbnailOptions)
|
|
121
|
+
def set_thumbnail_prefetch(self, mode: windows_storage_fileproperties.ThumbnailMode, requested_size: winrt.system.UInt32, options: windows_storage_fileproperties.ThumbnailOptions, /) -> None: ...
|
|
122
|
+
# System.String Windows.Storage.Search.QueryOptions::get_UserSearchFilter()
|
|
123
|
+
@_property
|
|
124
|
+
def user_search_filter(self) -> str: ...
|
|
125
|
+
# System.Void Windows.Storage.Search.QueryOptions::put_UserSearchFilter(System.String)
|
|
126
|
+
@user_search_filter.setter
|
|
127
|
+
def user_search_filter(self, value: str) -> None: ...
|
|
128
|
+
# System.String Windows.Storage.Search.QueryOptions::get_Language()
|
|
129
|
+
@_property
|
|
130
|
+
def language(self) -> str: ...
|
|
131
|
+
# System.Void Windows.Storage.Search.QueryOptions::put_Language(System.String)
|
|
132
|
+
@language.setter
|
|
133
|
+
def language(self, value: str) -> None: ...
|
|
134
|
+
# Windows.Storage.Search.IndexerOption Windows.Storage.Search.QueryOptions::get_IndexerOption()
|
|
135
|
+
@_property
|
|
136
|
+
def indexer_option(self) -> IndexerOption: ...
|
|
137
|
+
# System.Void Windows.Storage.Search.QueryOptions::put_IndexerOption(Windows.Storage.Search.IndexerOption)
|
|
138
|
+
@indexer_option.setter
|
|
139
|
+
def indexer_option(self, value: IndexerOption) -> None: ...
|
|
140
|
+
# Windows.Storage.Search.FolderDepth Windows.Storage.Search.QueryOptions::get_FolderDepth()
|
|
141
|
+
@_property
|
|
142
|
+
def folder_depth(self) -> FolderDepth: ...
|
|
143
|
+
# System.Void Windows.Storage.Search.QueryOptions::put_FolderDepth(Windows.Storage.Search.FolderDepth)
|
|
144
|
+
@folder_depth.setter
|
|
145
|
+
def folder_depth(self, value: FolderDepth) -> None: ...
|
|
146
|
+
# System.String Windows.Storage.Search.QueryOptions::get_ApplicationSearchFilter()
|
|
147
|
+
@_property
|
|
148
|
+
def application_search_filter(self) -> str: ...
|
|
149
|
+
# System.Void Windows.Storage.Search.QueryOptions::put_ApplicationSearchFilter(System.String)
|
|
150
|
+
@application_search_filter.setter
|
|
151
|
+
def application_search_filter(self, value: str) -> None: ...
|
|
152
|
+
# Windows.Storage.Search.DateStackOption Windows.Storage.Search.QueryOptions::get_DateStackOption()
|
|
153
|
+
@_property
|
|
154
|
+
def date_stack_option(self) -> DateStackOption: ...
|
|
155
|
+
# Windows.Foundation.Collections.IVector`1<System.String> Windows.Storage.Search.QueryOptions::get_FileTypeFilter()
|
|
156
|
+
@_property
|
|
157
|
+
def file_type_filter(self) -> typing.MutableSequence[str]: ...
|
|
158
|
+
# System.String Windows.Storage.Search.QueryOptions::get_GroupPropertyName()
|
|
159
|
+
@_property
|
|
160
|
+
def group_property_name(self) -> str: ...
|
|
161
|
+
# Windows.Foundation.Collections.IVector`1<Windows.Storage.Search.SortEntry> Windows.Storage.Search.QueryOptions::get_SortOrder()
|
|
162
|
+
@_property
|
|
163
|
+
def sort_order(self) -> typing.MutableSequence[SortEntry]: ...
|
|
164
|
+
# Windows.Foundation.Collections.IVector`1<System.String> Windows.Storage.Search.QueryOptions::get_StorageProviderIdFilter()
|
|
165
|
+
@_property
|
|
166
|
+
def storage_provider_id_filter(self) -> typing.MutableSequence[str]: ...
|
|
167
|
+
|
|
168
|
+
@typing.final
|
|
169
|
+
class SortEntryVector(winrt.system.Object, winrt._winrt.MutableSequence[SortEntry]):
|
|
170
|
+
def __len__(self) -> int: ...
|
|
171
|
+
def __iter__(self) -> typing.Iterator[SortEntry]: ...
|
|
172
|
+
@typing.overload
|
|
173
|
+
def __getitem__(self, index: typing.SupportsIndex) -> SortEntry: ...
|
|
174
|
+
@typing.overload
|
|
175
|
+
def __getitem__(self, index: slice) -> winrt.system.Array[SortEntry]: ...
|
|
176
|
+
@typing.overload
|
|
177
|
+
def __delitem__(self, index: typing.SupportsIndex) -> None: ...
|
|
178
|
+
@typing.overload
|
|
179
|
+
def __delitem__(self, index: slice) -> None: ...
|
|
180
|
+
@typing.overload
|
|
181
|
+
def __setitem__(self, index: typing.SupportsIndex, value: typing.Union[SortEntry, typing.Tuple[str, bool]]) -> None: ...
|
|
182
|
+
@typing.overload
|
|
183
|
+
def __setitem__(self, index: slice, value: typing.Iterable[typing.Union[SortEntry, typing.Tuple[str, bool]]]) -> None: ...
|
|
184
|
+
# System.Void Windows.Storage.Search.SortEntryVector::Append(Windows.Storage.Search.SortEntry)
|
|
185
|
+
def append(self, value: typing.Union[SortEntry, typing.Tuple[str, bool]], /) -> None: ...
|
|
186
|
+
# System.Void Windows.Storage.Search.SortEntryVector::Clear()
|
|
187
|
+
def clear(self) -> None: ...
|
|
188
|
+
# Windows.Foundation.Collections.IIterator`1<Windows.Storage.Search.SortEntry> Windows.Storage.Search.SortEntryVector::First()
|
|
189
|
+
def first(self) -> windows_foundation_collections.IIterator[SortEntry]: ...
|
|
190
|
+
# Windows.Storage.Search.SortEntry Windows.Storage.Search.SortEntryVector::GetAt(System.UInt32)
|
|
191
|
+
def get_at(self, index: winrt.system.UInt32, /) -> SortEntry: ...
|
|
192
|
+
# System.UInt32 Windows.Storage.Search.SortEntryVector::GetMany(System.UInt32,Windows.Storage.Search.SortEntry[])
|
|
193
|
+
def get_many(self, start_index: winrt.system.UInt32, items: typing.Union[winrt.system.Array[SortEntry], winrt.system.WriteableBuffer], /) -> winrt.system.UInt32: ...
|
|
194
|
+
# Windows.Foundation.Collections.IVectorView`1<Windows.Storage.Search.SortEntry> Windows.Storage.Search.SortEntryVector::GetView()
|
|
195
|
+
def get_view(self) -> typing.Sequence[SortEntry]: ...
|
|
196
|
+
# System.Boolean Windows.Storage.Search.SortEntryVector::IndexOf(Windows.Storage.Search.SortEntry,System.UInt32&)
|
|
197
|
+
def index_of(self, value: typing.Union[SortEntry, typing.Tuple[str, bool]], /) -> typing.Tuple[bool, winrt.system.UInt32]: ...
|
|
198
|
+
# System.Void Windows.Storage.Search.SortEntryVector::InsertAt(System.UInt32,Windows.Storage.Search.SortEntry)
|
|
199
|
+
def insert_at(self, index: winrt.system.UInt32, value: typing.Union[SortEntry, typing.Tuple[str, bool]], /) -> None: ...
|
|
200
|
+
# System.Void Windows.Storage.Search.SortEntryVector::RemoveAt(System.UInt32)
|
|
201
|
+
def remove_at(self, index: winrt.system.UInt32, /) -> None: ...
|
|
202
|
+
# System.Void Windows.Storage.Search.SortEntryVector::RemoveAtEnd()
|
|
203
|
+
def remove_at_end(self) -> None: ...
|
|
204
|
+
# System.Void Windows.Storage.Search.SortEntryVector::ReplaceAll(Windows.Storage.Search.SortEntry[])
|
|
205
|
+
def replace_all(self, items: typing.Union[winrt.system.Array[SortEntry], winrt.system.ReadableBuffer], /) -> None: ...
|
|
206
|
+
# System.Void Windows.Storage.Search.SortEntryVector::SetAt(System.UInt32,Windows.Storage.Search.SortEntry)
|
|
207
|
+
def set_at(self, index: winrt.system.UInt32, value: typing.Union[SortEntry, typing.Tuple[str, bool]], /) -> None: ...
|
|
208
|
+
# System.UInt32 Windows.Storage.Search.SortEntryVector::get_Size()
|
|
209
|
+
@_property
|
|
210
|
+
def size(self) -> winrt.system.UInt32: ...
|
|
211
|
+
|
|
212
|
+
@typing.final
|
|
213
|
+
class StorageFileQueryResult(winrt.system.Object, IStorageQueryResultBase):
|
|
214
|
+
# System.Void Windows.Storage.Search.StorageFileQueryResult::ApplyNewQueryOptions(Windows.Storage.Search.QueryOptions)
|
|
215
|
+
def apply_new_query_options(self, new_query_options: QueryOptions, /) -> None: ...
|
|
216
|
+
# Windows.Foundation.IAsyncOperation`1<System.UInt32> Windows.Storage.Search.StorageFileQueryResult::FindStartIndexAsync(System.Object)
|
|
217
|
+
def find_start_index_async(self, value: winrt.system.Object, /) -> windows_foundation.IAsyncOperation[winrt.system.UInt32]: ...
|
|
218
|
+
# Windows.Storage.Search.QueryOptions Windows.Storage.Search.StorageFileQueryResult::GetCurrentQueryOptions()
|
|
219
|
+
def get_current_query_options(self) -> QueryOptions: ...
|
|
220
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Foundation.Collections.IVectorView`1<Windows.Storage.StorageFile>> Windows.Storage.Search.StorageFileQueryResult::GetFilesAsync(System.UInt32,System.UInt32)
|
|
221
|
+
def get_files_async(self, start_index: winrt.system.UInt32, max_number_of_items: winrt.system.UInt32, /) -> windows_foundation.IAsyncOperation[typing.Sequence[windows_storage.StorageFile]]: ...
|
|
222
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Foundation.Collections.IVectorView`1<Windows.Storage.StorageFile>> Windows.Storage.Search.StorageFileQueryResult::GetFilesAsync()
|
|
223
|
+
def get_files_async_default_start_and_count(self) -> windows_foundation.IAsyncOperation[typing.Sequence[windows_storage.StorageFile]]: ...
|
|
224
|
+
# Windows.Foundation.IAsyncOperation`1<System.UInt32> Windows.Storage.Search.StorageFileQueryResult::GetItemCountAsync()
|
|
225
|
+
def get_item_count_async(self) -> windows_foundation.IAsyncOperation[winrt.system.UInt32]: ...
|
|
226
|
+
# Windows.Foundation.Collections.IMap`2<System.String,Windows.Foundation.Collections.IVectorView`1<Windows.Data.Text.TextSegment>> Windows.Storage.Search.StorageFileQueryResult::GetMatchingPropertiesWithRanges(Windows.Storage.StorageFile)
|
|
227
|
+
def get_matching_properties_with_ranges(self, file: windows_storage.StorageFile, /) -> typing.MutableMapping[str, typing.Sequence[windows_data_text.TextSegment]]: ...
|
|
228
|
+
# Windows.Foundation.EventRegistrationToken Windows.Storage.Search.StorageFileQueryResult::add_ContentsChanged(Windows.Foundation.TypedEventHandler`2<Windows.Storage.Search.IStorageQueryResultBase,System.Object>)
|
|
229
|
+
def add_contents_changed(self, handler: windows_foundation.TypedEventHandler[IStorageQueryResultBase, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
|
|
230
|
+
# System.Void Windows.Storage.Search.StorageFileQueryResult::remove_ContentsChanged(Windows.Foundation.EventRegistrationToken)
|
|
231
|
+
def remove_contents_changed(self, event_cookie: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
|
|
232
|
+
# Windows.Foundation.EventRegistrationToken Windows.Storage.Search.StorageFileQueryResult::add_OptionsChanged(Windows.Foundation.TypedEventHandler`2<Windows.Storage.Search.IStorageQueryResultBase,System.Object>)
|
|
233
|
+
def add_options_changed(self, changed_handler: windows_foundation.TypedEventHandler[IStorageQueryResultBase, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
|
|
234
|
+
# System.Void Windows.Storage.Search.StorageFileQueryResult::remove_OptionsChanged(Windows.Foundation.EventRegistrationToken)
|
|
235
|
+
def remove_options_changed(self, event_cookie: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
|
|
236
|
+
# Windows.Storage.StorageFolder Windows.Storage.Search.StorageFileQueryResult::get_Folder()
|
|
237
|
+
@_property
|
|
238
|
+
def folder(self) -> windows_storage.StorageFolder: ...
|
|
239
|
+
|
|
240
|
+
@typing.final
|
|
241
|
+
class StorageFolderQueryResult(winrt.system.Object, IStorageQueryResultBase):
|
|
242
|
+
# System.Void Windows.Storage.Search.StorageFolderQueryResult::ApplyNewQueryOptions(Windows.Storage.Search.QueryOptions)
|
|
243
|
+
def apply_new_query_options(self, new_query_options: QueryOptions, /) -> None: ...
|
|
244
|
+
# Windows.Foundation.IAsyncOperation`1<System.UInt32> Windows.Storage.Search.StorageFolderQueryResult::FindStartIndexAsync(System.Object)
|
|
245
|
+
def find_start_index_async(self, value: winrt.system.Object, /) -> windows_foundation.IAsyncOperation[winrt.system.UInt32]: ...
|
|
246
|
+
# Windows.Storage.Search.QueryOptions Windows.Storage.Search.StorageFolderQueryResult::GetCurrentQueryOptions()
|
|
247
|
+
def get_current_query_options(self) -> QueryOptions: ...
|
|
248
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Foundation.Collections.IVectorView`1<Windows.Storage.StorageFolder>> Windows.Storage.Search.StorageFolderQueryResult::GetFoldersAsync(System.UInt32,System.UInt32)
|
|
249
|
+
def get_folders_async(self, start_index: winrt.system.UInt32, max_number_of_items: winrt.system.UInt32, /) -> windows_foundation.IAsyncOperation[typing.Sequence[windows_storage.StorageFolder]]: ...
|
|
250
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Foundation.Collections.IVectorView`1<Windows.Storage.StorageFolder>> Windows.Storage.Search.StorageFolderQueryResult::GetFoldersAsync()
|
|
251
|
+
def get_folders_async_default_start_and_count(self) -> windows_foundation.IAsyncOperation[typing.Sequence[windows_storage.StorageFolder]]: ...
|
|
252
|
+
# Windows.Foundation.IAsyncOperation`1<System.UInt32> Windows.Storage.Search.StorageFolderQueryResult::GetItemCountAsync()
|
|
253
|
+
def get_item_count_async(self) -> windows_foundation.IAsyncOperation[winrt.system.UInt32]: ...
|
|
254
|
+
# Windows.Foundation.EventRegistrationToken Windows.Storage.Search.StorageFolderQueryResult::add_ContentsChanged(Windows.Foundation.TypedEventHandler`2<Windows.Storage.Search.IStorageQueryResultBase,System.Object>)
|
|
255
|
+
def add_contents_changed(self, handler: windows_foundation.TypedEventHandler[IStorageQueryResultBase, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
|
|
256
|
+
# System.Void Windows.Storage.Search.StorageFolderQueryResult::remove_ContentsChanged(Windows.Foundation.EventRegistrationToken)
|
|
257
|
+
def remove_contents_changed(self, event_cookie: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
|
|
258
|
+
# Windows.Foundation.EventRegistrationToken Windows.Storage.Search.StorageFolderQueryResult::add_OptionsChanged(Windows.Foundation.TypedEventHandler`2<Windows.Storage.Search.IStorageQueryResultBase,System.Object>)
|
|
259
|
+
def add_options_changed(self, changed_handler: windows_foundation.TypedEventHandler[IStorageQueryResultBase, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
|
|
260
|
+
# System.Void Windows.Storage.Search.StorageFolderQueryResult::remove_OptionsChanged(Windows.Foundation.EventRegistrationToken)
|
|
261
|
+
def remove_options_changed(self, event_cookie: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
|
|
262
|
+
# Windows.Storage.StorageFolder Windows.Storage.Search.StorageFolderQueryResult::get_Folder()
|
|
263
|
+
@_property
|
|
264
|
+
def folder(self) -> windows_storage.StorageFolder: ...
|
|
265
|
+
|
|
266
|
+
@typing.final
|
|
267
|
+
class StorageItemQueryResult(winrt.system.Object, IStorageQueryResultBase):
|
|
268
|
+
# System.Void Windows.Storage.Search.StorageItemQueryResult::ApplyNewQueryOptions(Windows.Storage.Search.QueryOptions)
|
|
269
|
+
def apply_new_query_options(self, new_query_options: QueryOptions, /) -> None: ...
|
|
270
|
+
# Windows.Foundation.IAsyncOperation`1<System.UInt32> Windows.Storage.Search.StorageItemQueryResult::FindStartIndexAsync(System.Object)
|
|
271
|
+
def find_start_index_async(self, value: winrt.system.Object, /) -> windows_foundation.IAsyncOperation[winrt.system.UInt32]: ...
|
|
272
|
+
# Windows.Storage.Search.QueryOptions Windows.Storage.Search.StorageItemQueryResult::GetCurrentQueryOptions()
|
|
273
|
+
def get_current_query_options(self) -> QueryOptions: ...
|
|
274
|
+
# Windows.Foundation.IAsyncOperation`1<System.UInt32> Windows.Storage.Search.StorageItemQueryResult::GetItemCountAsync()
|
|
275
|
+
def get_item_count_async(self) -> windows_foundation.IAsyncOperation[winrt.system.UInt32]: ...
|
|
276
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Foundation.Collections.IVectorView`1<Windows.Storage.IStorageItem>> Windows.Storage.Search.StorageItemQueryResult::GetItemsAsync(System.UInt32,System.UInt32)
|
|
277
|
+
def get_items_async(self, start_index: winrt.system.UInt32, max_number_of_items: winrt.system.UInt32, /) -> windows_foundation.IAsyncOperation[typing.Sequence[windows_storage.IStorageItem]]: ...
|
|
278
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Foundation.Collections.IVectorView`1<Windows.Storage.IStorageItem>> Windows.Storage.Search.StorageItemQueryResult::GetItemsAsync()
|
|
279
|
+
def get_items_async_default_start_and_count(self) -> windows_foundation.IAsyncOperation[typing.Sequence[windows_storage.IStorageItem]]: ...
|
|
280
|
+
# Windows.Foundation.EventRegistrationToken Windows.Storage.Search.StorageItemQueryResult::add_ContentsChanged(Windows.Foundation.TypedEventHandler`2<Windows.Storage.Search.IStorageQueryResultBase,System.Object>)
|
|
281
|
+
def add_contents_changed(self, handler: windows_foundation.TypedEventHandler[IStorageQueryResultBase, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
|
|
282
|
+
# System.Void Windows.Storage.Search.StorageItemQueryResult::remove_ContentsChanged(Windows.Foundation.EventRegistrationToken)
|
|
283
|
+
def remove_contents_changed(self, event_cookie: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
|
|
284
|
+
# Windows.Foundation.EventRegistrationToken Windows.Storage.Search.StorageItemQueryResult::add_OptionsChanged(Windows.Foundation.TypedEventHandler`2<Windows.Storage.Search.IStorageQueryResultBase,System.Object>)
|
|
285
|
+
def add_options_changed(self, changed_handler: windows_foundation.TypedEventHandler[IStorageQueryResultBase, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
|
|
286
|
+
# System.Void Windows.Storage.Search.StorageItemQueryResult::remove_OptionsChanged(Windows.Foundation.EventRegistrationToken)
|
|
287
|
+
def remove_options_changed(self, event_cookie: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
|
|
288
|
+
# Windows.Storage.StorageFolder Windows.Storage.Search.StorageItemQueryResult::get_Folder()
|
|
289
|
+
@_property
|
|
290
|
+
def folder(self) -> windows_storage.StorageFolder: ...
|
|
291
|
+
|
|
292
|
+
@typing.final
|
|
293
|
+
class StorageLibraryChangeTrackerTriggerDetails(winrt.system.Object):
|
|
294
|
+
# Windows.Storage.StorageLibraryChangeTracker Windows.Storage.Search.StorageLibraryChangeTrackerTriggerDetails::get_ChangeTracker()
|
|
295
|
+
@_property
|
|
296
|
+
def change_tracker(self) -> windows_storage.StorageLibraryChangeTracker: ...
|
|
297
|
+
# Windows.Storage.StorageFolder Windows.Storage.Search.StorageLibraryChangeTrackerTriggerDetails::get_Folder()
|
|
298
|
+
@_property
|
|
299
|
+
def folder(self) -> windows_storage.StorageFolder: ...
|
|
300
|
+
|
|
301
|
+
@typing.final
|
|
302
|
+
class StorageLibraryContentChangedTriggerDetails(winrt.system.Object):
|
|
303
|
+
# Windows.Storage.Search.StorageItemQueryResult Windows.Storage.Search.StorageLibraryContentChangedTriggerDetails::CreateModifiedSinceQuery(Windows.Foundation.DateTime)
|
|
304
|
+
def create_modified_since_query(self, last_query_time: datetime.datetime, /) -> StorageItemQueryResult: ...
|
|
305
|
+
# Windows.Storage.StorageFolder Windows.Storage.Search.StorageLibraryContentChangedTriggerDetails::get_Folder()
|
|
306
|
+
@_property
|
|
307
|
+
def folder(self) -> windows_storage.StorageFolder: ...
|
|
308
|
+
|
|
309
|
+
@typing.final
|
|
310
|
+
class ValueAndLanguage(winrt.system.Object):
|
|
311
|
+
def __new__(cls: typing.Type[Self]) -> Self: ...
|
|
312
|
+
# System.Object Windows.Storage.Search.ValueAndLanguage::get_Value()
|
|
313
|
+
@_property
|
|
314
|
+
def value(self) -> winrt.system.Object: ...
|
|
315
|
+
# System.Void Windows.Storage.Search.ValueAndLanguage::put_Value(System.Object)
|
|
316
|
+
@value.setter
|
|
317
|
+
def value(self, value: winrt.system.Object) -> None: ...
|
|
318
|
+
# System.String Windows.Storage.Search.ValueAndLanguage::get_Language()
|
|
319
|
+
@_property
|
|
320
|
+
def language(self) -> str: ...
|
|
321
|
+
# System.Void Windows.Storage.Search.ValueAndLanguage::put_Language(System.String)
|
|
322
|
+
@language.setter
|
|
323
|
+
def language(self, value: str) -> None: ...
|
|
324
|
+
|
|
325
|
+
@typing.final
|
|
326
|
+
class _IIndexableContent: ...
|
|
327
|
+
|
|
328
|
+
class IIndexableContent(winrt._winrt.IInspectable):
|
|
329
|
+
# System.String Windows.Storage.Search.IIndexableContent::get_Id()
|
|
330
|
+
@_property
|
|
331
|
+
@abstractmethod
|
|
332
|
+
def id(self) -> str: ...
|
|
333
|
+
# System.Void Windows.Storage.Search.IIndexableContent::put_Id(System.String)
|
|
334
|
+
@id.setter
|
|
335
|
+
@abstractmethod
|
|
336
|
+
def id(self, value: str) -> None: ...
|
|
337
|
+
# Windows.Foundation.Collections.IMap`2<System.String,System.Object> Windows.Storage.Search.IIndexableContent::get_Properties()
|
|
338
|
+
@_property
|
|
339
|
+
@abstractmethod
|
|
340
|
+
def properties(self) -> typing.MutableMapping[str, winrt.system.Object]: ...
|
|
341
|
+
# Windows.Storage.Streams.IRandomAccessStream Windows.Storage.Search.IIndexableContent::get_Stream()
|
|
342
|
+
@_property
|
|
343
|
+
@abstractmethod
|
|
344
|
+
def stream(self) -> windows_storage_streams.IRandomAccessStream: ...
|
|
345
|
+
# System.Void Windows.Storage.Search.IIndexableContent::put_Stream(Windows.Storage.Streams.IRandomAccessStream)
|
|
346
|
+
@stream.setter
|
|
347
|
+
@abstractmethod
|
|
348
|
+
def stream(self, value: windows_storage_streams.IRandomAccessStream) -> None: ...
|
|
349
|
+
# System.String Windows.Storage.Search.IIndexableContent::get_StreamContentType()
|
|
350
|
+
@_property
|
|
351
|
+
@abstractmethod
|
|
352
|
+
def stream_content_type(self) -> str: ...
|
|
353
|
+
# System.Void Windows.Storage.Search.IIndexableContent::put_StreamContentType(System.String)
|
|
354
|
+
@stream_content_type.setter
|
|
355
|
+
@abstractmethod
|
|
356
|
+
def stream_content_type(self, value: str) -> None: ...
|
|
357
|
+
|
|
358
|
+
@typing.final
|
|
359
|
+
class _IStorageFolderQueryOperations: ...
|
|
360
|
+
|
|
361
|
+
class IStorageFolderQueryOperations(winrt._winrt.IInspectable):
|
|
362
|
+
# System.Boolean Windows.Storage.Search.IStorageFolderQueryOperations::AreQueryOptionsSupported(Windows.Storage.Search.QueryOptions)
|
|
363
|
+
@abstractmethod
|
|
364
|
+
def are_query_options_supported(self, query_options: QueryOptions, /) -> bool: ...
|
|
365
|
+
# Windows.Storage.Search.StorageFileQueryResult Windows.Storage.Search.IStorageFolderQueryOperations::CreateFileQuery(Windows.Storage.Search.CommonFileQuery)
|
|
366
|
+
@abstractmethod
|
|
367
|
+
def create_file_query(self, query: CommonFileQuery, /) -> StorageFileQueryResult: ...
|
|
368
|
+
# Windows.Storage.Search.StorageFileQueryResult Windows.Storage.Search.IStorageFolderQueryOperations::CreateFileQuery()
|
|
369
|
+
@abstractmethod
|
|
370
|
+
def create_file_query_overload_default(self) -> StorageFileQueryResult: ...
|
|
371
|
+
# Windows.Storage.Search.StorageFileQueryResult Windows.Storage.Search.IStorageFolderQueryOperations::CreateFileQueryWithOptions(Windows.Storage.Search.QueryOptions)
|
|
372
|
+
@abstractmethod
|
|
373
|
+
def create_file_query_with_options(self, query_options: QueryOptions, /) -> StorageFileQueryResult: ...
|
|
374
|
+
# Windows.Storage.Search.StorageFolderQueryResult Windows.Storage.Search.IStorageFolderQueryOperations::CreateFolderQuery(Windows.Storage.Search.CommonFolderQuery)
|
|
375
|
+
@abstractmethod
|
|
376
|
+
def create_folder_query(self, query: CommonFolderQuery, /) -> StorageFolderQueryResult: ...
|
|
377
|
+
# Windows.Storage.Search.StorageFolderQueryResult Windows.Storage.Search.IStorageFolderQueryOperations::CreateFolderQuery()
|
|
378
|
+
@abstractmethod
|
|
379
|
+
def create_folder_query_overload_default(self) -> StorageFolderQueryResult: ...
|
|
380
|
+
# Windows.Storage.Search.StorageFolderQueryResult Windows.Storage.Search.IStorageFolderQueryOperations::CreateFolderQueryWithOptions(Windows.Storage.Search.QueryOptions)
|
|
381
|
+
@abstractmethod
|
|
382
|
+
def create_folder_query_with_options(self, query_options: QueryOptions, /) -> StorageFolderQueryResult: ...
|
|
383
|
+
# Windows.Storage.Search.StorageItemQueryResult Windows.Storage.Search.IStorageFolderQueryOperations::CreateItemQuery()
|
|
384
|
+
@abstractmethod
|
|
385
|
+
def create_item_query(self) -> StorageItemQueryResult: ...
|
|
386
|
+
# Windows.Storage.Search.StorageItemQueryResult Windows.Storage.Search.IStorageFolderQueryOperations::CreateItemQueryWithOptions(Windows.Storage.Search.QueryOptions)
|
|
387
|
+
@abstractmethod
|
|
388
|
+
def create_item_query_with_options(self, query_options: QueryOptions, /) -> StorageItemQueryResult: ...
|
|
389
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Foundation.Collections.IVectorView`1<Windows.Storage.StorageFile>> Windows.Storage.Search.IStorageFolderQueryOperations::GetFilesAsync(Windows.Storage.Search.CommonFileQuery,System.UInt32,System.UInt32)
|
|
390
|
+
@abstractmethod
|
|
391
|
+
def get_files_async(self, query: CommonFileQuery, start_index: winrt.system.UInt32, max_items_to_retrieve: winrt.system.UInt32, /) -> windows_foundation.IAsyncOperation[typing.Sequence[windows_storage.StorageFile]]: ...
|
|
392
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Foundation.Collections.IVectorView`1<Windows.Storage.StorageFile>> Windows.Storage.Search.IStorageFolderQueryOperations::GetFilesAsync(Windows.Storage.Search.CommonFileQuery)
|
|
393
|
+
@abstractmethod
|
|
394
|
+
def get_files_async_overload_default_start_and_count(self, query: CommonFileQuery, /) -> windows_foundation.IAsyncOperation[typing.Sequence[windows_storage.StorageFile]]: ...
|
|
395
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Foundation.Collections.IVectorView`1<Windows.Storage.StorageFolder>> Windows.Storage.Search.IStorageFolderQueryOperations::GetFoldersAsync(Windows.Storage.Search.CommonFolderQuery,System.UInt32,System.UInt32)
|
|
396
|
+
@abstractmethod
|
|
397
|
+
def get_folders_async(self, query: CommonFolderQuery, start_index: winrt.system.UInt32, max_items_to_retrieve: winrt.system.UInt32, /) -> windows_foundation.IAsyncOperation[typing.Sequence[windows_storage.StorageFolder]]: ...
|
|
398
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Foundation.Collections.IVectorView`1<Windows.Storage.StorageFolder>> Windows.Storage.Search.IStorageFolderQueryOperations::GetFoldersAsync(Windows.Storage.Search.CommonFolderQuery)
|
|
399
|
+
@abstractmethod
|
|
400
|
+
def get_folders_async_overload_default_start_and_count(self, query: CommonFolderQuery, /) -> windows_foundation.IAsyncOperation[typing.Sequence[windows_storage.StorageFolder]]: ...
|
|
401
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Storage.Search.IndexedState> Windows.Storage.Search.IStorageFolderQueryOperations::GetIndexedStateAsync()
|
|
402
|
+
@abstractmethod
|
|
403
|
+
def get_indexed_state_async(self) -> windows_foundation.IAsyncOperation[IndexedState]: ...
|
|
404
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Foundation.Collections.IVectorView`1<Windows.Storage.IStorageItem>> Windows.Storage.Search.IStorageFolderQueryOperations::GetItemsAsync(System.UInt32,System.UInt32)
|
|
405
|
+
@abstractmethod
|
|
406
|
+
def get_items_async(self, start_index: winrt.system.UInt32, max_items_to_retrieve: winrt.system.UInt32, /) -> windows_foundation.IAsyncOperation[typing.Sequence[windows_storage.IStorageItem]]: ...
|
|
407
|
+
# System.Boolean Windows.Storage.Search.IStorageFolderQueryOperations::IsCommonFileQuerySupported(Windows.Storage.Search.CommonFileQuery)
|
|
408
|
+
@abstractmethod
|
|
409
|
+
def is_common_file_query_supported(self, query: CommonFileQuery, /) -> bool: ...
|
|
410
|
+
# System.Boolean Windows.Storage.Search.IStorageFolderQueryOperations::IsCommonFolderQuerySupported(Windows.Storage.Search.CommonFolderQuery)
|
|
411
|
+
@abstractmethod
|
|
412
|
+
def is_common_folder_query_supported(self, query: CommonFolderQuery, /) -> bool: ...
|
|
413
|
+
|
|
414
|
+
@typing.final
|
|
415
|
+
class _IStorageQueryResultBase: ...
|
|
416
|
+
|
|
417
|
+
class IStorageQueryResultBase(winrt._winrt.IInspectable):
|
|
418
|
+
# System.Void Windows.Storage.Search.IStorageQueryResultBase::ApplyNewQueryOptions(Windows.Storage.Search.QueryOptions)
|
|
419
|
+
@abstractmethod
|
|
420
|
+
def apply_new_query_options(self, new_query_options: QueryOptions, /) -> None: ...
|
|
421
|
+
# Windows.Foundation.IAsyncOperation`1<System.UInt32> Windows.Storage.Search.IStorageQueryResultBase::FindStartIndexAsync(System.Object)
|
|
422
|
+
@abstractmethod
|
|
423
|
+
def find_start_index_async(self, value: winrt.system.Object, /) -> windows_foundation.IAsyncOperation[winrt.system.UInt32]: ...
|
|
424
|
+
# Windows.Storage.Search.QueryOptions Windows.Storage.Search.IStorageQueryResultBase::GetCurrentQueryOptions()
|
|
425
|
+
@abstractmethod
|
|
426
|
+
def get_current_query_options(self) -> QueryOptions: ...
|
|
427
|
+
# Windows.Foundation.IAsyncOperation`1<System.UInt32> Windows.Storage.Search.IStorageQueryResultBase::GetItemCountAsync()
|
|
428
|
+
@abstractmethod
|
|
429
|
+
def get_item_count_async(self) -> windows_foundation.IAsyncOperation[winrt.system.UInt32]: ...
|
|
430
|
+
# Windows.Foundation.EventRegistrationToken Windows.Storage.Search.IStorageQueryResultBase::add_ContentsChanged(Windows.Foundation.TypedEventHandler`2<Windows.Storage.Search.IStorageQueryResultBase,System.Object>)
|
|
431
|
+
@abstractmethod
|
|
432
|
+
def add_contents_changed(self, handler: windows_foundation.TypedEventHandler[IStorageQueryResultBase, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
|
|
433
|
+
# System.Void Windows.Storage.Search.IStorageQueryResultBase::remove_ContentsChanged(Windows.Foundation.EventRegistrationToken)
|
|
434
|
+
@abstractmethod
|
|
435
|
+
def remove_contents_changed(self, event_cookie: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
|
|
436
|
+
# Windows.Foundation.EventRegistrationToken Windows.Storage.Search.IStorageQueryResultBase::add_OptionsChanged(Windows.Foundation.TypedEventHandler`2<Windows.Storage.Search.IStorageQueryResultBase,System.Object>)
|
|
437
|
+
@abstractmethod
|
|
438
|
+
def add_options_changed(self, changed_handler: windows_foundation.TypedEventHandler[IStorageQueryResultBase, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
|
|
439
|
+
# System.Void Windows.Storage.Search.IStorageQueryResultBase::remove_OptionsChanged(Windows.Foundation.EventRegistrationToken)
|
|
440
|
+
@abstractmethod
|
|
441
|
+
def remove_options_changed(self, event_cookie: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
|
|
442
|
+
# Windows.Storage.StorageFolder Windows.Storage.Search.IStorageQueryResultBase::get_Folder()
|
|
443
|
+
@_property
|
|
444
|
+
@abstractmethod
|
|
445
|
+
def folder(self) -> windows_storage.StorageFolder: ...
|
|
446
|
+
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v3.2.1
|
|
2
|
+
|
|
3
|
+
import enum
|
|
4
|
+
|
|
5
|
+
import winrt.runtime._internals
|
|
6
|
+
import winrt.system
|
|
7
|
+
from winrt._winrt_windows_storage_search import (
|
|
8
|
+
SortEntry,
|
|
9
|
+
ContentIndexer,
|
|
10
|
+
ContentIndexerQuery,
|
|
11
|
+
IndexableContent,
|
|
12
|
+
QueryOptions,
|
|
13
|
+
SortEntryVector,
|
|
14
|
+
StorageFileQueryResult,
|
|
15
|
+
StorageFolderQueryResult,
|
|
16
|
+
StorageItemQueryResult,
|
|
17
|
+
StorageLibraryChangeTrackerTriggerDetails,
|
|
18
|
+
StorageLibraryContentChangedTriggerDetails,
|
|
19
|
+
ValueAndLanguage,
|
|
20
|
+
_IIndexableContent,
|
|
21
|
+
IIndexableContent,
|
|
22
|
+
_IStorageFolderQueryOperations,
|
|
23
|
+
IStorageFolderQueryOperations,
|
|
24
|
+
_IStorageQueryResultBase,
|
|
25
|
+
IStorageQueryResultBase,
|
|
26
|
+
)
|
|
27
|
+
|
|
28
|
+
__all__ = [
|
|
29
|
+
"CommonFileQuery",
|
|
30
|
+
"CommonFolderQuery",
|
|
31
|
+
"DateStackOption",
|
|
32
|
+
"FolderDepth",
|
|
33
|
+
"IndexedState",
|
|
34
|
+
"IndexerOption",
|
|
35
|
+
"SortEntry",
|
|
36
|
+
"ContentIndexer",
|
|
37
|
+
"ContentIndexerQuery",
|
|
38
|
+
"IndexableContent",
|
|
39
|
+
"QueryOptions",
|
|
40
|
+
"SortEntryVector",
|
|
41
|
+
"StorageFileQueryResult",
|
|
42
|
+
"StorageFolderQueryResult",
|
|
43
|
+
"StorageItemQueryResult",
|
|
44
|
+
"StorageLibraryChangeTrackerTriggerDetails",
|
|
45
|
+
"StorageLibraryContentChangedTriggerDetails",
|
|
46
|
+
"ValueAndLanguage",
|
|
47
|
+
"IIndexableContent",
|
|
48
|
+
"IStorageFolderQueryOperations",
|
|
49
|
+
"IStorageQueryResultBase",
|
|
50
|
+
]
|
|
51
|
+
|
|
52
|
+
class CommonFileQuery(enum.IntEnum):
|
|
53
|
+
DEFAULT_QUERY = 0
|
|
54
|
+
ORDER_BY_NAME = 1
|
|
55
|
+
ORDER_BY_TITLE = 2
|
|
56
|
+
ORDER_BY_MUSIC_PROPERTIES = 3
|
|
57
|
+
ORDER_BY_SEARCH_RANK = 4
|
|
58
|
+
ORDER_BY_DATE = 5
|
|
59
|
+
|
|
60
|
+
class CommonFolderQuery(enum.IntEnum):
|
|
61
|
+
DEFAULT_QUERY = 0
|
|
62
|
+
GROUP_BY_YEAR = 100
|
|
63
|
+
GROUP_BY_MONTH = 101
|
|
64
|
+
GROUP_BY_ARTIST = 102
|
|
65
|
+
GROUP_BY_ALBUM = 103
|
|
66
|
+
GROUP_BY_ALBUM_ARTIST = 104
|
|
67
|
+
GROUP_BY_COMPOSER = 105
|
|
68
|
+
GROUP_BY_GENRE = 106
|
|
69
|
+
GROUP_BY_PUBLISHED_YEAR = 107
|
|
70
|
+
GROUP_BY_RATING = 108
|
|
71
|
+
GROUP_BY_TAG = 109
|
|
72
|
+
GROUP_BY_AUTHOR = 110
|
|
73
|
+
GROUP_BY_TYPE = 111
|
|
74
|
+
|
|
75
|
+
class DateStackOption(enum.IntEnum):
|
|
76
|
+
NONE = 0
|
|
77
|
+
YEAR = 1
|
|
78
|
+
MONTH = 2
|
|
79
|
+
|
|
80
|
+
class FolderDepth(enum.IntEnum):
|
|
81
|
+
SHALLOW = 0
|
|
82
|
+
DEEP = 1
|
|
83
|
+
|
|
84
|
+
class IndexedState(enum.IntEnum):
|
|
85
|
+
UNKNOWN = 0
|
|
86
|
+
NOT_INDEXED = 1
|
|
87
|
+
PARTIALLY_INDEXED = 2
|
|
88
|
+
FULLY_INDEXED = 3
|
|
89
|
+
|
|
90
|
+
class IndexerOption(enum.IntEnum):
|
|
91
|
+
USE_INDEXER_WHEN_AVAILABLE = 0
|
|
92
|
+
ONLY_USE_INDEXER = 1
|
|
93
|
+
DO_NOT_USE_INDEXER = 2
|
|
94
|
+
ONLY_USE_INDEXER_AND_OPTIMIZE_FOR_INDEXED_PROPERTIES = 3
|
|
95
|
+
|
|
96
|
+
winrt.runtime._internals.mixin_mutable_sequence(SortEntryVector)
|
|
File without changes
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: winrt-Windows.Storage.Search
|
|
3
|
+
Version: 3.2.1
|
|
4
|
+
Summary: Python projection of Windows Runtime (WinRT) APIs
|
|
5
|
+
License-Expression: 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.9
|
|
14
|
+
Description-Content-Type: text/markdown
|
|
15
|
+
Requires-Dist: winrt-runtime~=3.2.1.0
|
|
16
|
+
Provides-Extra: all
|
|
17
|
+
Requires-Dist: winrt-Windows.Data.Text[all]~=3.2.1.0; extra == "all"
|
|
18
|
+
Requires-Dist: winrt-Windows.Foundation[all]~=3.2.1.0; extra == "all"
|
|
19
|
+
Requires-Dist: winrt-Windows.Foundation.Collections[all]~=3.2.1.0; extra == "all"
|
|
20
|
+
Requires-Dist: winrt-Windows.Storage[all]~=3.2.1.0; extra == "all"
|
|
21
|
+
Requires-Dist: winrt-Windows.Storage.FileProperties[all]~=3.2.1.0; extra == "all"
|
|
22
|
+
Requires-Dist: winrt-Windows.Storage.Streams[all]~=3.2.1.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.cp314-win_amd64.pyd,sha256=NYBXhfTuFlpwsbBphGVP6WSlbUIZa2vzahngHqeS5gM,519168
|
|
2
|
+
winrt/_winrt_windows_storage_search.pyi,sha256=xwRBjXzNzjqFZDdfkhzHtYvd5vY-1Hj7Bb2huxg3QsY,36955
|
|
3
|
+
winrt/windows/storage/search/__init__.py,sha256=J2L3KAlzxhV2_rZkQ8sVhlJVrDfOzK5xJsUS6Hbo5mI,2366
|
|
4
|
+
winrt/windows/storage/search/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
|
+
winrt_windows_storage_search-3.2.1.dist-info/METADATA,sha256=jHvCg_wQMIyzSefW5iBUikAsQh1eeg6bxntFVRAVBXk,1425
|
|
6
|
+
winrt_windows_storage_search-3.2.1.dist-info/WHEEL,sha256=7k6Wcy588iJYe5lf5K095NLg-uoBTnE-T8eHJ92G4_4,101
|
|
7
|
+
winrt_windows_storage_search-3.2.1.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
|
|
8
|
+
winrt_windows_storage_search-3.2.1.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
winrt
|