winrt-Windows.Storage.FileProperties 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,32 @@
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
+ "PhotoOrientation",
10
+ "PropertyPrefetchOptions",
11
+ "ThumbnailMode",
12
+ "ThumbnailOptions",
13
+ "ThumbnailType",
14
+ "VideoOrientation",
15
+ "BasicProperties",
16
+ "DocumentProperties",
17
+ "GeotagHelper",
18
+ "ImageProperties",
19
+ "MusicProperties",
20
+ "StorageItemContentProperties",
21
+ "StorageItemThumbnail",
22
+ "VideoProperties",
23
+ "IStorageItemExtraProperties",
24
+ ]
25
+
26
+ winrt.runtime._internals.alias_method(BasicProperties, "save_properties_async_overload_default", "save_properties_async")
27
+ winrt.runtime._internals.alias_method(DocumentProperties, "save_properties_async_overload_default", "save_properties_async")
28
+ winrt.runtime._internals.alias_method(ImageProperties, "save_properties_async_overload_default", "save_properties_async")
29
+ winrt.runtime._internals.alias_method(MusicProperties, "save_properties_async_overload_default", "save_properties_async")
30
+ winrt.runtime._internals.alias_method(StorageItemContentProperties, "save_properties_async_overload_default", "save_properties_async")
31
+ winrt.runtime._internals.alias_method(VideoProperties, "save_properties_async_overload_default", "save_properties_async")
32
+ winrt.runtime._internals.alias_method(_IStorageItemExtraProperties, "save_properties_async_overload_default", "save_properties_async")
@@ -0,0 +1,489 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT
2
+
3
+ import collections.abc as _cabc
4
+ import datetime
5
+ import enum
6
+ import types
7
+ import typing
8
+ from builtins import property as _property
9
+ from abc import abstractmethod
10
+ from typing_extensions import deprecated
11
+
12
+ import winrt.system
13
+ import winrt.windows.devices.geolocation as windows_devices_geolocation
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.streams as windows_storage_streams
18
+
19
+ __all__ = [
20
+ "PhotoOrientation",
21
+ "PropertyPrefetchOptions",
22
+ "ThumbnailMode",
23
+ "ThumbnailOptions",
24
+ "ThumbnailType",
25
+ "VideoOrientation",
26
+ "BasicProperties",
27
+ "DocumentProperties",
28
+ "GeotagHelper",
29
+ "ImageProperties",
30
+ "MusicProperties",
31
+ "StorageItemContentProperties",
32
+ "StorageItemThumbnail",
33
+ "VideoProperties",
34
+ "IStorageItemExtraProperties",
35
+ ]
36
+
37
+ class PhotoOrientation(enum.IntEnum):
38
+ UNSPECIFIED = 0
39
+ NORMAL = 1
40
+ FLIP_HORIZONTAL = 2
41
+ ROTATE180 = 3
42
+ FLIP_VERTICAL = 4
43
+ TRANSPOSE = 5
44
+ ROTATE270 = 6
45
+ TRANSVERSE = 7
46
+ ROTATE90 = 8
47
+
48
+ class PropertyPrefetchOptions(enum.IntFlag):
49
+ NONE = 0x0
50
+ MUSIC_PROPERTIES = 0x1
51
+ VIDEO_PROPERTIES = 0x2
52
+ IMAGE_PROPERTIES = 0x4
53
+ DOCUMENT_PROPERTIES = 0x8
54
+ BASIC_PROPERTIES = 0x10
55
+
56
+ class ThumbnailMode(enum.IntEnum):
57
+ PICTURES_VIEW = 0
58
+ VIDEOS_VIEW = 1
59
+ MUSIC_VIEW = 2
60
+ DOCUMENTS_VIEW = 3
61
+ LIST_VIEW = 4
62
+ SINGLE_ITEM = 5
63
+
64
+ class ThumbnailOptions(enum.IntFlag):
65
+ NONE = 0x0
66
+ RETURN_ONLY_IF_CACHED = 0x1
67
+ RESIZE_THUMBNAIL = 0x2
68
+ USE_CURRENT_SCALE = 0x4
69
+
70
+ class ThumbnailType(enum.IntEnum):
71
+ IMAGE = 0
72
+ ICON = 1
73
+
74
+ class VideoOrientation(enum.IntEnum):
75
+ NORMAL = 0
76
+ ROTATE90 = 90
77
+ ROTATE180 = 180
78
+ ROTATE270 = 270
79
+
80
+ @typing.final
81
+ class BasicProperties(IStorageItemExtraProperties, winrt.system.Object):
82
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
83
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
84
+ # Windows.Foundation.IAsyncOperation`1<Windows.Foundation.Collections.IMap`2<System.String,System.Object>> Windows.Storage.FileProperties.BasicProperties::RetrievePropertiesAsync(Windows.Foundation.Collections.IIterable`1<System.String>)
85
+ def retrieve_properties_async(self, properties_to_retrieve: _cabc.Iterable[str] | None, /) -> windows_foundation.IAsyncOperation[_cabc.MutableMapping[str, winrt.system.Object]]: ...
86
+ @typing.overload
87
+ # Windows.Foundation.IAsyncAction Windows.Storage.FileProperties.BasicProperties::SavePropertiesAsync()
88
+ def save_properties_async(self) -> windows_foundation.IAsyncAction: ...
89
+ @typing.overload
90
+ # Windows.Foundation.IAsyncAction Windows.Storage.FileProperties.BasicProperties::SavePropertiesAsync(Windows.Foundation.Collections.IIterable`1<Windows.Foundation.Collections.IKeyValuePair`2<System.String,System.Object>>)
91
+ def save_properties_async(self, properties_to_save: _cabc.Mapping[str, winrt.system.Object] | _cabc.Iterable[windows_foundation_collections.IKeyValuePair[str, winrt.system.Object]], /) -> windows_foundation.IAsyncAction: ...
92
+ # Deprecated alias of save_properties_async() for pywinrt v3.x compatibility.
93
+ # Windows.Foundation.IAsyncAction Windows.Storage.FileProperties.BasicProperties::SavePropertiesAsync()
94
+ @deprecated("Use save_properties_async() instead.")
95
+ def save_properties_async_overload_default(self) -> windows_foundation.IAsyncAction: ...
96
+ # Windows.Foundation.DateTime Windows.Storage.FileProperties.BasicProperties::get_DateModified()
97
+ @_property
98
+ def date_modified(self) -> datetime.datetime: ...
99
+ # Windows.Foundation.DateTime Windows.Storage.FileProperties.BasicProperties::get_ItemDate()
100
+ @_property
101
+ def item_date(self) -> datetime.datetime: ...
102
+ # System.UInt64 Windows.Storage.FileProperties.BasicProperties::get_Size()
103
+ @_property
104
+ def size(self) -> winrt.system.UInt64: ...
105
+
106
+ @typing.final
107
+ class DocumentProperties(IStorageItemExtraProperties, winrt.system.Object):
108
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
109
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
110
+ # Windows.Foundation.IAsyncOperation`1<Windows.Foundation.Collections.IMap`2<System.String,System.Object>> Windows.Storage.FileProperties.DocumentProperties::RetrievePropertiesAsync(Windows.Foundation.Collections.IIterable`1<System.String>)
111
+ def retrieve_properties_async(self, properties_to_retrieve: _cabc.Iterable[str] | None, /) -> windows_foundation.IAsyncOperation[_cabc.MutableMapping[str, winrt.system.Object]]: ...
112
+ @typing.overload
113
+ # Windows.Foundation.IAsyncAction Windows.Storage.FileProperties.DocumentProperties::SavePropertiesAsync()
114
+ def save_properties_async(self) -> windows_foundation.IAsyncAction: ...
115
+ @typing.overload
116
+ # Windows.Foundation.IAsyncAction Windows.Storage.FileProperties.DocumentProperties::SavePropertiesAsync(Windows.Foundation.Collections.IIterable`1<Windows.Foundation.Collections.IKeyValuePair`2<System.String,System.Object>>)
117
+ def save_properties_async(self, properties_to_save: _cabc.Mapping[str, winrt.system.Object] | _cabc.Iterable[windows_foundation_collections.IKeyValuePair[str, winrt.system.Object]], /) -> windows_foundation.IAsyncAction: ...
118
+ # Deprecated alias of save_properties_async() for pywinrt v3.x compatibility.
119
+ # Windows.Foundation.IAsyncAction Windows.Storage.FileProperties.DocumentProperties::SavePropertiesAsync()
120
+ @deprecated("Use save_properties_async() instead.")
121
+ def save_properties_async_overload_default(self) -> windows_foundation.IAsyncAction: ...
122
+ # System.String Windows.Storage.FileProperties.DocumentProperties::get_Title()
123
+ @_property
124
+ def title(self) -> str: ...
125
+ # System.Void Windows.Storage.FileProperties.DocumentProperties::put_Title(System.String)
126
+ @title.setter
127
+ def title(self, value: str) -> None: ...
128
+ # System.String Windows.Storage.FileProperties.DocumentProperties::get_Comment()
129
+ @_property
130
+ def comment(self) -> str: ...
131
+ # System.Void Windows.Storage.FileProperties.DocumentProperties::put_Comment(System.String)
132
+ @comment.setter
133
+ def comment(self, value: str) -> None: ...
134
+ # Windows.Foundation.Collections.IVector`1<System.String> Windows.Storage.FileProperties.DocumentProperties::get_Author()
135
+ @_property
136
+ def author(self) -> _cabc.MutableSequence[str]: ...
137
+ # Windows.Foundation.Collections.IVector`1<System.String> Windows.Storage.FileProperties.DocumentProperties::get_Keywords()
138
+ @_property
139
+ def keywords(self) -> _cabc.MutableSequence[str]: ...
140
+
141
+ @typing.final
142
+ class GeotagHelper_Static(winrt.system.Object_Static):
143
+ # Windows.Foundation.IAsyncOperation`1<Windows.Devices.Geolocation.Geopoint> Windows.Storage.FileProperties.GeotagHelper::GetGeotagAsync(Windows.Storage.IStorageFile)
144
+ def get_geotag_async(cls, file: windows_storage.IStorageFile, /) -> windows_foundation.IAsyncOperation[windows_devices_geolocation.Geopoint]: ...
145
+ # Windows.Foundation.IAsyncAction Windows.Storage.FileProperties.GeotagHelper::SetGeotagAsync(Windows.Storage.IStorageFile,Windows.Devices.Geolocation.Geopoint)
146
+ def set_geotag_async(cls, file: windows_storage.IStorageFile, geopoint: windows_devices_geolocation.Geopoint, /) -> windows_foundation.IAsyncAction: ...
147
+ # Windows.Foundation.IAsyncAction Windows.Storage.FileProperties.GeotagHelper::SetGeotagFromGeolocatorAsync(Windows.Storage.IStorageFile,Windows.Devices.Geolocation.Geolocator)
148
+ def set_geotag_from_geolocator_async(cls, file: windows_storage.IStorageFile, geolocator: windows_devices_geolocation.Geolocator, /) -> windows_foundation.IAsyncAction: ...
149
+
150
+ @typing.final
151
+ class GeotagHelper(winrt.system.Object, metaclass=GeotagHelper_Static):
152
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
153
+ """A class of static members only, so there is nothing to create."""
154
+
155
+ @typing.final
156
+ class ImageProperties(IStorageItemExtraProperties, winrt.system.Object):
157
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
158
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
159
+ # Windows.Foundation.IAsyncOperation`1<Windows.Foundation.Collections.IMap`2<System.String,System.Object>> Windows.Storage.FileProperties.ImageProperties::RetrievePropertiesAsync(Windows.Foundation.Collections.IIterable`1<System.String>)
160
+ def retrieve_properties_async(self, properties_to_retrieve: _cabc.Iterable[str] | None, /) -> windows_foundation.IAsyncOperation[_cabc.MutableMapping[str, winrt.system.Object]]: ...
161
+ @typing.overload
162
+ # Windows.Foundation.IAsyncAction Windows.Storage.FileProperties.ImageProperties::SavePropertiesAsync()
163
+ def save_properties_async(self) -> windows_foundation.IAsyncAction: ...
164
+ @typing.overload
165
+ # Windows.Foundation.IAsyncAction Windows.Storage.FileProperties.ImageProperties::SavePropertiesAsync(Windows.Foundation.Collections.IIterable`1<Windows.Foundation.Collections.IKeyValuePair`2<System.String,System.Object>>)
166
+ def save_properties_async(self, properties_to_save: _cabc.Mapping[str, winrt.system.Object] | _cabc.Iterable[windows_foundation_collections.IKeyValuePair[str, winrt.system.Object]], /) -> windows_foundation.IAsyncAction: ...
167
+ # Deprecated alias of save_properties_async() for pywinrt v3.x compatibility.
168
+ # Windows.Foundation.IAsyncAction Windows.Storage.FileProperties.ImageProperties::SavePropertiesAsync()
169
+ @deprecated("Use save_properties_async() instead.")
170
+ def save_properties_async_overload_default(self) -> windows_foundation.IAsyncAction: ...
171
+ # System.String Windows.Storage.FileProperties.ImageProperties::get_Title()
172
+ @_property
173
+ def title(self) -> str: ...
174
+ # System.Void Windows.Storage.FileProperties.ImageProperties::put_Title(System.String)
175
+ @title.setter
176
+ def title(self, value: str) -> None: ...
177
+ # System.UInt32 Windows.Storage.FileProperties.ImageProperties::get_Rating()
178
+ @_property
179
+ def rating(self) -> winrt.system.UInt32: ...
180
+ # System.Void Windows.Storage.FileProperties.ImageProperties::put_Rating(System.UInt32)
181
+ @rating.setter
182
+ def rating(self, value: winrt.system.UInt32 | typing.SupportsIndex) -> None: ...
183
+ # Windows.Foundation.DateTime Windows.Storage.FileProperties.ImageProperties::get_DateTaken()
184
+ @_property
185
+ def date_taken(self) -> datetime.datetime: ...
186
+ # System.Void Windows.Storage.FileProperties.ImageProperties::put_DateTaken(Windows.Foundation.DateTime)
187
+ @date_taken.setter
188
+ def date_taken(self, value: datetime.datetime) -> None: ...
189
+ # System.String Windows.Storage.FileProperties.ImageProperties::get_CameraModel()
190
+ @_property
191
+ def camera_model(self) -> str: ...
192
+ # System.Void Windows.Storage.FileProperties.ImageProperties::put_CameraModel(System.String)
193
+ @camera_model.setter
194
+ def camera_model(self, value: str) -> None: ...
195
+ # System.String Windows.Storage.FileProperties.ImageProperties::get_CameraManufacturer()
196
+ @_property
197
+ def camera_manufacturer(self) -> str: ...
198
+ # System.Void Windows.Storage.FileProperties.ImageProperties::put_CameraManufacturer(System.String)
199
+ @camera_manufacturer.setter
200
+ def camera_manufacturer(self, value: str) -> None: ...
201
+ # System.UInt32 Windows.Storage.FileProperties.ImageProperties::get_Height()
202
+ @_property
203
+ def height(self) -> winrt.system.UInt32: ...
204
+ # Windows.Foundation.Collections.IVector`1<System.String> Windows.Storage.FileProperties.ImageProperties::get_Keywords()
205
+ @_property
206
+ def keywords(self) -> _cabc.MutableSequence[str]: ...
207
+ # Windows.Foundation.IReference`1<System.Double> Windows.Storage.FileProperties.ImageProperties::get_Latitude()
208
+ @_property
209
+ def latitude(self) -> winrt.system.Double | None: ...
210
+ # Windows.Foundation.IReference`1<System.Double> Windows.Storage.FileProperties.ImageProperties::get_Longitude()
211
+ @_property
212
+ def longitude(self) -> winrt.system.Double | None: ...
213
+ # Windows.Storage.FileProperties.PhotoOrientation Windows.Storage.FileProperties.ImageProperties::get_Orientation()
214
+ @_property
215
+ def orientation(self) -> PhotoOrientation: ...
216
+ # Windows.Foundation.Collections.IVectorView`1<System.String> Windows.Storage.FileProperties.ImageProperties::get_PeopleNames()
217
+ @_property
218
+ def people_names(self) -> _cabc.Sequence[str]: ...
219
+ # System.UInt32 Windows.Storage.FileProperties.ImageProperties::get_Width()
220
+ @_property
221
+ def width(self) -> winrt.system.UInt32: ...
222
+
223
+ @typing.final
224
+ class MusicProperties(IStorageItemExtraProperties, winrt.system.Object):
225
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
226
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
227
+ # Windows.Foundation.IAsyncOperation`1<Windows.Foundation.Collections.IMap`2<System.String,System.Object>> Windows.Storage.FileProperties.MusicProperties::RetrievePropertiesAsync(Windows.Foundation.Collections.IIterable`1<System.String>)
228
+ def retrieve_properties_async(self, properties_to_retrieve: _cabc.Iterable[str] | None, /) -> windows_foundation.IAsyncOperation[_cabc.MutableMapping[str, winrt.system.Object]]: ...
229
+ @typing.overload
230
+ # Windows.Foundation.IAsyncAction Windows.Storage.FileProperties.MusicProperties::SavePropertiesAsync()
231
+ def save_properties_async(self) -> windows_foundation.IAsyncAction: ...
232
+ @typing.overload
233
+ # Windows.Foundation.IAsyncAction Windows.Storage.FileProperties.MusicProperties::SavePropertiesAsync(Windows.Foundation.Collections.IIterable`1<Windows.Foundation.Collections.IKeyValuePair`2<System.String,System.Object>>)
234
+ def save_properties_async(self, properties_to_save: _cabc.Mapping[str, winrt.system.Object] | _cabc.Iterable[windows_foundation_collections.IKeyValuePair[str, winrt.system.Object]], /) -> windows_foundation.IAsyncAction: ...
235
+ # Deprecated alias of save_properties_async() for pywinrt v3.x compatibility.
236
+ # Windows.Foundation.IAsyncAction Windows.Storage.FileProperties.MusicProperties::SavePropertiesAsync()
237
+ @deprecated("Use save_properties_async() instead.")
238
+ def save_properties_async_overload_default(self) -> windows_foundation.IAsyncAction: ...
239
+ # System.UInt32 Windows.Storage.FileProperties.MusicProperties::get_Year()
240
+ @_property
241
+ def year(self) -> winrt.system.UInt32: ...
242
+ # System.Void Windows.Storage.FileProperties.MusicProperties::put_Year(System.UInt32)
243
+ @year.setter
244
+ def year(self, value: winrt.system.UInt32 | typing.SupportsIndex) -> None: ...
245
+ # System.UInt32 Windows.Storage.FileProperties.MusicProperties::get_TrackNumber()
246
+ @_property
247
+ def track_number(self) -> winrt.system.UInt32: ...
248
+ # System.Void Windows.Storage.FileProperties.MusicProperties::put_TrackNumber(System.UInt32)
249
+ @track_number.setter
250
+ def track_number(self, value: winrt.system.UInt32 | typing.SupportsIndex) -> None: ...
251
+ # System.String Windows.Storage.FileProperties.MusicProperties::get_Title()
252
+ @_property
253
+ def title(self) -> str: ...
254
+ # System.Void Windows.Storage.FileProperties.MusicProperties::put_Title(System.String)
255
+ @title.setter
256
+ def title(self, value: str) -> None: ...
257
+ # System.String Windows.Storage.FileProperties.MusicProperties::get_Subtitle()
258
+ @_property
259
+ def subtitle(self) -> str: ...
260
+ # System.Void Windows.Storage.FileProperties.MusicProperties::put_Subtitle(System.String)
261
+ @subtitle.setter
262
+ def subtitle(self, value: str) -> None: ...
263
+ # System.UInt32 Windows.Storage.FileProperties.MusicProperties::get_Rating()
264
+ @_property
265
+ def rating(self) -> winrt.system.UInt32: ...
266
+ # System.Void Windows.Storage.FileProperties.MusicProperties::put_Rating(System.UInt32)
267
+ @rating.setter
268
+ def rating(self, value: winrt.system.UInt32 | typing.SupportsIndex) -> None: ...
269
+ # System.String Windows.Storage.FileProperties.MusicProperties::get_Publisher()
270
+ @_property
271
+ def publisher(self) -> str: ...
272
+ # System.Void Windows.Storage.FileProperties.MusicProperties::put_Publisher(System.String)
273
+ @publisher.setter
274
+ def publisher(self, value: str) -> None: ...
275
+ # System.String Windows.Storage.FileProperties.MusicProperties::get_Artist()
276
+ @_property
277
+ def artist(self) -> str: ...
278
+ # System.Void Windows.Storage.FileProperties.MusicProperties::put_Artist(System.String)
279
+ @artist.setter
280
+ def artist(self, value: str) -> None: ...
281
+ # System.String Windows.Storage.FileProperties.MusicProperties::get_AlbumArtist()
282
+ @_property
283
+ def album_artist(self) -> str: ...
284
+ # System.Void Windows.Storage.FileProperties.MusicProperties::put_AlbumArtist(System.String)
285
+ @album_artist.setter
286
+ def album_artist(self, value: str) -> None: ...
287
+ # System.String Windows.Storage.FileProperties.MusicProperties::get_Album()
288
+ @_property
289
+ def album(self) -> str: ...
290
+ # System.Void Windows.Storage.FileProperties.MusicProperties::put_Album(System.String)
291
+ @album.setter
292
+ def album(self, value: str) -> None: ...
293
+ # System.UInt32 Windows.Storage.FileProperties.MusicProperties::get_Bitrate()
294
+ @_property
295
+ def bitrate(self) -> winrt.system.UInt32: ...
296
+ # Windows.Foundation.Collections.IVector`1<System.String> Windows.Storage.FileProperties.MusicProperties::get_Composers()
297
+ @_property
298
+ def composers(self) -> _cabc.MutableSequence[str]: ...
299
+ # Windows.Foundation.Collections.IVector`1<System.String> Windows.Storage.FileProperties.MusicProperties::get_Conductors()
300
+ @_property
301
+ def conductors(self) -> _cabc.MutableSequence[str]: ...
302
+ # Windows.Foundation.TimeSpan Windows.Storage.FileProperties.MusicProperties::get_Duration()
303
+ @_property
304
+ def duration(self) -> datetime.timedelta: ...
305
+ # Windows.Foundation.Collections.IVector`1<System.String> Windows.Storage.FileProperties.MusicProperties::get_Genre()
306
+ @_property
307
+ def genre(self) -> _cabc.MutableSequence[str]: ...
308
+ # Windows.Foundation.Collections.IVector`1<System.String> Windows.Storage.FileProperties.MusicProperties::get_Producers()
309
+ @_property
310
+ def producers(self) -> _cabc.MutableSequence[str]: ...
311
+ # Windows.Foundation.Collections.IVector`1<System.String> Windows.Storage.FileProperties.MusicProperties::get_Writers()
312
+ @_property
313
+ def writers(self) -> _cabc.MutableSequence[str]: ...
314
+
315
+ @typing.final
316
+ class StorageItemContentProperties(IStorageItemExtraProperties, winrt.system.Object):
317
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
318
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
319
+ # Windows.Foundation.IAsyncOperation`1<Windows.Storage.FileProperties.DocumentProperties> Windows.Storage.FileProperties.StorageItemContentProperties::GetDocumentPropertiesAsync()
320
+ def get_document_properties_async(self) -> windows_foundation.IAsyncOperation[DocumentProperties]: ...
321
+ # Windows.Foundation.IAsyncOperation`1<Windows.Storage.FileProperties.ImageProperties> Windows.Storage.FileProperties.StorageItemContentProperties::GetImagePropertiesAsync()
322
+ def get_image_properties_async(self) -> windows_foundation.IAsyncOperation[ImageProperties]: ...
323
+ # Windows.Foundation.IAsyncOperation`1<Windows.Storage.FileProperties.MusicProperties> Windows.Storage.FileProperties.StorageItemContentProperties::GetMusicPropertiesAsync()
324
+ def get_music_properties_async(self) -> windows_foundation.IAsyncOperation[MusicProperties]: ...
325
+ # Windows.Foundation.IAsyncOperation`1<Windows.Storage.FileProperties.VideoProperties> Windows.Storage.FileProperties.StorageItemContentProperties::GetVideoPropertiesAsync()
326
+ def get_video_properties_async(self) -> windows_foundation.IAsyncOperation[VideoProperties]: ...
327
+ # Windows.Foundation.IAsyncOperation`1<Windows.Foundation.Collections.IMap`2<System.String,System.Object>> Windows.Storage.FileProperties.StorageItemContentProperties::RetrievePropertiesAsync(Windows.Foundation.Collections.IIterable`1<System.String>)
328
+ def retrieve_properties_async(self, properties_to_retrieve: _cabc.Iterable[str] | None, /) -> windows_foundation.IAsyncOperation[_cabc.MutableMapping[str, winrt.system.Object]]: ...
329
+ @typing.overload
330
+ # Windows.Foundation.IAsyncAction Windows.Storage.FileProperties.StorageItemContentProperties::SavePropertiesAsync()
331
+ def save_properties_async(self) -> windows_foundation.IAsyncAction: ...
332
+ @typing.overload
333
+ # Windows.Foundation.IAsyncAction Windows.Storage.FileProperties.StorageItemContentProperties::SavePropertiesAsync(Windows.Foundation.Collections.IIterable`1<Windows.Foundation.Collections.IKeyValuePair`2<System.String,System.Object>>)
334
+ def save_properties_async(self, properties_to_save: _cabc.Mapping[str, winrt.system.Object] | _cabc.Iterable[windows_foundation_collections.IKeyValuePair[str, winrt.system.Object]], /) -> windows_foundation.IAsyncAction: ...
335
+ # Deprecated alias of save_properties_async() for pywinrt v3.x compatibility.
336
+ # Windows.Foundation.IAsyncAction Windows.Storage.FileProperties.StorageItemContentProperties::SavePropertiesAsync()
337
+ @deprecated("Use save_properties_async() instead.")
338
+ def save_properties_async_overload_default(self) -> windows_foundation.IAsyncAction: ...
339
+
340
+ @typing.final
341
+ class StorageItemThumbnail(windows_storage_streams.IRandomAccessStreamWithContentType, windows_storage_streams.IContentTypeProvider, windows_storage_streams.IRandomAccessStream, windows_storage_streams.IOutputStream, windows_storage_streams.IInputStream, windows_foundation.IClosable, winrt.system.Object):
342
+ def __enter__(self) -> typing.Self: ...
343
+ def __exit__(self, exc_type: type[BaseException] | None, exc_value: BaseException | None, traceback: types.TracebackType | None) -> None: ...
344
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
345
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
346
+ # Windows.Storage.Streams.IRandomAccessStream Windows.Storage.FileProperties.StorageItemThumbnail::CloneStream()
347
+ def clone_stream(self) -> windows_storage_streams.IRandomAccessStream: ...
348
+ # System.Void Windows.Storage.FileProperties.StorageItemThumbnail::Close()
349
+ def close(self) -> None: ...
350
+ # Windows.Foundation.IAsyncOperation`1<System.Boolean> Windows.Storage.FileProperties.StorageItemThumbnail::FlushAsync()
351
+ def flush_async(self) -> windows_foundation.IAsyncOperation[bool]: ...
352
+ # Windows.Storage.Streams.IInputStream Windows.Storage.FileProperties.StorageItemThumbnail::GetInputStreamAt(System.UInt64)
353
+ def get_input_stream_at(self, position: winrt.system.UInt64 | typing.SupportsIndex, /) -> windows_storage_streams.IInputStream: ...
354
+ # Windows.Storage.Streams.IOutputStream Windows.Storage.FileProperties.StorageItemThumbnail::GetOutputStreamAt(System.UInt64)
355
+ def get_output_stream_at(self, position: winrt.system.UInt64 | typing.SupportsIndex, /) -> windows_storage_streams.IOutputStream: ...
356
+ # Windows.Foundation.IAsyncOperationWithProgress`2<Windows.Storage.Streams.IBuffer,System.UInt32> Windows.Storage.FileProperties.StorageItemThumbnail::ReadAsync(Windows.Storage.Streams.IBuffer,System.UInt32,Windows.Storage.Streams.InputStreamOptions)
357
+ def read_async(self, buffer: winrt.system.WriteableBuffer, count: winrt.system.UInt32 | typing.SupportsIndex, options: windows_storage_streams.InputStreamOptions, /) -> windows_foundation.IAsyncOperationWithProgress[windows_storage_streams.IBuffer, winrt.system.UInt32]: ...
358
+ # System.Void Windows.Storage.FileProperties.StorageItemThumbnail::Seek(System.UInt64)
359
+ def seek(self, position: winrt.system.UInt64 | typing.SupportsIndex, /) -> None: ...
360
+ # Windows.Foundation.IAsyncOperationWithProgress`2<System.UInt32,System.UInt32> Windows.Storage.FileProperties.StorageItemThumbnail::WriteAsync(Windows.Storage.Streams.IBuffer)
361
+ def write_async(self, buffer: winrt.system.ReadableBuffer, /) -> windows_foundation.IAsyncOperationWithProgress[winrt.system.UInt32, winrt.system.UInt32]: ...
362
+ # System.UInt32 Windows.Storage.FileProperties.StorageItemThumbnail::get_OriginalHeight()
363
+ @_property
364
+ def original_height(self) -> winrt.system.UInt32: ...
365
+ # System.UInt32 Windows.Storage.FileProperties.StorageItemThumbnail::get_OriginalWidth()
366
+ @_property
367
+ def original_width(self) -> winrt.system.UInt32: ...
368
+ # System.Boolean Windows.Storage.FileProperties.StorageItemThumbnail::get_ReturnedSmallerCachedSize()
369
+ @_property
370
+ def returned_smaller_cached_size(self) -> bool: ...
371
+ # Windows.Storage.FileProperties.ThumbnailType Windows.Storage.FileProperties.StorageItemThumbnail::get_Type()
372
+ @_property
373
+ def type(self) -> ThumbnailType: ...
374
+ # System.String Windows.Storage.FileProperties.StorageItemThumbnail::get_ContentType()
375
+ @_property
376
+ def content_type(self) -> str: ...
377
+ # System.UInt64 Windows.Storage.FileProperties.StorageItemThumbnail::get_Size()
378
+ @_property
379
+ def size(self) -> winrt.system.UInt64: ...
380
+ # System.Void Windows.Storage.FileProperties.StorageItemThumbnail::put_Size(System.UInt64)
381
+ @size.setter
382
+ def size(self, value: winrt.system.UInt64 | typing.SupportsIndex) -> None: ...
383
+ # System.Boolean Windows.Storage.FileProperties.StorageItemThumbnail::get_CanRead()
384
+ @_property
385
+ def can_read(self) -> bool: ...
386
+ # System.Boolean Windows.Storage.FileProperties.StorageItemThumbnail::get_CanWrite()
387
+ @_property
388
+ def can_write(self) -> bool: ...
389
+ # System.UInt64 Windows.Storage.FileProperties.StorageItemThumbnail::get_Position()
390
+ @_property
391
+ def position(self) -> winrt.system.UInt64: ...
392
+
393
+ @typing.final
394
+ class VideoProperties(IStorageItemExtraProperties, winrt.system.Object):
395
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
396
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
397
+ # Windows.Foundation.IAsyncOperation`1<Windows.Foundation.Collections.IMap`2<System.String,System.Object>> Windows.Storage.FileProperties.VideoProperties::RetrievePropertiesAsync(Windows.Foundation.Collections.IIterable`1<System.String>)
398
+ def retrieve_properties_async(self, properties_to_retrieve: _cabc.Iterable[str] | None, /) -> windows_foundation.IAsyncOperation[_cabc.MutableMapping[str, winrt.system.Object]]: ...
399
+ @typing.overload
400
+ # Windows.Foundation.IAsyncAction Windows.Storage.FileProperties.VideoProperties::SavePropertiesAsync()
401
+ def save_properties_async(self) -> windows_foundation.IAsyncAction: ...
402
+ @typing.overload
403
+ # Windows.Foundation.IAsyncAction Windows.Storage.FileProperties.VideoProperties::SavePropertiesAsync(Windows.Foundation.Collections.IIterable`1<Windows.Foundation.Collections.IKeyValuePair`2<System.String,System.Object>>)
404
+ def save_properties_async(self, properties_to_save: _cabc.Mapping[str, winrt.system.Object] | _cabc.Iterable[windows_foundation_collections.IKeyValuePair[str, winrt.system.Object]], /) -> windows_foundation.IAsyncAction: ...
405
+ # Deprecated alias of save_properties_async() for pywinrt v3.x compatibility.
406
+ # Windows.Foundation.IAsyncAction Windows.Storage.FileProperties.VideoProperties::SavePropertiesAsync()
407
+ @deprecated("Use save_properties_async() instead.")
408
+ def save_properties_async_overload_default(self) -> windows_foundation.IAsyncAction: ...
409
+ # System.UInt32 Windows.Storage.FileProperties.VideoProperties::get_Year()
410
+ @_property
411
+ def year(self) -> winrt.system.UInt32: ...
412
+ # System.Void Windows.Storage.FileProperties.VideoProperties::put_Year(System.UInt32)
413
+ @year.setter
414
+ def year(self, value: winrt.system.UInt32 | typing.SupportsIndex) -> None: ...
415
+ # System.String Windows.Storage.FileProperties.VideoProperties::get_Title()
416
+ @_property
417
+ def title(self) -> str: ...
418
+ # System.Void Windows.Storage.FileProperties.VideoProperties::put_Title(System.String)
419
+ @title.setter
420
+ def title(self, value: str) -> None: ...
421
+ # System.String Windows.Storage.FileProperties.VideoProperties::get_Subtitle()
422
+ @_property
423
+ def subtitle(self) -> str: ...
424
+ # System.Void Windows.Storage.FileProperties.VideoProperties::put_Subtitle(System.String)
425
+ @subtitle.setter
426
+ def subtitle(self, value: str) -> None: ...
427
+ # System.UInt32 Windows.Storage.FileProperties.VideoProperties::get_Rating()
428
+ @_property
429
+ def rating(self) -> winrt.system.UInt32: ...
430
+ # System.Void Windows.Storage.FileProperties.VideoProperties::put_Rating(System.UInt32)
431
+ @rating.setter
432
+ def rating(self, value: winrt.system.UInt32 | typing.SupportsIndex) -> None: ...
433
+ # System.String Windows.Storage.FileProperties.VideoProperties::get_Publisher()
434
+ @_property
435
+ def publisher(self) -> str: ...
436
+ # System.Void Windows.Storage.FileProperties.VideoProperties::put_Publisher(System.String)
437
+ @publisher.setter
438
+ def publisher(self, value: str) -> None: ...
439
+ # System.UInt32 Windows.Storage.FileProperties.VideoProperties::get_Bitrate()
440
+ @_property
441
+ def bitrate(self) -> winrt.system.UInt32: ...
442
+ # Windows.Foundation.Collections.IVector`1<System.String> Windows.Storage.FileProperties.VideoProperties::get_Directors()
443
+ @_property
444
+ def directors(self) -> _cabc.MutableSequence[str]: ...
445
+ # Windows.Foundation.TimeSpan Windows.Storage.FileProperties.VideoProperties::get_Duration()
446
+ @_property
447
+ def duration(self) -> datetime.timedelta: ...
448
+ # System.UInt32 Windows.Storage.FileProperties.VideoProperties::get_Height()
449
+ @_property
450
+ def height(self) -> winrt.system.UInt32: ...
451
+ # Windows.Foundation.Collections.IVector`1<System.String> Windows.Storage.FileProperties.VideoProperties::get_Keywords()
452
+ @_property
453
+ def keywords(self) -> _cabc.MutableSequence[str]: ...
454
+ # Windows.Foundation.IReference`1<System.Double> Windows.Storage.FileProperties.VideoProperties::get_Latitude()
455
+ @_property
456
+ def latitude(self) -> winrt.system.Double | None: ...
457
+ # Windows.Foundation.IReference`1<System.Double> Windows.Storage.FileProperties.VideoProperties::get_Longitude()
458
+ @_property
459
+ def longitude(self) -> winrt.system.Double | None: ...
460
+ # Windows.Storage.FileProperties.VideoOrientation Windows.Storage.FileProperties.VideoProperties::get_Orientation()
461
+ @_property
462
+ def orientation(self) -> VideoOrientation: ...
463
+ # Windows.Foundation.Collections.IVector`1<System.String> Windows.Storage.FileProperties.VideoProperties::get_Producers()
464
+ @_property
465
+ def producers(self) -> _cabc.MutableSequence[str]: ...
466
+ # System.UInt32 Windows.Storage.FileProperties.VideoProperties::get_Width()
467
+ @_property
468
+ def width(self) -> winrt.system.UInt32: ...
469
+ # Windows.Foundation.Collections.IVector`1<System.String> Windows.Storage.FileProperties.VideoProperties::get_Writers()
470
+ @_property
471
+ def writers(self) -> _cabc.MutableSequence[str]: ...
472
+
473
+ class IStorageItemExtraProperties(winrt.system.Object):
474
+ # Windows.Foundation.IAsyncOperation`1<Windows.Foundation.Collections.IMap`2<System.String,System.Object>> Windows.Storage.FileProperties.IStorageItemExtraProperties::RetrievePropertiesAsync(Windows.Foundation.Collections.IIterable`1<System.String>)
475
+ @abstractmethod
476
+ def retrieve_properties_async(self, properties_to_retrieve: _cabc.Iterable[str] | None, /) -> windows_foundation.IAsyncOperation[_cabc.MutableMapping[str, winrt.system.Object]]: ...
477
+ @typing.overload
478
+ # Windows.Foundation.IAsyncAction Windows.Storage.FileProperties.IStorageItemExtraProperties::SavePropertiesAsync()
479
+ @abstractmethod
480
+ def save_properties_async(self) -> windows_foundation.IAsyncAction: ...
481
+ @typing.overload
482
+ # Windows.Foundation.IAsyncAction Windows.Storage.FileProperties.IStorageItemExtraProperties::SavePropertiesAsync(Windows.Foundation.Collections.IIterable`1<Windows.Foundation.Collections.IKeyValuePair`2<System.String,System.Object>>)
483
+ @abstractmethod
484
+ def save_properties_async(self, properties_to_save: _cabc.Mapping[str, winrt.system.Object] | _cabc.Iterable[windows_foundation_collections.IKeyValuePair[str, winrt.system.Object]], /) -> windows_foundation.IAsyncAction: ...
485
+ # Deprecated alias of save_properties_async() for pywinrt v3.x compatibility.
486
+ # Windows.Foundation.IAsyncAction Windows.Storage.FileProperties.IStorageItemExtraProperties::SavePropertiesAsync()
487
+ @deprecated("Use save_properties_async() instead.")
488
+ def save_properties_async_overload_default(self) -> windows_foundation.IAsyncAction: ...
489
+
File without changes
@@ -0,0 +1,50 @@
1
+ Metadata-Version: 2.5
2
+ Name: winrt-Windows.Storage.FileProperties
3
+ Version: 4!10.0.28000.2705
4
+ Summary: PyWinRT projection of the Windows.Storage.FileProperties 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
+ Requires-Dist: winrt-windows-storage-streams>=4!10.0.28000.2705
26
+ Provides-Extra: all
27
+ Requires-Dist: winrt-windows-devices-geolocation[all]>=4!10.0.28000.2705; extra == 'all'
28
+ Requires-Dist: winrt-windows-foundation-collections[all]>=4!10.0.28000.2705; extra == 'all'
29
+ Requires-Dist: winrt-windows-foundation[all]>=4!10.0.28000.2705; extra == 'all'
30
+ Requires-Dist: winrt-windows-storage-streams[all]>=4!10.0.28000.2705; extra == 'all'
31
+ Requires-Dist: winrt-windows-storage[all]>=4!10.0.28000.2705; extra == 'all'
32
+ Description-Content-Type: text/markdown
33
+
34
+ <!-- warning: Please don't edit this file. It was automatically generated. -->
35
+
36
+ # winrt-Windows.Storage.FileProperties
37
+
38
+ Windows Runtime (WinRT) APIs for the `Windows.Storage.FileProperties` namespace.
39
+
40
+ This package provides the `winrt.windows.storage.fileproperties` module.
41
+
42
+ The WinRT APIs in it are those of version 10.0.28000.2705 of the
43
+ `Microsoft.Windows.SDK.CPP` NuGet package.
44
+
45
+ ```
46
+ pip install winrt-Windows.Storage.FileProperties
47
+ ```
48
+
49
+ Other WinRT namespaces are packages of their own, so install the package of
50
+ each namespace your code imports from.
@@ -0,0 +1,8 @@
1
+ winrt/windows/storage/fileproperties/__init__.py,sha256=yolTFAmnlbhkUI2dAV_1fo9gcnArAWPP0OZu0SvVEKw,1459
2
+ winrt/windows/storage/fileproperties/__init__.pyi,sha256=Mo5VKIOHx1N86B8h_WVA5wmsKU54eMk-XbZU3FKt8T0,32605
3
+ winrt/windows/storage/fileproperties/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
+ winrt/windows/storage/fileproperties/_table.pywinrt,sha256=rb8jQb8h8IVofSLeXSrXayOwVs6C7CXdlVj-7p8Bhg0,43704
5
+ winrt_windows_storage_fileproperties-4!10.0.28000.2705.dist-info/METADATA,sha256=Y1WWrAR4EmEoPEuJpJ-Ypg_5NxQcbokRCH2SevQ1GjY,2304
6
+ winrt_windows_storage_fileproperties-4!10.0.28000.2705.dist-info/WHEEL,sha256=W3fkpkm7-wf9vBI5Z-7s0eWkeM-spu78I8Neb98DeEg,87
7
+ winrt_windows_storage_fileproperties-4!10.0.28000.2705.dist-info/licenses/LICENSE,sha256=dyVKOMqPV0fimbzMhqN3zpg6K6Y2OlekwrdfiZTBm8M,1225
8
+ winrt_windows_storage_fileproperties-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