winrt-Windows.Storage.AccessCache 4!10.0.28000.2705__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,37 @@
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
+ "AccessCacheOptions",
10
+ "RecentStorageItemVisibility",
11
+ "AccessListEntry",
12
+ "AccessListEntryView",
13
+ "ItemRemovedEventArgs",
14
+ "StorageApplicationPermissions",
15
+ "StorageItemAccessList",
16
+ "StorageItemMostRecentlyUsedList",
17
+ "IStorageItemAccessList",
18
+ ]
19
+
20
+ winrt.runtime._internals.mixin_sequence(AccessListEntryView)
21
+ winrt.runtime._internals.alias_method(StorageItemAccessList, "add_overload_default_metadata", "add")
22
+ winrt.runtime._internals.alias_method(StorageItemAccessList, "add_or_replace_overload_default_metadata", "add_or_replace")
23
+ winrt.runtime._internals.alias_method(StorageItemAccessList, "get_file_with_options_async", "get_file_async")
24
+ winrt.runtime._internals.alias_method(StorageItemAccessList, "get_folder_with_options_async", "get_folder_async")
25
+ winrt.runtime._internals.alias_method(StorageItemAccessList, "get_item_with_options_async", "get_item_async")
26
+ winrt.runtime._internals.alias_method(StorageItemMostRecentlyUsedList, "add_overload_default_metadata", "add")
27
+ winrt.runtime._internals.alias_method(StorageItemMostRecentlyUsedList, "add_with_metadata_and_visibility", "add")
28
+ winrt.runtime._internals.alias_method(StorageItemMostRecentlyUsedList, "add_or_replace_overload_default_metadata", "add_or_replace")
29
+ winrt.runtime._internals.alias_method(StorageItemMostRecentlyUsedList, "add_or_replace_with_metadata_and_visibility", "add_or_replace")
30
+ winrt.runtime._internals.alias_method(StorageItemMostRecentlyUsedList, "get_file_with_options_async", "get_file_async")
31
+ winrt.runtime._internals.alias_method(StorageItemMostRecentlyUsedList, "get_folder_with_options_async", "get_folder_async")
32
+ winrt.runtime._internals.alias_method(StorageItemMostRecentlyUsedList, "get_item_with_options_async", "get_item_async")
33
+ winrt.runtime._internals.alias_method(_IStorageItemAccessList, "add_overload_default_metadata", "add")
34
+ winrt.runtime._internals.alias_method(_IStorageItemAccessList, "add_or_replace_overload_default_metadata", "add_or_replace")
35
+ winrt.runtime._internals.alias_method(_IStorageItemAccessList, "get_file_with_options_async", "get_file_async")
36
+ winrt.runtime._internals.alias_method(_IStorageItemAccessList, "get_folder_with_options_async", "get_folder_async")
37
+ winrt.runtime._internals.alias_method(_IStorageItemAccessList, "get_item_with_options_async", "get_item_async")
@@ -0,0 +1,335 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT
2
+
3
+ import collections.abc as _cabc
4
+ import enum
5
+ import typing
6
+ from builtins import property as _property
7
+ from abc import abstractmethod
8
+ from typing_extensions import deprecated
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.storage as windows_storage
14
+ import winrt.windows.system as windows_system
15
+
16
+ __all__ = [
17
+ "AccessCacheOptions",
18
+ "RecentStorageItemVisibility",
19
+ "AccessListEntry",
20
+ "AccessListEntryView",
21
+ "ItemRemovedEventArgs",
22
+ "StorageApplicationPermissions",
23
+ "StorageItemAccessList",
24
+ "StorageItemMostRecentlyUsedList",
25
+ "IStorageItemAccessList",
26
+ ]
27
+
28
+ class AccessCacheOptions(enum.IntFlag):
29
+ NONE = 0x0
30
+ DISALLOW_USER_INPUT = 0x1
31
+ FAST_LOCATIONS_ONLY = 0x2
32
+ USE_READ_ONLY_CACHED_COPY = 0x4
33
+ SUPPRESS_ACCESS_TIME_UPDATE = 0x8
34
+
35
+ class RecentStorageItemVisibility(enum.IntEnum):
36
+ APP_ONLY = 0
37
+ APP_AND_SYSTEM = 1
38
+
39
+ @typing.final
40
+ class AccessListEntry:
41
+ __match_args__ = ("token", "metadata")
42
+ @_property
43
+ def token(self) -> str: ...
44
+ @_property
45
+ def metadata(self) -> str: ...
46
+ def __new__(cls, token: str = "", metadata: str = "") -> AccessListEntry: ...
47
+ def __replace__(self, /, **changes: typing.Any) -> AccessListEntry: ...
48
+ def unpack(self) -> tuple[str, str]: ...
49
+
50
+ @typing.final
51
+ class AccessListEntryView(_cabc.Sequence[AccessListEntry], winrt.system.Object):
52
+ def __len__(self) -> int: ...
53
+ def __iter__(self) -> _cabc.Iterator[AccessListEntry]: ...
54
+ @typing.overload
55
+ def __getitem__(self, index: typing.SupportsIndex) -> AccessListEntry: ...
56
+ @typing.overload
57
+ def __getitem__(self, index: slice) -> winrt.system.Array[AccessListEntry]: ...
58
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
59
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
60
+ # Windows.Foundation.Collections.IIterator`1<Windows.Storage.AccessCache.AccessListEntry> Windows.Storage.AccessCache.AccessListEntryView::First()
61
+ def first(self) -> windows_foundation_collections.IIterator[AccessListEntry]: ...
62
+ # Windows.Storage.AccessCache.AccessListEntry Windows.Storage.AccessCache.AccessListEntryView::GetAt(System.UInt32)
63
+ def get_at(self, index: winrt.system.UInt32 | typing.SupportsIndex, /) -> AccessListEntry: ...
64
+ # System.UInt32 Windows.Storage.AccessCache.AccessListEntryView::GetMany(System.UInt32,Windows.Storage.AccessCache.AccessListEntry[])
65
+ def get_many(self, start_index: winrt.system.UInt32 | typing.SupportsIndex, items: winrt.system.Array[AccessListEntry] | winrt.system.WriteableBuffer, /) -> winrt.system.UInt32: ...
66
+ # System.Boolean Windows.Storage.AccessCache.AccessListEntryView::IndexOf(Windows.Storage.AccessCache.AccessListEntry,System.UInt32&)
67
+ def index_of(self, value: AccessListEntry | tuple[str, str], /) -> tuple[bool, winrt.system.UInt32]: ...
68
+ # System.UInt32 Windows.Storage.AccessCache.AccessListEntryView::get_Size()
69
+ @_property
70
+ def size(self) -> winrt.system.UInt32: ...
71
+
72
+ @typing.final
73
+ class ItemRemovedEventArgs(winrt.system.Object):
74
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
75
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
76
+ # Windows.Storage.AccessCache.AccessListEntry Windows.Storage.AccessCache.ItemRemovedEventArgs::get_RemovedEntry()
77
+ @_property
78
+ def removed_entry(self) -> AccessListEntry: ...
79
+
80
+ @typing.final
81
+ class StorageApplicationPermissions_Static(winrt.system.Object_Static):
82
+ # Windows.Storage.AccessCache.StorageItemAccessList Windows.Storage.AccessCache.StorageApplicationPermissions::GetFutureAccessListForUser(Windows.System.User)
83
+ def get_future_access_list_for_user(cls, user: windows_system.User, /) -> StorageItemAccessList: ...
84
+ # Windows.Storage.AccessCache.StorageItemMostRecentlyUsedList Windows.Storage.AccessCache.StorageApplicationPermissions::GetMostRecentlyUsedListForUser(Windows.System.User)
85
+ def get_most_recently_used_list_for_user(cls, user: windows_system.User, /) -> StorageItemMostRecentlyUsedList: ...
86
+ # Windows.Storage.AccessCache.StorageItemAccessList Windows.Storage.AccessCache.StorageApplicationPermissions::get_FutureAccessList()
87
+ @_property
88
+ def future_access_list(cls) -> StorageItemAccessList: ...
89
+ # Windows.Storage.AccessCache.StorageItemMostRecentlyUsedList Windows.Storage.AccessCache.StorageApplicationPermissions::get_MostRecentlyUsedList()
90
+ @_property
91
+ def most_recently_used_list(cls) -> StorageItemMostRecentlyUsedList: ...
92
+
93
+ @typing.final
94
+ class StorageApplicationPermissions(winrt.system.Object, metaclass=StorageApplicationPermissions_Static):
95
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
96
+ """A class of static members only, so there is nothing to create."""
97
+
98
+ @typing.final
99
+ class StorageItemAccessList(IStorageItemAccessList, winrt.system.Object):
100
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
101
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
102
+ @typing.overload
103
+ # System.String Windows.Storage.AccessCache.StorageItemAccessList::Add(Windows.Storage.IStorageItem)
104
+ def add(self, file: windows_storage.IStorageItem, /) -> str: ...
105
+ @typing.overload
106
+ # System.String Windows.Storage.AccessCache.StorageItemAccessList::Add(Windows.Storage.IStorageItem,System.String)
107
+ def add(self, file: windows_storage.IStorageItem, metadata: str, /) -> str: ...
108
+ # Deprecated alias of add() for pywinrt v3.x compatibility.
109
+ # System.String Windows.Storage.AccessCache.StorageItemAccessList::Add(Windows.Storage.IStorageItem)
110
+ @deprecated("Use add() instead.")
111
+ def add_overload_default_metadata(self, file: windows_storage.IStorageItem, /) -> str: ...
112
+ @typing.overload
113
+ # System.Void Windows.Storage.AccessCache.StorageItemAccessList::AddOrReplace(System.String,Windows.Storage.IStorageItem)
114
+ def add_or_replace(self, token: str, file: windows_storage.IStorageItem, /) -> None: ...
115
+ @typing.overload
116
+ # System.Void Windows.Storage.AccessCache.StorageItemAccessList::AddOrReplace(System.String,Windows.Storage.IStorageItem,System.String)
117
+ def add_or_replace(self, token: str, file: windows_storage.IStorageItem, metadata: str, /) -> None: ...
118
+ # Deprecated alias of add_or_replace() for pywinrt v3.x compatibility.
119
+ # System.Void Windows.Storage.AccessCache.StorageItemAccessList::AddOrReplace(System.String,Windows.Storage.IStorageItem)
120
+ @deprecated("Use add_or_replace() instead.")
121
+ def add_or_replace_overload_default_metadata(self, token: str, file: windows_storage.IStorageItem, /) -> None: ...
122
+ # System.Boolean Windows.Storage.AccessCache.StorageItemAccessList::CheckAccess(Windows.Storage.IStorageItem)
123
+ def check_access(self, file: windows_storage.IStorageItem, /) -> bool: ...
124
+ # System.Void Windows.Storage.AccessCache.StorageItemAccessList::Clear()
125
+ def clear(self) -> None: ...
126
+ # System.Boolean Windows.Storage.AccessCache.StorageItemAccessList::ContainsItem(System.String)
127
+ def contains_item(self, token: str, /) -> bool: ...
128
+ @typing.overload
129
+ # Windows.Foundation.IAsyncOperation`1<Windows.Storage.StorageFile> Windows.Storage.AccessCache.StorageItemAccessList::GetFileAsync(System.String)
130
+ def get_file_async(self, token: str, /) -> windows_foundation.IAsyncOperation[windows_storage.StorageFile]: ...
131
+ @typing.overload
132
+ # Windows.Foundation.IAsyncOperation`1<Windows.Storage.StorageFile> Windows.Storage.AccessCache.StorageItemAccessList::GetFileAsync(System.String,Windows.Storage.AccessCache.AccessCacheOptions)
133
+ def get_file_async(self, token: str, options: AccessCacheOptions, /) -> windows_foundation.IAsyncOperation[windows_storage.StorageFile]: ...
134
+ # Deprecated alias of get_file_async() for pywinrt v3.x compatibility.
135
+ # Windows.Foundation.IAsyncOperation`1<Windows.Storage.StorageFile> Windows.Storage.AccessCache.StorageItemAccessList::GetFileAsync(System.String,Windows.Storage.AccessCache.AccessCacheOptions)
136
+ @deprecated("Use get_file_async() instead.")
137
+ def get_file_with_options_async(self, token: str, options: AccessCacheOptions, /) -> windows_foundation.IAsyncOperation[windows_storage.StorageFile]: ...
138
+ @typing.overload
139
+ # Windows.Foundation.IAsyncOperation`1<Windows.Storage.StorageFolder> Windows.Storage.AccessCache.StorageItemAccessList::GetFolderAsync(System.String)
140
+ def get_folder_async(self, token: str, /) -> windows_foundation.IAsyncOperation[windows_storage.StorageFolder]: ...
141
+ @typing.overload
142
+ # Windows.Foundation.IAsyncOperation`1<Windows.Storage.StorageFolder> Windows.Storage.AccessCache.StorageItemAccessList::GetFolderAsync(System.String,Windows.Storage.AccessCache.AccessCacheOptions)
143
+ def get_folder_async(self, token: str, options: AccessCacheOptions, /) -> windows_foundation.IAsyncOperation[windows_storage.StorageFolder]: ...
144
+ # Deprecated alias of get_folder_async() for pywinrt v3.x compatibility.
145
+ # Windows.Foundation.IAsyncOperation`1<Windows.Storage.StorageFolder> Windows.Storage.AccessCache.StorageItemAccessList::GetFolderAsync(System.String,Windows.Storage.AccessCache.AccessCacheOptions)
146
+ @deprecated("Use get_folder_async() instead.")
147
+ def get_folder_with_options_async(self, token: str, options: AccessCacheOptions, /) -> windows_foundation.IAsyncOperation[windows_storage.StorageFolder]: ...
148
+ @typing.overload
149
+ # Windows.Foundation.IAsyncOperation`1<Windows.Storage.IStorageItem> Windows.Storage.AccessCache.StorageItemAccessList::GetItemAsync(System.String)
150
+ def get_item_async(self, token: str, /) -> windows_foundation.IAsyncOperation[windows_storage.IStorageItem]: ...
151
+ @typing.overload
152
+ # Windows.Foundation.IAsyncOperation`1<Windows.Storage.IStorageItem> Windows.Storage.AccessCache.StorageItemAccessList::GetItemAsync(System.String,Windows.Storage.AccessCache.AccessCacheOptions)
153
+ def get_item_async(self, token: str, options: AccessCacheOptions, /) -> windows_foundation.IAsyncOperation[windows_storage.IStorageItem]: ...
154
+ # Deprecated alias of get_item_async() for pywinrt v3.x compatibility.
155
+ # Windows.Foundation.IAsyncOperation`1<Windows.Storage.IStorageItem> Windows.Storage.AccessCache.StorageItemAccessList::GetItemAsync(System.String,Windows.Storage.AccessCache.AccessCacheOptions)
156
+ @deprecated("Use get_item_async() instead.")
157
+ def get_item_with_options_async(self, token: str, options: AccessCacheOptions, /) -> windows_foundation.IAsyncOperation[windows_storage.IStorageItem]: ...
158
+ # System.Void Windows.Storage.AccessCache.StorageItemAccessList::Remove(System.String)
159
+ def remove(self, token: str, /) -> None: ...
160
+ # Windows.Storage.AccessCache.AccessListEntryView Windows.Storage.AccessCache.StorageItemAccessList::get_Entries()
161
+ @_property
162
+ def entries(self) -> AccessListEntryView: ...
163
+ # System.UInt32 Windows.Storage.AccessCache.StorageItemAccessList::get_MaximumItemsAllowed()
164
+ @_property
165
+ def maximum_items_allowed(self) -> winrt.system.UInt32: ...
166
+
167
+ @typing.final
168
+ class StorageItemMostRecentlyUsedList(IStorageItemAccessList, winrt.system.Object):
169
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
170
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
171
+ @typing.overload
172
+ # System.String Windows.Storage.AccessCache.StorageItemMostRecentlyUsedList::Add(Windows.Storage.IStorageItem)
173
+ def add(self, file: windows_storage.IStorageItem, /) -> str: ...
174
+ @typing.overload
175
+ # System.String Windows.Storage.AccessCache.StorageItemMostRecentlyUsedList::Add(Windows.Storage.IStorageItem,System.String)
176
+ def add(self, file: windows_storage.IStorageItem, metadata: str, /) -> str: ...
177
+ @typing.overload
178
+ # System.String Windows.Storage.AccessCache.StorageItemMostRecentlyUsedList::Add(Windows.Storage.IStorageItem,System.String,Windows.Storage.AccessCache.RecentStorageItemVisibility)
179
+ def add(self, file: windows_storage.IStorageItem, metadata: str, visibility: RecentStorageItemVisibility, /) -> str: ...
180
+ # Deprecated alias of add() for pywinrt v3.x compatibility.
181
+ # System.String Windows.Storage.AccessCache.StorageItemMostRecentlyUsedList::Add(Windows.Storage.IStorageItem)
182
+ @deprecated("Use add() instead.")
183
+ def add_overload_default_metadata(self, file: windows_storage.IStorageItem, /) -> str: ...
184
+ # Deprecated alias of add() for pywinrt v3.x compatibility.
185
+ # System.String Windows.Storage.AccessCache.StorageItemMostRecentlyUsedList::Add(Windows.Storage.IStorageItem,System.String,Windows.Storage.AccessCache.RecentStorageItemVisibility)
186
+ @deprecated("Use add() instead.")
187
+ def add_with_metadata_and_visibility(self, file: windows_storage.IStorageItem, metadata: str, visibility: RecentStorageItemVisibility, /) -> str: ...
188
+ @typing.overload
189
+ # System.Void Windows.Storage.AccessCache.StorageItemMostRecentlyUsedList::AddOrReplace(System.String,Windows.Storage.IStorageItem)
190
+ def add_or_replace(self, token: str, file: windows_storage.IStorageItem, /) -> None: ...
191
+ @typing.overload
192
+ # System.Void Windows.Storage.AccessCache.StorageItemMostRecentlyUsedList::AddOrReplace(System.String,Windows.Storage.IStorageItem,System.String)
193
+ def add_or_replace(self, token: str, file: windows_storage.IStorageItem, metadata: str, /) -> None: ...
194
+ @typing.overload
195
+ # System.Void Windows.Storage.AccessCache.StorageItemMostRecentlyUsedList::AddOrReplace(System.String,Windows.Storage.IStorageItem,System.String,Windows.Storage.AccessCache.RecentStorageItemVisibility)
196
+ def add_or_replace(self, token: str, file: windows_storage.IStorageItem, metadata: str, visibility: RecentStorageItemVisibility, /) -> None: ...
197
+ # Deprecated alias of add_or_replace() for pywinrt v3.x compatibility.
198
+ # System.Void Windows.Storage.AccessCache.StorageItemMostRecentlyUsedList::AddOrReplace(System.String,Windows.Storage.IStorageItem)
199
+ @deprecated("Use add_or_replace() instead.")
200
+ def add_or_replace_overload_default_metadata(self, token: str, file: windows_storage.IStorageItem, /) -> None: ...
201
+ # Deprecated alias of add_or_replace() for pywinrt v3.x compatibility.
202
+ # System.Void Windows.Storage.AccessCache.StorageItemMostRecentlyUsedList::AddOrReplace(System.String,Windows.Storage.IStorageItem,System.String,Windows.Storage.AccessCache.RecentStorageItemVisibility)
203
+ @deprecated("Use add_or_replace() instead.")
204
+ def add_or_replace_with_metadata_and_visibility(self, token: str, file: windows_storage.IStorageItem, metadata: str, visibility: RecentStorageItemVisibility, /) -> None: ...
205
+ # System.Boolean Windows.Storage.AccessCache.StorageItemMostRecentlyUsedList::CheckAccess(Windows.Storage.IStorageItem)
206
+ def check_access(self, file: windows_storage.IStorageItem, /) -> bool: ...
207
+ # System.Void Windows.Storage.AccessCache.StorageItemMostRecentlyUsedList::Clear()
208
+ def clear(self) -> None: ...
209
+ # System.Boolean Windows.Storage.AccessCache.StorageItemMostRecentlyUsedList::ContainsItem(System.String)
210
+ def contains_item(self, token: str, /) -> bool: ...
211
+ @typing.overload
212
+ # Windows.Foundation.IAsyncOperation`1<Windows.Storage.StorageFile> Windows.Storage.AccessCache.StorageItemMostRecentlyUsedList::GetFileAsync(System.String)
213
+ def get_file_async(self, token: str, /) -> windows_foundation.IAsyncOperation[windows_storage.StorageFile]: ...
214
+ @typing.overload
215
+ # Windows.Foundation.IAsyncOperation`1<Windows.Storage.StorageFile> Windows.Storage.AccessCache.StorageItemMostRecentlyUsedList::GetFileAsync(System.String,Windows.Storage.AccessCache.AccessCacheOptions)
216
+ def get_file_async(self, token: str, options: AccessCacheOptions, /) -> windows_foundation.IAsyncOperation[windows_storage.StorageFile]: ...
217
+ # Deprecated alias of get_file_async() for pywinrt v3.x compatibility.
218
+ # Windows.Foundation.IAsyncOperation`1<Windows.Storage.StorageFile> Windows.Storage.AccessCache.StorageItemMostRecentlyUsedList::GetFileAsync(System.String,Windows.Storage.AccessCache.AccessCacheOptions)
219
+ @deprecated("Use get_file_async() instead.")
220
+ def get_file_with_options_async(self, token: str, options: AccessCacheOptions, /) -> windows_foundation.IAsyncOperation[windows_storage.StorageFile]: ...
221
+ @typing.overload
222
+ # Windows.Foundation.IAsyncOperation`1<Windows.Storage.StorageFolder> Windows.Storage.AccessCache.StorageItemMostRecentlyUsedList::GetFolderAsync(System.String)
223
+ def get_folder_async(self, token: str, /) -> windows_foundation.IAsyncOperation[windows_storage.StorageFolder]: ...
224
+ @typing.overload
225
+ # Windows.Foundation.IAsyncOperation`1<Windows.Storage.StorageFolder> Windows.Storage.AccessCache.StorageItemMostRecentlyUsedList::GetFolderAsync(System.String,Windows.Storage.AccessCache.AccessCacheOptions)
226
+ def get_folder_async(self, token: str, options: AccessCacheOptions, /) -> windows_foundation.IAsyncOperation[windows_storage.StorageFolder]: ...
227
+ # Deprecated alias of get_folder_async() for pywinrt v3.x compatibility.
228
+ # Windows.Foundation.IAsyncOperation`1<Windows.Storage.StorageFolder> Windows.Storage.AccessCache.StorageItemMostRecentlyUsedList::GetFolderAsync(System.String,Windows.Storage.AccessCache.AccessCacheOptions)
229
+ @deprecated("Use get_folder_async() instead.")
230
+ def get_folder_with_options_async(self, token: str, options: AccessCacheOptions, /) -> windows_foundation.IAsyncOperation[windows_storage.StorageFolder]: ...
231
+ @typing.overload
232
+ # Windows.Foundation.IAsyncOperation`1<Windows.Storage.IStorageItem> Windows.Storage.AccessCache.StorageItemMostRecentlyUsedList::GetItemAsync(System.String)
233
+ def get_item_async(self, token: str, /) -> windows_foundation.IAsyncOperation[windows_storage.IStorageItem]: ...
234
+ @typing.overload
235
+ # Windows.Foundation.IAsyncOperation`1<Windows.Storage.IStorageItem> Windows.Storage.AccessCache.StorageItemMostRecentlyUsedList::GetItemAsync(System.String,Windows.Storage.AccessCache.AccessCacheOptions)
236
+ def get_item_async(self, token: str, options: AccessCacheOptions, /) -> windows_foundation.IAsyncOperation[windows_storage.IStorageItem]: ...
237
+ # Deprecated alias of get_item_async() for pywinrt v3.x compatibility.
238
+ # Windows.Foundation.IAsyncOperation`1<Windows.Storage.IStorageItem> Windows.Storage.AccessCache.StorageItemMostRecentlyUsedList::GetItemAsync(System.String,Windows.Storage.AccessCache.AccessCacheOptions)
239
+ @deprecated("Use get_item_async() instead.")
240
+ def get_item_with_options_async(self, token: str, options: AccessCacheOptions, /) -> windows_foundation.IAsyncOperation[windows_storage.IStorageItem]: ...
241
+ # System.Void Windows.Storage.AccessCache.StorageItemMostRecentlyUsedList::Remove(System.String)
242
+ def remove(self, token: str, /) -> None: ...
243
+ # Windows.Foundation.EventRegistrationToken Windows.Storage.AccessCache.StorageItemMostRecentlyUsedList::add_ItemRemoved(Windows.Foundation.TypedEventHandler`2<Windows.Storage.AccessCache.StorageItemMostRecentlyUsedList,Windows.Storage.AccessCache.ItemRemovedEventArgs>)
244
+ def add_item_removed(self, handler: windows_foundation.TypedEventHandler[StorageItemMostRecentlyUsedList, ItemRemovedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
245
+ # System.Void Windows.Storage.AccessCache.StorageItemMostRecentlyUsedList::remove_ItemRemoved(Windows.Foundation.EventRegistrationToken)
246
+ def remove_item_removed(self, event_cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
247
+ # Windows.Storage.AccessCache.AccessListEntryView Windows.Storage.AccessCache.StorageItemMostRecentlyUsedList::get_Entries()
248
+ @_property
249
+ def entries(self) -> AccessListEntryView: ...
250
+ # System.UInt32 Windows.Storage.AccessCache.StorageItemMostRecentlyUsedList::get_MaximumItemsAllowed()
251
+ @_property
252
+ def maximum_items_allowed(self) -> winrt.system.UInt32: ...
253
+
254
+ class IStorageItemAccessList(winrt.system.Object):
255
+ @typing.overload
256
+ # System.String Windows.Storage.AccessCache.IStorageItemAccessList::Add(Windows.Storage.IStorageItem)
257
+ @abstractmethod
258
+ def add(self, file: windows_storage.IStorageItem, /) -> str: ...
259
+ @typing.overload
260
+ # System.String Windows.Storage.AccessCache.IStorageItemAccessList::Add(Windows.Storage.IStorageItem,System.String)
261
+ @abstractmethod
262
+ def add(self, file: windows_storage.IStorageItem, metadata: str, /) -> str: ...
263
+ # Deprecated alias of add() for pywinrt v3.x compatibility.
264
+ # System.String Windows.Storage.AccessCache.IStorageItemAccessList::Add(Windows.Storage.IStorageItem)
265
+ @deprecated("Use add() instead.")
266
+ def add_overload_default_metadata(self, file: windows_storage.IStorageItem, /) -> str: ...
267
+ @typing.overload
268
+ # System.Void Windows.Storage.AccessCache.IStorageItemAccessList::AddOrReplace(System.String,Windows.Storage.IStorageItem)
269
+ @abstractmethod
270
+ def add_or_replace(self, token: str, file: windows_storage.IStorageItem, /) -> None: ...
271
+ @typing.overload
272
+ # System.Void Windows.Storage.AccessCache.IStorageItemAccessList::AddOrReplace(System.String,Windows.Storage.IStorageItem,System.String)
273
+ @abstractmethod
274
+ def add_or_replace(self, token: str, file: windows_storage.IStorageItem, metadata: str, /) -> None: ...
275
+ # Deprecated alias of add_or_replace() for pywinrt v3.x compatibility.
276
+ # System.Void Windows.Storage.AccessCache.IStorageItemAccessList::AddOrReplace(System.String,Windows.Storage.IStorageItem)
277
+ @deprecated("Use add_or_replace() instead.")
278
+ def add_or_replace_overload_default_metadata(self, token: str, file: windows_storage.IStorageItem, /) -> None: ...
279
+ # System.Boolean Windows.Storage.AccessCache.IStorageItemAccessList::CheckAccess(Windows.Storage.IStorageItem)
280
+ @abstractmethod
281
+ def check_access(self, file: windows_storage.IStorageItem, /) -> bool: ...
282
+ # System.Void Windows.Storage.AccessCache.IStorageItemAccessList::Clear()
283
+ @abstractmethod
284
+ def clear(self) -> None: ...
285
+ # System.Boolean Windows.Storage.AccessCache.IStorageItemAccessList::ContainsItem(System.String)
286
+ @abstractmethod
287
+ def contains_item(self, token: str, /) -> bool: ...
288
+ @typing.overload
289
+ # Windows.Foundation.IAsyncOperation`1<Windows.Storage.StorageFile> Windows.Storage.AccessCache.IStorageItemAccessList::GetFileAsync(System.String)
290
+ @abstractmethod
291
+ def get_file_async(self, token: str, /) -> windows_foundation.IAsyncOperation[windows_storage.StorageFile]: ...
292
+ @typing.overload
293
+ # Windows.Foundation.IAsyncOperation`1<Windows.Storage.StorageFile> Windows.Storage.AccessCache.IStorageItemAccessList::GetFileAsync(System.String,Windows.Storage.AccessCache.AccessCacheOptions)
294
+ @abstractmethod
295
+ def get_file_async(self, token: str, options: AccessCacheOptions, /) -> windows_foundation.IAsyncOperation[windows_storage.StorageFile]: ...
296
+ # Deprecated alias of get_file_async() for pywinrt v3.x compatibility.
297
+ # Windows.Foundation.IAsyncOperation`1<Windows.Storage.StorageFile> Windows.Storage.AccessCache.IStorageItemAccessList::GetFileAsync(System.String,Windows.Storage.AccessCache.AccessCacheOptions)
298
+ @deprecated("Use get_file_async() instead.")
299
+ def get_file_with_options_async(self, token: str, options: AccessCacheOptions, /) -> windows_foundation.IAsyncOperation[windows_storage.StorageFile]: ...
300
+ @typing.overload
301
+ # Windows.Foundation.IAsyncOperation`1<Windows.Storage.StorageFolder> Windows.Storage.AccessCache.IStorageItemAccessList::GetFolderAsync(System.String)
302
+ @abstractmethod
303
+ def get_folder_async(self, token: str, /) -> windows_foundation.IAsyncOperation[windows_storage.StorageFolder]: ...
304
+ @typing.overload
305
+ # Windows.Foundation.IAsyncOperation`1<Windows.Storage.StorageFolder> Windows.Storage.AccessCache.IStorageItemAccessList::GetFolderAsync(System.String,Windows.Storage.AccessCache.AccessCacheOptions)
306
+ @abstractmethod
307
+ def get_folder_async(self, token: str, options: AccessCacheOptions, /) -> windows_foundation.IAsyncOperation[windows_storage.StorageFolder]: ...
308
+ # Deprecated alias of get_folder_async() for pywinrt v3.x compatibility.
309
+ # Windows.Foundation.IAsyncOperation`1<Windows.Storage.StorageFolder> Windows.Storage.AccessCache.IStorageItemAccessList::GetFolderAsync(System.String,Windows.Storage.AccessCache.AccessCacheOptions)
310
+ @deprecated("Use get_folder_async() instead.")
311
+ def get_folder_with_options_async(self, token: str, options: AccessCacheOptions, /) -> windows_foundation.IAsyncOperation[windows_storage.StorageFolder]: ...
312
+ @typing.overload
313
+ # Windows.Foundation.IAsyncOperation`1<Windows.Storage.IStorageItem> Windows.Storage.AccessCache.IStorageItemAccessList::GetItemAsync(System.String)
314
+ @abstractmethod
315
+ def get_item_async(self, token: str, /) -> windows_foundation.IAsyncOperation[windows_storage.IStorageItem]: ...
316
+ @typing.overload
317
+ # Windows.Foundation.IAsyncOperation`1<Windows.Storage.IStorageItem> Windows.Storage.AccessCache.IStorageItemAccessList::GetItemAsync(System.String,Windows.Storage.AccessCache.AccessCacheOptions)
318
+ @abstractmethod
319
+ def get_item_async(self, token: str, options: AccessCacheOptions, /) -> windows_foundation.IAsyncOperation[windows_storage.IStorageItem]: ...
320
+ # Deprecated alias of get_item_async() for pywinrt v3.x compatibility.
321
+ # Windows.Foundation.IAsyncOperation`1<Windows.Storage.IStorageItem> Windows.Storage.AccessCache.IStorageItemAccessList::GetItemAsync(System.String,Windows.Storage.AccessCache.AccessCacheOptions)
322
+ @deprecated("Use get_item_async() instead.")
323
+ def get_item_with_options_async(self, token: str, options: AccessCacheOptions, /) -> windows_foundation.IAsyncOperation[windows_storage.IStorageItem]: ...
324
+ # System.Void Windows.Storage.AccessCache.IStorageItemAccessList::Remove(System.String)
325
+ @abstractmethod
326
+ def remove(self, token: str, /) -> None: ...
327
+ # Windows.Storage.AccessCache.AccessListEntryView Windows.Storage.AccessCache.IStorageItemAccessList::get_Entries()
328
+ @_property
329
+ @abstractmethod
330
+ def entries(self) -> AccessListEntryView: ...
331
+ # System.UInt32 Windows.Storage.AccessCache.IStorageItemAccessList::get_MaximumItemsAllowed()
332
+ @_property
333
+ @abstractmethod
334
+ def maximum_items_allowed(self) -> winrt.system.UInt32: ...
335
+
File without changes
@@ -0,0 +1,48 @@
1
+ Metadata-Version: 2.5
2
+ Name: winrt-Windows.Storage.AccessCache
3
+ Version: 4!10.0.28000.2705
4
+ Summary: PyWinRT projection of the Windows.Storage.AccessCache namespace
5
+ Project-URL: Documentation, https://pywinrt.readthedocs.io
6
+ Project-URL: Repository, https://github.com/pywinrt/pywinrt
7
+ Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/projection/winrt/CHANGELOG.md
8
+ License-Expression: MIT
9
+ License-File: LICENSE
10
+ Classifier: Intended Audience :: Developers
11
+ Classifier: Operating System :: Microsoft :: Windows
12
+ Classifier: Programming Language :: Python :: 3
13
+ Classifier: Programming Language :: Python :: 3.11
14
+ Classifier: Programming Language :: Python :: 3.12
15
+ Classifier: Programming Language :: Python :: 3.13
16
+ Classifier: Programming Language :: Python :: 3.14
17
+ Classifier: Programming Language :: Python :: 3.15
18
+ Classifier: Programming Language :: Python :: Free Threading :: 2 - Beta
19
+ Classifier: Programming Language :: Python :: Implementation :: CPython
20
+ Classifier: Typing :: Typed
21
+ Requires-Python: >=3.11
22
+ Requires-Dist: winrt-runtime<5,>=4.0.0
23
+ Requires-Dist: winrt-windows-foundation-collections>=4!10.0.28000.2705
24
+ Requires-Dist: winrt-windows-foundation>=4!10.0.28000.2705
25
+ Provides-Extra: all
26
+ Requires-Dist: winrt-windows-foundation-collections[all]>=4!10.0.28000.2705; extra == 'all'
27
+ Requires-Dist: winrt-windows-foundation[all]>=4!10.0.28000.2705; extra == 'all'
28
+ Requires-Dist: winrt-windows-storage[all]>=4!10.0.28000.2705; extra == 'all'
29
+ Requires-Dist: winrt-windows-system[all]>=4!10.0.28000.2705; extra == 'all'
30
+ Description-Content-Type: text/markdown
31
+
32
+ <!-- warning: Please don't edit this file. It was automatically generated. -->
33
+
34
+ # winrt-Windows.Storage.AccessCache
35
+
36
+ Windows Runtime (WinRT) APIs for the `Windows.Storage.AccessCache` namespace.
37
+
38
+ This package provides the `winrt.windows.storage.accesscache` module.
39
+
40
+ The WinRT APIs in it are those of version 10.0.28000.2705 of the
41
+ `Microsoft.Windows.SDK.CPP` NuGet package.
42
+
43
+ ```
44
+ pip install winrt-Windows.Storage.AccessCache
45
+ ```
46
+
47
+ Other WinRT namespaces are packages of their own, so install the package of
48
+ each namespace your code imports from.
@@ -0,0 +1,8 @@
1
+ winrt/windows/storage/accesscache/__init__.py,sha256=fSTZUETbf6UkFqlkynos9OaeFkKba_Zs8HXdYZPN-RI,2513
2
+ winrt/windows/storage/accesscache/__init__.pyi,sha256=eY6XjiuymIVzlyTWZoJRMEWbYDYbr1UMKwxMVCcfksM,26436
3
+ winrt/windows/storage/accesscache/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
+ winrt/windows/storage/accesscache/_table.pywinrt,sha256=RHzXTup5T9z5nzOiI6twDBulal-qiEIVYy_JLQruN3w,17360
5
+ winrt_windows_storage_accesscache-4!10.0.28000.2705.dist-info/METADATA,sha256=erVdCWYQbuNqvyGSuGy-5isH6X0S5vxVyLla6yR2kTw,2124
6
+ winrt_windows_storage_accesscache-4!10.0.28000.2705.dist-info/WHEEL,sha256=W3fkpkm7-wf9vBI5Z-7s0eWkeM-spu78I8Neb98DeEg,87
7
+ winrt_windows_storage_accesscache-4!10.0.28000.2705.dist-info/licenses/LICENSE,sha256=dyVKOMqPV0fimbzMhqN3zpg6K6Y2OlekwrdfiZTBm8M,1225
8
+ winrt_windows_storage_accesscache-4!10.0.28000.2705.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: hatchling 1.32.4
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
@@ -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