winrt-Windows.Storage.FileProperties 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.
@@ -0,0 +1,378 @@
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.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
+ from winrt.windows.storage.fileproperties import PhotoOrientation, PropertyPrefetchOptions, ThumbnailMode, ThumbnailOptions, ThumbnailType, VideoOrientation
20
+
21
+ Self = typing.TypeVar('Self')
22
+
23
+ @typing.final
24
+ class BasicProperties(winrt.system.Object, IStorageItemExtraProperties):
25
+ # 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>)
26
+ def retrieve_properties_async(self, properties_to_retrieve: typing.Iterable[str], /) -> windows_foundation.IAsyncOperation[typing.MutableMapping[str, winrt.system.Object]]: ...
27
+ # Windows.Foundation.IAsyncAction Windows.Storage.FileProperties.BasicProperties::SavePropertiesAsync(Windows.Foundation.Collections.IIterable`1<Windows.Foundation.Collections.IKeyValuePair`2<System.String,System.Object>>)
28
+ def save_properties_async(self, properties_to_save: typing.Union[typing.Mapping[str, winrt.system.Object], typing.Iterable[windows_foundation_collections.IKeyValuePair[str, winrt.system.Object]]], /) -> windows_foundation.IAsyncAction: ...
29
+ # Windows.Foundation.IAsyncAction Windows.Storage.FileProperties.BasicProperties::SavePropertiesAsync()
30
+ def save_properties_async_overload_default(self) -> windows_foundation.IAsyncAction: ...
31
+ # Windows.Foundation.DateTime Windows.Storage.FileProperties.BasicProperties::get_DateModified()
32
+ @_property
33
+ def date_modified(self) -> datetime.datetime: ...
34
+ # Windows.Foundation.DateTime Windows.Storage.FileProperties.BasicProperties::get_ItemDate()
35
+ @_property
36
+ def item_date(self) -> datetime.datetime: ...
37
+ # System.UInt64 Windows.Storage.FileProperties.BasicProperties::get_Size()
38
+ @_property
39
+ def size(self) -> winrt.system.UInt64: ...
40
+
41
+ @typing.final
42
+ class DocumentProperties(winrt.system.Object, IStorageItemExtraProperties):
43
+ # 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>)
44
+ def retrieve_properties_async(self, properties_to_retrieve: typing.Iterable[str], /) -> windows_foundation.IAsyncOperation[typing.MutableMapping[str, winrt.system.Object]]: ...
45
+ # Windows.Foundation.IAsyncAction Windows.Storage.FileProperties.DocumentProperties::SavePropertiesAsync(Windows.Foundation.Collections.IIterable`1<Windows.Foundation.Collections.IKeyValuePair`2<System.String,System.Object>>)
46
+ def save_properties_async(self, properties_to_save: typing.Union[typing.Mapping[str, winrt.system.Object], typing.Iterable[windows_foundation_collections.IKeyValuePair[str, winrt.system.Object]]], /) -> windows_foundation.IAsyncAction: ...
47
+ # Windows.Foundation.IAsyncAction Windows.Storage.FileProperties.DocumentProperties::SavePropertiesAsync()
48
+ def save_properties_async_overload_default(self) -> windows_foundation.IAsyncAction: ...
49
+ # System.String Windows.Storage.FileProperties.DocumentProperties::get_Title()
50
+ @_property
51
+ def title(self) -> str: ...
52
+ # System.Void Windows.Storage.FileProperties.DocumentProperties::put_Title(System.String)
53
+ @title.setter
54
+ def title(self, value: str) -> None: ...
55
+ # System.String Windows.Storage.FileProperties.DocumentProperties::get_Comment()
56
+ @_property
57
+ def comment(self) -> str: ...
58
+ # System.Void Windows.Storage.FileProperties.DocumentProperties::put_Comment(System.String)
59
+ @comment.setter
60
+ def comment(self, value: str) -> None: ...
61
+ # Windows.Foundation.Collections.IVector`1<System.String> Windows.Storage.FileProperties.DocumentProperties::get_Author()
62
+ @_property
63
+ def author(self) -> typing.MutableSequence[str]: ...
64
+ # Windows.Foundation.Collections.IVector`1<System.String> Windows.Storage.FileProperties.DocumentProperties::get_Keywords()
65
+ @_property
66
+ def keywords(self) -> typing.MutableSequence[str]: ...
67
+
68
+ @typing.final
69
+ class GeotagHelper_Static(winrt._winrt.IInspectable_Static):
70
+ # Windows.Foundation.IAsyncOperation`1<Windows.Devices.Geolocation.Geopoint> Windows.Storage.FileProperties.GeotagHelper::GetGeotagAsync(Windows.Storage.IStorageFile)
71
+ def get_geotag_async(cls, file: windows_storage.IStorageFile, /) -> windows_foundation.IAsyncOperation[windows_devices_geolocation.Geopoint]: ...
72
+ # Windows.Foundation.IAsyncAction Windows.Storage.FileProperties.GeotagHelper::SetGeotagAsync(Windows.Storage.IStorageFile,Windows.Devices.Geolocation.Geopoint)
73
+ def set_geotag_async(cls, file: windows_storage.IStorageFile, geopoint: windows_devices_geolocation.Geopoint, /) -> windows_foundation.IAsyncAction: ...
74
+ # Windows.Foundation.IAsyncAction Windows.Storage.FileProperties.GeotagHelper::SetGeotagFromGeolocatorAsync(Windows.Storage.IStorageFile,Windows.Devices.Geolocation.Geolocator)
75
+ def set_geotag_from_geolocator_async(cls, file: windows_storage.IStorageFile, geolocator: windows_devices_geolocation.Geolocator, /) -> windows_foundation.IAsyncAction: ...
76
+
77
+ @typing.final
78
+ class GeotagHelper(winrt.system.Object, metaclass=GeotagHelper_Static):
79
+ pass
80
+
81
+ @typing.final
82
+ class ImageProperties(winrt.system.Object, IStorageItemExtraProperties):
83
+ # 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>)
84
+ def retrieve_properties_async(self, properties_to_retrieve: typing.Iterable[str], /) -> windows_foundation.IAsyncOperation[typing.MutableMapping[str, winrt.system.Object]]: ...
85
+ # Windows.Foundation.IAsyncAction Windows.Storage.FileProperties.ImageProperties::SavePropertiesAsync(Windows.Foundation.Collections.IIterable`1<Windows.Foundation.Collections.IKeyValuePair`2<System.String,System.Object>>)
86
+ def save_properties_async(self, properties_to_save: typing.Union[typing.Mapping[str, winrt.system.Object], typing.Iterable[windows_foundation_collections.IKeyValuePair[str, winrt.system.Object]]], /) -> windows_foundation.IAsyncAction: ...
87
+ # Windows.Foundation.IAsyncAction Windows.Storage.FileProperties.ImageProperties::SavePropertiesAsync()
88
+ def save_properties_async_overload_default(self) -> windows_foundation.IAsyncAction: ...
89
+ # System.String Windows.Storage.FileProperties.ImageProperties::get_Title()
90
+ @_property
91
+ def title(self) -> str: ...
92
+ # System.Void Windows.Storage.FileProperties.ImageProperties::put_Title(System.String)
93
+ @title.setter
94
+ def title(self, value: str) -> None: ...
95
+ # System.UInt32 Windows.Storage.FileProperties.ImageProperties::get_Rating()
96
+ @_property
97
+ def rating(self) -> winrt.system.UInt32: ...
98
+ # System.Void Windows.Storage.FileProperties.ImageProperties::put_Rating(System.UInt32)
99
+ @rating.setter
100
+ def rating(self, value: winrt.system.UInt32) -> None: ...
101
+ # Windows.Foundation.DateTime Windows.Storage.FileProperties.ImageProperties::get_DateTaken()
102
+ @_property
103
+ def date_taken(self) -> datetime.datetime: ...
104
+ # System.Void Windows.Storage.FileProperties.ImageProperties::put_DateTaken(Windows.Foundation.DateTime)
105
+ @date_taken.setter
106
+ def date_taken(self, value: datetime.datetime) -> None: ...
107
+ # System.String Windows.Storage.FileProperties.ImageProperties::get_CameraModel()
108
+ @_property
109
+ def camera_model(self) -> str: ...
110
+ # System.Void Windows.Storage.FileProperties.ImageProperties::put_CameraModel(System.String)
111
+ @camera_model.setter
112
+ def camera_model(self, value: str) -> None: ...
113
+ # System.String Windows.Storage.FileProperties.ImageProperties::get_CameraManufacturer()
114
+ @_property
115
+ def camera_manufacturer(self) -> str: ...
116
+ # System.Void Windows.Storage.FileProperties.ImageProperties::put_CameraManufacturer(System.String)
117
+ @camera_manufacturer.setter
118
+ def camera_manufacturer(self, value: str) -> None: ...
119
+ # System.UInt32 Windows.Storage.FileProperties.ImageProperties::get_Height()
120
+ @_property
121
+ def height(self) -> winrt.system.UInt32: ...
122
+ # Windows.Foundation.Collections.IVector`1<System.String> Windows.Storage.FileProperties.ImageProperties::get_Keywords()
123
+ @_property
124
+ def keywords(self) -> typing.MutableSequence[str]: ...
125
+ # Windows.Foundation.IReference`1<System.Double> Windows.Storage.FileProperties.ImageProperties::get_Latitude()
126
+ @_property
127
+ def latitude(self) -> typing.Optional[winrt.system.Double]: ...
128
+ # Windows.Foundation.IReference`1<System.Double> Windows.Storage.FileProperties.ImageProperties::get_Longitude()
129
+ @_property
130
+ def longitude(self) -> typing.Optional[winrt.system.Double]: ...
131
+ # Windows.Storage.FileProperties.PhotoOrientation Windows.Storage.FileProperties.ImageProperties::get_Orientation()
132
+ @_property
133
+ def orientation(self) -> PhotoOrientation: ...
134
+ # Windows.Foundation.Collections.IVectorView`1<System.String> Windows.Storage.FileProperties.ImageProperties::get_PeopleNames()
135
+ @_property
136
+ def people_names(self) -> typing.Sequence[str]: ...
137
+ # System.UInt32 Windows.Storage.FileProperties.ImageProperties::get_Width()
138
+ @_property
139
+ def width(self) -> winrt.system.UInt32: ...
140
+
141
+ @typing.final
142
+ class MusicProperties(winrt.system.Object, IStorageItemExtraProperties):
143
+ # 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>)
144
+ def retrieve_properties_async(self, properties_to_retrieve: typing.Iterable[str], /) -> windows_foundation.IAsyncOperation[typing.MutableMapping[str, winrt.system.Object]]: ...
145
+ # Windows.Foundation.IAsyncAction Windows.Storage.FileProperties.MusicProperties::SavePropertiesAsync(Windows.Foundation.Collections.IIterable`1<Windows.Foundation.Collections.IKeyValuePair`2<System.String,System.Object>>)
146
+ def save_properties_async(self, properties_to_save: typing.Union[typing.Mapping[str, winrt.system.Object], typing.Iterable[windows_foundation_collections.IKeyValuePair[str, winrt.system.Object]]], /) -> windows_foundation.IAsyncAction: ...
147
+ # Windows.Foundation.IAsyncAction Windows.Storage.FileProperties.MusicProperties::SavePropertiesAsync()
148
+ def save_properties_async_overload_default(self) -> windows_foundation.IAsyncAction: ...
149
+ # System.UInt32 Windows.Storage.FileProperties.MusicProperties::get_Year()
150
+ @_property
151
+ def year(self) -> winrt.system.UInt32: ...
152
+ # System.Void Windows.Storage.FileProperties.MusicProperties::put_Year(System.UInt32)
153
+ @year.setter
154
+ def year(self, value: winrt.system.UInt32) -> None: ...
155
+ # System.UInt32 Windows.Storage.FileProperties.MusicProperties::get_TrackNumber()
156
+ @_property
157
+ def track_number(self) -> winrt.system.UInt32: ...
158
+ # System.Void Windows.Storage.FileProperties.MusicProperties::put_TrackNumber(System.UInt32)
159
+ @track_number.setter
160
+ def track_number(self, value: winrt.system.UInt32) -> None: ...
161
+ # System.String Windows.Storage.FileProperties.MusicProperties::get_Title()
162
+ @_property
163
+ def title(self) -> str: ...
164
+ # System.Void Windows.Storage.FileProperties.MusicProperties::put_Title(System.String)
165
+ @title.setter
166
+ def title(self, value: str) -> None: ...
167
+ # System.String Windows.Storage.FileProperties.MusicProperties::get_Subtitle()
168
+ @_property
169
+ def subtitle(self) -> str: ...
170
+ # System.Void Windows.Storage.FileProperties.MusicProperties::put_Subtitle(System.String)
171
+ @subtitle.setter
172
+ def subtitle(self, value: str) -> None: ...
173
+ # System.UInt32 Windows.Storage.FileProperties.MusicProperties::get_Rating()
174
+ @_property
175
+ def rating(self) -> winrt.system.UInt32: ...
176
+ # System.Void Windows.Storage.FileProperties.MusicProperties::put_Rating(System.UInt32)
177
+ @rating.setter
178
+ def rating(self, value: winrt.system.UInt32) -> None: ...
179
+ # System.String Windows.Storage.FileProperties.MusicProperties::get_Publisher()
180
+ @_property
181
+ def publisher(self) -> str: ...
182
+ # System.Void Windows.Storage.FileProperties.MusicProperties::put_Publisher(System.String)
183
+ @publisher.setter
184
+ def publisher(self, value: str) -> None: ...
185
+ # System.String Windows.Storage.FileProperties.MusicProperties::get_Artist()
186
+ @_property
187
+ def artist(self) -> str: ...
188
+ # System.Void Windows.Storage.FileProperties.MusicProperties::put_Artist(System.String)
189
+ @artist.setter
190
+ def artist(self, value: str) -> None: ...
191
+ # System.String Windows.Storage.FileProperties.MusicProperties::get_AlbumArtist()
192
+ @_property
193
+ def album_artist(self) -> str: ...
194
+ # System.Void Windows.Storage.FileProperties.MusicProperties::put_AlbumArtist(System.String)
195
+ @album_artist.setter
196
+ def album_artist(self, value: str) -> None: ...
197
+ # System.String Windows.Storage.FileProperties.MusicProperties::get_Album()
198
+ @_property
199
+ def album(self) -> str: ...
200
+ # System.Void Windows.Storage.FileProperties.MusicProperties::put_Album(System.String)
201
+ @album.setter
202
+ def album(self, value: str) -> None: ...
203
+ # System.UInt32 Windows.Storage.FileProperties.MusicProperties::get_Bitrate()
204
+ @_property
205
+ def bitrate(self) -> winrt.system.UInt32: ...
206
+ # Windows.Foundation.Collections.IVector`1<System.String> Windows.Storage.FileProperties.MusicProperties::get_Composers()
207
+ @_property
208
+ def composers(self) -> typing.MutableSequence[str]: ...
209
+ # Windows.Foundation.Collections.IVector`1<System.String> Windows.Storage.FileProperties.MusicProperties::get_Conductors()
210
+ @_property
211
+ def conductors(self) -> typing.MutableSequence[str]: ...
212
+ # Windows.Foundation.TimeSpan Windows.Storage.FileProperties.MusicProperties::get_Duration()
213
+ @_property
214
+ def duration(self) -> datetime.timedelta: ...
215
+ # Windows.Foundation.Collections.IVector`1<System.String> Windows.Storage.FileProperties.MusicProperties::get_Genre()
216
+ @_property
217
+ def genre(self) -> typing.MutableSequence[str]: ...
218
+ # Windows.Foundation.Collections.IVector`1<System.String> Windows.Storage.FileProperties.MusicProperties::get_Producers()
219
+ @_property
220
+ def producers(self) -> typing.MutableSequence[str]: ...
221
+ # Windows.Foundation.Collections.IVector`1<System.String> Windows.Storage.FileProperties.MusicProperties::get_Writers()
222
+ @_property
223
+ def writers(self) -> typing.MutableSequence[str]: ...
224
+
225
+ @typing.final
226
+ class StorageItemContentProperties(winrt.system.Object, IStorageItemExtraProperties):
227
+ # Windows.Foundation.IAsyncOperation`1<Windows.Storage.FileProperties.DocumentProperties> Windows.Storage.FileProperties.StorageItemContentProperties::GetDocumentPropertiesAsync()
228
+ def get_document_properties_async(self) -> windows_foundation.IAsyncOperation[DocumentProperties]: ...
229
+ # Windows.Foundation.IAsyncOperation`1<Windows.Storage.FileProperties.ImageProperties> Windows.Storage.FileProperties.StorageItemContentProperties::GetImagePropertiesAsync()
230
+ def get_image_properties_async(self) -> windows_foundation.IAsyncOperation[ImageProperties]: ...
231
+ # Windows.Foundation.IAsyncOperation`1<Windows.Storage.FileProperties.MusicProperties> Windows.Storage.FileProperties.StorageItemContentProperties::GetMusicPropertiesAsync()
232
+ def get_music_properties_async(self) -> windows_foundation.IAsyncOperation[MusicProperties]: ...
233
+ # Windows.Foundation.IAsyncOperation`1<Windows.Storage.FileProperties.VideoProperties> Windows.Storage.FileProperties.StorageItemContentProperties::GetVideoPropertiesAsync()
234
+ def get_video_properties_async(self) -> windows_foundation.IAsyncOperation[VideoProperties]: ...
235
+ # 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>)
236
+ def retrieve_properties_async(self, properties_to_retrieve: typing.Iterable[str], /) -> windows_foundation.IAsyncOperation[typing.MutableMapping[str, winrt.system.Object]]: ...
237
+ # Windows.Foundation.IAsyncAction Windows.Storage.FileProperties.StorageItemContentProperties::SavePropertiesAsync(Windows.Foundation.Collections.IIterable`1<Windows.Foundation.Collections.IKeyValuePair`2<System.String,System.Object>>)
238
+ def save_properties_async(self, properties_to_save: typing.Union[typing.Mapping[str, winrt.system.Object], typing.Iterable[windows_foundation_collections.IKeyValuePair[str, winrt.system.Object]]], /) -> windows_foundation.IAsyncAction: ...
239
+ # Windows.Foundation.IAsyncAction Windows.Storage.FileProperties.StorageItemContentProperties::SavePropertiesAsync()
240
+ def save_properties_async_overload_default(self) -> windows_foundation.IAsyncAction: ...
241
+
242
+ @typing.final
243
+ class StorageItemThumbnail(winrt.system.Object, windows_storage_streams.IRandomAccessStreamWithContentType, windows_storage_streams.IContentTypeProvider, windows_storage_streams.IRandomAccessStream, windows_storage_streams.IOutputStream, windows_storage_streams.IInputStream, windows_foundation.IClosable):
244
+ def __enter__(self: Self) -> Self: ...
245
+ def __exit__(self, exc_type: typing.Optional[typing.Type[BaseException]], exc_value: typing.Optional[BaseException], traceback: typing.Optional[types.TracebackType]) -> None: ...
246
+ # Windows.Storage.Streams.IRandomAccessStream Windows.Storage.FileProperties.StorageItemThumbnail::CloneStream()
247
+ def clone_stream(self) -> windows_storage_streams.IRandomAccessStream: ...
248
+ # System.Void Windows.Storage.FileProperties.StorageItemThumbnail::Close()
249
+ def close(self) -> None: ...
250
+ # Windows.Foundation.IAsyncOperation`1<System.Boolean> Windows.Storage.FileProperties.StorageItemThumbnail::FlushAsync()
251
+ def flush_async(self) -> windows_foundation.IAsyncOperation[bool]: ...
252
+ # Windows.Storage.Streams.IInputStream Windows.Storage.FileProperties.StorageItemThumbnail::GetInputStreamAt(System.UInt64)
253
+ def get_input_stream_at(self, position: winrt.system.UInt64, /) -> windows_storage_streams.IInputStream: ...
254
+ # Windows.Storage.Streams.IOutputStream Windows.Storage.FileProperties.StorageItemThumbnail::GetOutputStreamAt(System.UInt64)
255
+ def get_output_stream_at(self, position: winrt.system.UInt64, /) -> windows_storage_streams.IOutputStream: ...
256
+ # 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)
257
+ def read_async(self, buffer: winrt.system.Buffer, count: winrt.system.UInt32, options: windows_storage_streams.InputStreamOptions, /) -> windows_foundation.IAsyncOperationWithProgress[winrt.system.Buffer, winrt.system.UInt32]: ...
258
+ # System.Void Windows.Storage.FileProperties.StorageItemThumbnail::Seek(System.UInt64)
259
+ def seek(self, position: winrt.system.UInt64, /) -> None: ...
260
+ # Windows.Foundation.IAsyncOperationWithProgress`2<System.UInt32,System.UInt32> Windows.Storage.FileProperties.StorageItemThumbnail::WriteAsync(Windows.Storage.Streams.IBuffer)
261
+ def write_async(self, buffer: winrt.system.Buffer, /) -> windows_foundation.IAsyncOperationWithProgress[winrt.system.UInt32, winrt.system.UInt32]: ...
262
+ # System.UInt32 Windows.Storage.FileProperties.StorageItemThumbnail::get_OriginalHeight()
263
+ @_property
264
+ def original_height(self) -> winrt.system.UInt32: ...
265
+ # System.UInt32 Windows.Storage.FileProperties.StorageItemThumbnail::get_OriginalWidth()
266
+ @_property
267
+ def original_width(self) -> winrt.system.UInt32: ...
268
+ # System.Boolean Windows.Storage.FileProperties.StorageItemThumbnail::get_ReturnedSmallerCachedSize()
269
+ @_property
270
+ def returned_smaller_cached_size(self) -> bool: ...
271
+ # Windows.Storage.FileProperties.ThumbnailType Windows.Storage.FileProperties.StorageItemThumbnail::get_Type()
272
+ @_property
273
+ def type(self) -> ThumbnailType: ...
274
+ # System.String Windows.Storage.FileProperties.StorageItemThumbnail::get_ContentType()
275
+ @_property
276
+ def content_type(self) -> str: ...
277
+ # System.UInt64 Windows.Storage.FileProperties.StorageItemThumbnail::get_Size()
278
+ @_property
279
+ def size(self) -> winrt.system.UInt64: ...
280
+ # System.Void Windows.Storage.FileProperties.StorageItemThumbnail::put_Size(System.UInt64)
281
+ @size.setter
282
+ def size(self, value: winrt.system.UInt64) -> None: ...
283
+ # System.Boolean Windows.Storage.FileProperties.StorageItemThumbnail::get_CanRead()
284
+ @_property
285
+ def can_read(self) -> bool: ...
286
+ # System.Boolean Windows.Storage.FileProperties.StorageItemThumbnail::get_CanWrite()
287
+ @_property
288
+ def can_write(self) -> bool: ...
289
+ # System.UInt64 Windows.Storage.FileProperties.StorageItemThumbnail::get_Position()
290
+ @_property
291
+ def position(self) -> winrt.system.UInt64: ...
292
+
293
+ @typing.final
294
+ class VideoProperties(winrt.system.Object, IStorageItemExtraProperties):
295
+ # 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>)
296
+ def retrieve_properties_async(self, properties_to_retrieve: typing.Iterable[str], /) -> windows_foundation.IAsyncOperation[typing.MutableMapping[str, winrt.system.Object]]: ...
297
+ # Windows.Foundation.IAsyncAction Windows.Storage.FileProperties.VideoProperties::SavePropertiesAsync(Windows.Foundation.Collections.IIterable`1<Windows.Foundation.Collections.IKeyValuePair`2<System.String,System.Object>>)
298
+ def save_properties_async(self, properties_to_save: typing.Union[typing.Mapping[str, winrt.system.Object], typing.Iterable[windows_foundation_collections.IKeyValuePair[str, winrt.system.Object]]], /) -> windows_foundation.IAsyncAction: ...
299
+ # Windows.Foundation.IAsyncAction Windows.Storage.FileProperties.VideoProperties::SavePropertiesAsync()
300
+ def save_properties_async_overload_default(self) -> windows_foundation.IAsyncAction: ...
301
+ # System.UInt32 Windows.Storage.FileProperties.VideoProperties::get_Year()
302
+ @_property
303
+ def year(self) -> winrt.system.UInt32: ...
304
+ # System.Void Windows.Storage.FileProperties.VideoProperties::put_Year(System.UInt32)
305
+ @year.setter
306
+ def year(self, value: winrt.system.UInt32) -> None: ...
307
+ # System.String Windows.Storage.FileProperties.VideoProperties::get_Title()
308
+ @_property
309
+ def title(self) -> str: ...
310
+ # System.Void Windows.Storage.FileProperties.VideoProperties::put_Title(System.String)
311
+ @title.setter
312
+ def title(self, value: str) -> None: ...
313
+ # System.String Windows.Storage.FileProperties.VideoProperties::get_Subtitle()
314
+ @_property
315
+ def subtitle(self) -> str: ...
316
+ # System.Void Windows.Storage.FileProperties.VideoProperties::put_Subtitle(System.String)
317
+ @subtitle.setter
318
+ def subtitle(self, value: str) -> None: ...
319
+ # System.UInt32 Windows.Storage.FileProperties.VideoProperties::get_Rating()
320
+ @_property
321
+ def rating(self) -> winrt.system.UInt32: ...
322
+ # System.Void Windows.Storage.FileProperties.VideoProperties::put_Rating(System.UInt32)
323
+ @rating.setter
324
+ def rating(self, value: winrt.system.UInt32) -> None: ...
325
+ # System.String Windows.Storage.FileProperties.VideoProperties::get_Publisher()
326
+ @_property
327
+ def publisher(self) -> str: ...
328
+ # System.Void Windows.Storage.FileProperties.VideoProperties::put_Publisher(System.String)
329
+ @publisher.setter
330
+ def publisher(self, value: str) -> None: ...
331
+ # System.UInt32 Windows.Storage.FileProperties.VideoProperties::get_Bitrate()
332
+ @_property
333
+ def bitrate(self) -> winrt.system.UInt32: ...
334
+ # Windows.Foundation.Collections.IVector`1<System.String> Windows.Storage.FileProperties.VideoProperties::get_Directors()
335
+ @_property
336
+ def directors(self) -> typing.MutableSequence[str]: ...
337
+ # Windows.Foundation.TimeSpan Windows.Storage.FileProperties.VideoProperties::get_Duration()
338
+ @_property
339
+ def duration(self) -> datetime.timedelta: ...
340
+ # System.UInt32 Windows.Storage.FileProperties.VideoProperties::get_Height()
341
+ @_property
342
+ def height(self) -> winrt.system.UInt32: ...
343
+ # Windows.Foundation.Collections.IVector`1<System.String> Windows.Storage.FileProperties.VideoProperties::get_Keywords()
344
+ @_property
345
+ def keywords(self) -> typing.MutableSequence[str]: ...
346
+ # Windows.Foundation.IReference`1<System.Double> Windows.Storage.FileProperties.VideoProperties::get_Latitude()
347
+ @_property
348
+ def latitude(self) -> typing.Optional[winrt.system.Double]: ...
349
+ # Windows.Foundation.IReference`1<System.Double> Windows.Storage.FileProperties.VideoProperties::get_Longitude()
350
+ @_property
351
+ def longitude(self) -> typing.Optional[winrt.system.Double]: ...
352
+ # Windows.Storage.FileProperties.VideoOrientation Windows.Storage.FileProperties.VideoProperties::get_Orientation()
353
+ @_property
354
+ def orientation(self) -> VideoOrientation: ...
355
+ # Windows.Foundation.Collections.IVector`1<System.String> Windows.Storage.FileProperties.VideoProperties::get_Producers()
356
+ @_property
357
+ def producers(self) -> typing.MutableSequence[str]: ...
358
+ # System.UInt32 Windows.Storage.FileProperties.VideoProperties::get_Width()
359
+ @_property
360
+ def width(self) -> winrt.system.UInt32: ...
361
+ # Windows.Foundation.Collections.IVector`1<System.String> Windows.Storage.FileProperties.VideoProperties::get_Writers()
362
+ @_property
363
+ def writers(self) -> typing.MutableSequence[str]: ...
364
+
365
+ @typing.final
366
+ class _IStorageItemExtraProperties: ...
367
+
368
+ class IStorageItemExtraProperties(winrt._winrt.IInspectable):
369
+ # 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>)
370
+ @abstractmethod
371
+ def retrieve_properties_async(self, properties_to_retrieve: typing.Iterable[str], /) -> windows_foundation.IAsyncOperation[typing.MutableMapping[str, winrt.system.Object]]: ...
372
+ # Windows.Foundation.IAsyncAction Windows.Storage.FileProperties.IStorageItemExtraProperties::SavePropertiesAsync(Windows.Foundation.Collections.IIterable`1<Windows.Foundation.Collections.IKeyValuePair`2<System.String,System.Object>>)
373
+ @abstractmethod
374
+ def save_properties_async(self, properties_to_save: typing.Union[typing.Mapping[str, winrt.system.Object], typing.Iterable[windows_foundation_collections.IKeyValuePair[str, winrt.system.Object]]], /) -> windows_foundation.IAsyncAction: ...
375
+ # Windows.Foundation.IAsyncAction Windows.Storage.FileProperties.IStorageItemExtraProperties::SavePropertiesAsync()
376
+ @abstractmethod
377
+ def save_properties_async_overload_default(self) -> windows_foundation.IAsyncAction: ...
378
+
@@ -0,0 +1,79 @@
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.system
6
+ from winrt._winrt_windows_storage_fileproperties import (
7
+ BasicProperties,
8
+ DocumentProperties,
9
+ GeotagHelper,
10
+ ImageProperties,
11
+ MusicProperties,
12
+ StorageItemContentProperties,
13
+ StorageItemThumbnail,
14
+ VideoProperties,
15
+ _IStorageItemExtraProperties,
16
+ IStorageItemExtraProperties,
17
+ )
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
+
File without changes
@@ -0,0 +1,29 @@
1
+ Metadata-Version: 2.4
2
+ Name: winrt-Windows.Storage.FileProperties
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.Devices.Geolocation[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.Streams[all]~=3.2.1.0; extra == "all"
22
+
23
+ <!-- warning: Please don't edit this file. It was automatically generated. -->
24
+
25
+ # winrt-Windows.Storage.FileProperties
26
+
27
+ Windows Runtime (WinRT) APIs for for the `Windows.Storage.FileProperties` namespace.
28
+
29
+ This package provides the `winrt.windows.storage.fileproperties` module.
@@ -0,0 +1,8 @@
1
+ winrt/_winrt_windows_storage_fileproperties.cp314-win_amd64.pyd,sha256=YR8ngXY-OyEoTB8Hwr0wQhnYpzBbEZSppPsfpMSB_zY,354816
2
+ winrt/_winrt_windows_storage_fileproperties.pyi,sha256=r86ljIE3vTVigw5jNQfOpxIFRVTkLE2N3ZGK46TDKaM,27526
3
+ winrt/windows/storage/fileproperties/__init__.py,sha256=vj63s8kjktl2u-FtSQ0eo7LfoqQtCJV7RxcdSAkNlqM,1709
4
+ winrt/windows/storage/fileproperties/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
+ winrt_windows_storage_fileproperties-3.2.1.dist-info/METADATA,sha256=nbtSB4-eIn6oG9OcWVXIzwu2nI8QfOrNKFTwspOfbx8,1384
6
+ winrt_windows_storage_fileproperties-3.2.1.dist-info/WHEEL,sha256=7k6Wcy588iJYe5lf5K095NLg-uoBTnE-T8eHJ92G4_4,101
7
+ winrt_windows_storage_fileproperties-3.2.1.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
8
+ winrt_windows_storage_fileproperties-3.2.1.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (80.9.0)
3
+ Root-Is-Purelib: false
4
+ Tag: cp314-cp314-win_amd64
5
+