winrt-Windows.Media.Protection.PlayReady 2.2.0__cp313-cp313-win32.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,849 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
2
+
3
+ import datetime
4
+ import sys
5
+ import types
6
+ import typing
7
+ import uuid as _uuid
8
+ from builtins import property as _property
9
+
10
+ import winrt._winrt
11
+ import winrt.system
12
+ import winrt.windows.foundation as windows_foundation
13
+ import winrt.windows.foundation.collections as windows_foundation_collections
14
+ import winrt.windows.media.core as windows_media_core
15
+ import winrt.windows.media.protection as windows_media_protection
16
+ import winrt.windows.storage as windows_storage
17
+
18
+ from winrt.windows.media.protection.playready import NDCertificateFeature, NDCertificatePlatformID, NDCertificateType, NDClosedCaptionFormat, NDContentIDType, NDMediaStreamType, NDProximityDetectionType, NDStartAsyncOptions, PlayReadyDecryptorSetup, PlayReadyEncryptionAlgorithm, PlayReadyHardwareDRMFeatures, PlayReadyITADataFormat
19
+
20
+ Self = typing.TypeVar('Self')
21
+
22
+ @typing.final
23
+ class NDClient(winrt.system.Object):
24
+ @staticmethod
25
+ def _from(obj: winrt.system.Object, /) -> NDClient: ...
26
+ def __new__(cls: typing.Type[NDClient], download_engine: typing.Optional[INDDownloadEngine], stream_parser: typing.Optional[INDStreamParser], p_messenger: typing.Optional[INDMessenger]) -> NDClient: ...
27
+ def close(self) -> None: ...
28
+ def license_fetch_async(self, license_fetch_descriptor: typing.Optional[INDLicenseFetchDescriptor], /) -> windows_foundation.IAsyncOperation[INDLicenseFetchResult]: ...
29
+ def re_registration_async(self, registration_custom_data: typing.Optional[INDCustomData], /) -> windows_foundation.IAsyncAction: ...
30
+ def start_async(self, content_url: typing.Optional[windows_foundation.Uri], start_async_options: winrt.system.UInt32, registration_custom_data: typing.Optional[INDCustomData], license_fetch_descriptor: typing.Optional[INDLicenseFetchDescriptor], /) -> windows_foundation.IAsyncOperation[INDStartResult]: ...
31
+ def add_closed_caption_data_received(self, handler: windows_foundation.TypedEventHandler[NDClient, INDClosedCaptionDataReceivedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
32
+ def remove_closed_caption_data_received(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
33
+ def add_license_fetch_completed(self, handler: windows_foundation.TypedEventHandler[NDClient, INDLicenseFetchCompletedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
34
+ def remove_license_fetch_completed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
35
+ def add_proximity_detection_completed(self, handler: windows_foundation.TypedEventHandler[NDClient, INDProximityDetectionCompletedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
36
+ def remove_proximity_detection_completed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
37
+ def add_re_registration_needed(self, handler: windows_foundation.TypedEventHandler[NDClient, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
38
+ def remove_re_registration_needed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
39
+ def add_registration_completed(self, handler: windows_foundation.TypedEventHandler[NDClient, INDRegistrationCompletedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
40
+ def remove_registration_completed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
41
+
42
+ @typing.final
43
+ class NDCustomData(winrt.system.Object):
44
+ @staticmethod
45
+ def _from(obj: winrt.system.Object, /) -> NDCustomData: ...
46
+ def __new__(cls: typing.Type[NDCustomData], custom_data_type_i_d_bytes: winrt.system.Array[winrt.system.UInt8], custom_data_bytes: winrt.system.Array[winrt.system.UInt8]) -> NDCustomData: ...
47
+ @_property
48
+ def custom_data(self) -> winrt.system.UInt8: ...
49
+ @_property
50
+ def custom_data_type_i_d(self) -> winrt.system.UInt8: ...
51
+
52
+ @typing.final
53
+ class NDDownloadEngineNotifier(winrt.system.Object):
54
+ @staticmethod
55
+ def _from(obj: winrt.system.Object, /) -> NDDownloadEngineNotifier: ...
56
+ def __new__(cls: typing.Type[NDDownloadEngineNotifier]) -> NDDownloadEngineNotifier: ...
57
+ def on_content_i_d_received(self, license_fetch_descriptor: typing.Optional[INDLicenseFetchDescriptor], /) -> None: ...
58
+ def on_data_received(self, data_bytes: winrt.system.Array[winrt.system.UInt8], bytes_received: winrt.system.UInt32, /) -> None: ...
59
+ def on_end_of_stream(self) -> None: ...
60
+ def on_network_error(self) -> None: ...
61
+ def on_play_ready_object_received(self, data_bytes: winrt.system.Array[winrt.system.UInt8], /) -> None: ...
62
+ def on_stream_opened(self) -> None: ...
63
+
64
+ @typing.final
65
+ class NDLicenseFetchDescriptor(winrt.system.Object):
66
+ @staticmethod
67
+ def _from(obj: winrt.system.Object, /) -> NDLicenseFetchDescriptor: ...
68
+ def __new__(cls: typing.Type[NDLicenseFetchDescriptor], content_i_d_type: NDContentIDType, content_i_d_bytes: winrt.system.Array[winrt.system.UInt8], license_fetch_challenge_custom_data: typing.Optional[INDCustomData]) -> NDLicenseFetchDescriptor: ...
69
+ @_property
70
+ def license_fetch_challenge_custom_data(self) -> typing.Optional[INDCustomData]: ...
71
+ @license_fetch_challenge_custom_data.setter
72
+ def license_fetch_challenge_custom_data(self, value: typing.Optional[INDCustomData]) -> None: ...
73
+ @_property
74
+ def content_i_d(self) -> winrt.system.UInt8: ...
75
+ @_property
76
+ def content_i_d_type(self) -> NDContentIDType: ...
77
+
78
+ @typing.final
79
+ class NDStorageFileHelper(winrt.system.Object):
80
+ @staticmethod
81
+ def _from(obj: winrt.system.Object, /) -> NDStorageFileHelper: ...
82
+ def __new__(cls: typing.Type[NDStorageFileHelper]) -> NDStorageFileHelper: ...
83
+ def get_file_u_r_ls(self, file: typing.Optional[windows_storage.IStorageFile], /) -> typing.Optional[windows_foundation_collections.IVector[str]]: ...
84
+
85
+ @typing.final
86
+ class NDStreamParserNotifier(winrt.system.Object):
87
+ @staticmethod
88
+ def _from(obj: winrt.system.Object, /) -> NDStreamParserNotifier: ...
89
+ def __new__(cls: typing.Type[NDStreamParserNotifier]) -> NDStreamParserNotifier: ...
90
+ def on_begin_setup_decryptor(self, descriptor: typing.Optional[windows_media_core.IMediaStreamDescriptor], key_i_d: _uuid.UUID, pro_bytes: winrt.system.Array[winrt.system.UInt8], /) -> None: ...
91
+ def on_content_i_d_received(self, license_fetch_descriptor: typing.Optional[INDLicenseFetchDescriptor], /) -> None: ...
92
+ def on_media_stream_descriptor_created(self, audio_stream_descriptors: windows_foundation_collections.IVector[windows_media_core.AudioStreamDescriptor], video_stream_descriptors: windows_foundation_collections.IVector[windows_media_core.VideoStreamDescriptor], /) -> None: ...
93
+ def on_sample_parsed(self, stream_i_d: winrt.system.UInt32, stream_type: NDMediaStreamType, stream_sample: typing.Optional[windows_media_core.MediaStreamSample], pts: winrt.system.Int64, cc_format: NDClosedCaptionFormat, cc_data_bytes: winrt.system.Array[winrt.system.UInt8], /) -> None: ...
94
+
95
+ @typing.final
96
+ class NDTCPMessenger(winrt.system.Object):
97
+ @staticmethod
98
+ def _from(obj: winrt.system.Object, /) -> NDTCPMessenger: ...
99
+ def __new__(cls: typing.Type[NDTCPMessenger], remote_host_name: str, remote_host_port: winrt.system.UInt32) -> NDTCPMessenger: ...
100
+ def send_license_fetch_request_async(self, session_i_d_bytes: winrt.system.Array[winrt.system.UInt8], challenge_data_bytes: winrt.system.Array[winrt.system.UInt8], /) -> windows_foundation.IAsyncOperation[INDSendResult]: ...
101
+ def send_proximity_detection_response_async(self, pd_type: NDProximityDetectionType, transmitter_channel_bytes: winrt.system.Array[winrt.system.UInt8], session_i_d_bytes: winrt.system.Array[winrt.system.UInt8], response_data_bytes: winrt.system.Array[winrt.system.UInt8], /) -> windows_foundation.IAsyncOperation[INDSendResult]: ...
102
+ def send_proximity_detection_start_async(self, pd_type: NDProximityDetectionType, transmitter_channel_bytes: winrt.system.Array[winrt.system.UInt8], session_i_d_bytes: winrt.system.Array[winrt.system.UInt8], challenge_data_bytes: winrt.system.Array[winrt.system.UInt8], /) -> windows_foundation.IAsyncOperation[INDSendResult]: ...
103
+ def send_registration_request_async(self, session_i_d_bytes: winrt.system.Array[winrt.system.UInt8], challenge_data_bytes: winrt.system.Array[winrt.system.UInt8], /) -> windows_foundation.IAsyncOperation[INDSendResult]: ...
104
+
105
+ @typing.final
106
+ class PlayReadyContentHeader(winrt.system.Object):
107
+ @staticmethod
108
+ def _from(obj: winrt.system.Object, /) -> PlayReadyContentHeader: ...
109
+ @typing.overload
110
+ def __new__(cls: typing.Type[PlayReadyContentHeader], dw_flags: winrt.system.UInt32, content_key_ids: winrt.system.Array[_uuid.UUID], content_key_id_strings: winrt.system.Array[str], content_encryption_algorithm: PlayReadyEncryptionAlgorithm, license_acquisition_url: typing.Optional[windows_foundation.Uri], license_acquisition_user_interface_url: typing.Optional[windows_foundation.Uri], custom_attributes: str, domain_service_id: _uuid.UUID) -> PlayReadyContentHeader: ...
111
+ @typing.overload
112
+ def __new__(cls: typing.Type[PlayReadyContentHeader], header_bytes: winrt.system.Array[winrt.system.UInt8], license_acquisition_url: typing.Optional[windows_foundation.Uri], license_acquisition_user_interface_url: typing.Optional[windows_foundation.Uri], custom_attributes: str, domain_service_id: _uuid.UUID) -> PlayReadyContentHeader: ...
113
+ @typing.overload
114
+ def __new__(cls: typing.Type[PlayReadyContentHeader], content_key_id: _uuid.UUID, content_key_id_string: str, content_encryption_algorithm: PlayReadyEncryptionAlgorithm, license_acquisition_url: typing.Optional[windows_foundation.Uri], license_acquisition_user_interface_url: typing.Optional[windows_foundation.Uri], custom_attributes: str, domain_service_id: _uuid.UUID) -> PlayReadyContentHeader: ...
115
+ @typing.overload
116
+ def __new__(cls: typing.Type[PlayReadyContentHeader], header_bytes: winrt.system.Array[winrt.system.UInt8]) -> PlayReadyContentHeader: ...
117
+ def get_serialized_header(self) -> winrt.system.Array[winrt.system.UInt8]: ...
118
+ @_property
119
+ def custom_attributes(self) -> str: ...
120
+ @_property
121
+ def decryptor_setup(self) -> PlayReadyDecryptorSetup: ...
122
+ @_property
123
+ def domain_service_id(self) -> _uuid.UUID: ...
124
+ @_property
125
+ def encryption_type(self) -> PlayReadyEncryptionAlgorithm: ...
126
+ @_property
127
+ def header_with_embedded_updates(self) -> typing.Optional[PlayReadyContentHeader]: ...
128
+ @_property
129
+ def key_id(self) -> _uuid.UUID: ...
130
+ @_property
131
+ def key_id_string(self) -> str: ...
132
+ @_property
133
+ def license_acquisition_url(self) -> typing.Optional[windows_foundation.Uri]: ...
134
+ @_property
135
+ def license_acquisition_user_interface_url(self) -> typing.Optional[windows_foundation.Uri]: ...
136
+ @_property
137
+ def key_id_strings(self) -> str: ...
138
+ @_property
139
+ def key_ids(self) -> _uuid.UUID: ...
140
+
141
+ @typing.final
142
+ class PlayReadyContentResolver_Static(type):
143
+ def service_request(cls, content_header: typing.Optional[PlayReadyContentHeader], /) -> typing.Optional[IPlayReadyServiceRequest]: ...
144
+
145
+ @typing.final
146
+ class PlayReadyContentResolver(winrt.system.Object, metaclass=PlayReadyContentResolver_Static):
147
+ pass
148
+
149
+ @typing.final
150
+ class PlayReadyDomain(winrt.system.Object):
151
+ @staticmethod
152
+ def _from(obj: winrt.system.Object, /) -> PlayReadyDomain: ...
153
+ @_property
154
+ def account_id(self) -> _uuid.UUID: ...
155
+ @_property
156
+ def domain_join_url(self) -> typing.Optional[windows_foundation.Uri]: ...
157
+ @_property
158
+ def friendly_name(self) -> str: ...
159
+ @_property
160
+ def revision(self) -> winrt.system.UInt32: ...
161
+ @_property
162
+ def service_id(self) -> _uuid.UUID: ...
163
+
164
+ @typing.final
165
+ class PlayReadyDomainIterable(winrt.system.Object):
166
+ def __iter__(self) -> windows_foundation_collections.IIterator[IPlayReadyDomain]: ...
167
+ @staticmethod
168
+ def _from(obj: winrt.system.Object, /) -> PlayReadyDomainIterable: ...
169
+ def __new__(cls: typing.Type[PlayReadyDomainIterable], domain_account_id: _uuid.UUID) -> PlayReadyDomainIterable: ...
170
+ def first(self) -> typing.Optional[windows_foundation_collections.IIterator[IPlayReadyDomain]]: ...
171
+
172
+ @typing.final
173
+ class PlayReadyDomainIterator(winrt.system.Object):
174
+ def __iter__(self: Self) -> Self: ...
175
+ def __next__(self) -> IPlayReadyDomain: ...
176
+ @staticmethod
177
+ def _from(obj: winrt.system.Object, /) -> PlayReadyDomainIterator: ...
178
+ def get_many(self, items: winrt.system.Array[IPlayReadyDomain], /) -> winrt.system.UInt32: ...
179
+ def move_next(self) -> bool: ...
180
+ @_property
181
+ def current(self) -> typing.Optional[IPlayReadyDomain]: ...
182
+ @_property
183
+ def has_current(self) -> bool: ...
184
+
185
+ @typing.final
186
+ class PlayReadyDomainJoinServiceRequest(winrt.system.Object):
187
+ @staticmethod
188
+ def _from(obj: winrt.system.Object, /) -> PlayReadyDomainJoinServiceRequest: ...
189
+ def __new__(cls: typing.Type[PlayReadyDomainJoinServiceRequest]) -> PlayReadyDomainJoinServiceRequest: ...
190
+ def begin_service_request(self) -> windows_foundation.IAsyncAction: ...
191
+ def generate_manual_enabling_challenge(self) -> typing.Optional[PlayReadySoapMessage]: ...
192
+ def next_service_request(self) -> typing.Optional[IPlayReadyServiceRequest]: ...
193
+ def process_manual_enabling_response(self, response_bytes: winrt.system.Array[winrt.system.UInt8], /) -> windows_foundation.HResult: ...
194
+ @_property
195
+ def protection_system(self) -> _uuid.UUID: ...
196
+ @_property
197
+ def type(self) -> _uuid.UUID: ...
198
+ @_property
199
+ def domain_service_id(self) -> _uuid.UUID: ...
200
+ @domain_service_id.setter
201
+ def domain_service_id(self, value: _uuid.UUID) -> None: ...
202
+ @_property
203
+ def domain_friendly_name(self) -> str: ...
204
+ @domain_friendly_name.setter
205
+ def domain_friendly_name(self, value: str) -> None: ...
206
+ @_property
207
+ def domain_account_id(self) -> _uuid.UUID: ...
208
+ @domain_account_id.setter
209
+ def domain_account_id(self, value: _uuid.UUID) -> None: ...
210
+ @_property
211
+ def uri(self) -> typing.Optional[windows_foundation.Uri]: ...
212
+ @uri.setter
213
+ def uri(self, value: typing.Optional[windows_foundation.Uri]) -> None: ...
214
+ @_property
215
+ def challenge_custom_data(self) -> str: ...
216
+ @challenge_custom_data.setter
217
+ def challenge_custom_data(self, value: str) -> None: ...
218
+ @_property
219
+ def response_custom_data(self) -> str: ...
220
+
221
+ @typing.final
222
+ class PlayReadyDomainLeaveServiceRequest(winrt.system.Object):
223
+ @staticmethod
224
+ def _from(obj: winrt.system.Object, /) -> PlayReadyDomainLeaveServiceRequest: ...
225
+ def __new__(cls: typing.Type[PlayReadyDomainLeaveServiceRequest]) -> PlayReadyDomainLeaveServiceRequest: ...
226
+ def begin_service_request(self) -> windows_foundation.IAsyncAction: ...
227
+ def generate_manual_enabling_challenge(self) -> typing.Optional[PlayReadySoapMessage]: ...
228
+ def next_service_request(self) -> typing.Optional[IPlayReadyServiceRequest]: ...
229
+ def process_manual_enabling_response(self, response_bytes: winrt.system.Array[winrt.system.UInt8], /) -> windows_foundation.HResult: ...
230
+ @_property
231
+ def protection_system(self) -> _uuid.UUID: ...
232
+ @_property
233
+ def type(self) -> _uuid.UUID: ...
234
+ @_property
235
+ def domain_service_id(self) -> _uuid.UUID: ...
236
+ @domain_service_id.setter
237
+ def domain_service_id(self, value: _uuid.UUID) -> None: ...
238
+ @_property
239
+ def domain_account_id(self) -> _uuid.UUID: ...
240
+ @domain_account_id.setter
241
+ def domain_account_id(self, value: _uuid.UUID) -> None: ...
242
+ @_property
243
+ def uri(self) -> typing.Optional[windows_foundation.Uri]: ...
244
+ @uri.setter
245
+ def uri(self, value: typing.Optional[windows_foundation.Uri]) -> None: ...
246
+ @_property
247
+ def challenge_custom_data(self) -> str: ...
248
+ @challenge_custom_data.setter
249
+ def challenge_custom_data(self, value: str) -> None: ...
250
+ @_property
251
+ def response_custom_data(self) -> str: ...
252
+
253
+ @typing.final
254
+ class PlayReadyITADataGenerator(winrt.system.Object):
255
+ @staticmethod
256
+ def _from(obj: winrt.system.Object, /) -> PlayReadyITADataGenerator: ...
257
+ def __new__(cls: typing.Type[PlayReadyITADataGenerator]) -> PlayReadyITADataGenerator: ...
258
+ def generate_data(self, guid_c_p_system_id: _uuid.UUID, count_of_streams: winrt.system.UInt32, configuration: typing.Optional[windows_foundation_collections.IPropertySet], format: PlayReadyITADataFormat, /) -> winrt.system.Array[winrt.system.UInt8]: ...
259
+
260
+ @typing.final
261
+ class PlayReadyIndividualizationServiceRequest(winrt.system.Object):
262
+ @staticmethod
263
+ def _from(obj: winrt.system.Object, /) -> PlayReadyIndividualizationServiceRequest: ...
264
+ def __new__(cls: typing.Type[PlayReadyIndividualizationServiceRequest]) -> PlayReadyIndividualizationServiceRequest: ...
265
+ def begin_service_request(self) -> windows_foundation.IAsyncAction: ...
266
+ def generate_manual_enabling_challenge(self) -> typing.Optional[PlayReadySoapMessage]: ...
267
+ def next_service_request(self) -> typing.Optional[IPlayReadyServiceRequest]: ...
268
+ def process_manual_enabling_response(self, response_bytes: winrt.system.Array[winrt.system.UInt8], /) -> windows_foundation.HResult: ...
269
+ @_property
270
+ def protection_system(self) -> _uuid.UUID: ...
271
+ @_property
272
+ def type(self) -> _uuid.UUID: ...
273
+ @_property
274
+ def uri(self) -> typing.Optional[windows_foundation.Uri]: ...
275
+ @uri.setter
276
+ def uri(self, value: typing.Optional[windows_foundation.Uri]) -> None: ...
277
+ @_property
278
+ def challenge_custom_data(self) -> str: ...
279
+ @challenge_custom_data.setter
280
+ def challenge_custom_data(self, value: str) -> None: ...
281
+ @_property
282
+ def response_custom_data(self) -> str: ...
283
+
284
+ @typing.final
285
+ class PlayReadyLicense(winrt.system.Object):
286
+ @staticmethod
287
+ def _from(obj: winrt.system.Object, /) -> PlayReadyLicense: ...
288
+ def get_k_i_d_at_chain_depth(self, chain_depth: winrt.system.UInt32, /) -> _uuid.UUID: ...
289
+ @_property
290
+ def chain_depth(self) -> winrt.system.UInt32: ...
291
+ @_property
292
+ def domain_account_i_d(self) -> _uuid.UUID: ...
293
+ @_property
294
+ def expiration_date(self) -> typing.Optional[typing.Optional[datetime.datetime]]: ...
295
+ @_property
296
+ def expire_after_first_play(self) -> winrt.system.UInt32: ...
297
+ @_property
298
+ def fully_evaluated(self) -> bool: ...
299
+ @_property
300
+ def usable_for_play(self) -> bool: ...
301
+ @_property
302
+ def expires_in_real_time(self) -> bool: ...
303
+ @_property
304
+ def in_memory_only(self) -> bool: ...
305
+ @_property
306
+ def secure_stop_id(self) -> _uuid.UUID: ...
307
+ @_property
308
+ def security_level(self) -> winrt.system.UInt32: ...
309
+
310
+ @typing.final
311
+ class PlayReadyLicenseAcquisitionServiceRequest(winrt.system.Object):
312
+ @staticmethod
313
+ def _from(obj: winrt.system.Object, /) -> PlayReadyLicenseAcquisitionServiceRequest: ...
314
+ def __new__(cls: typing.Type[PlayReadyLicenseAcquisitionServiceRequest]) -> PlayReadyLicenseAcquisitionServiceRequest: ...
315
+ def begin_service_request(self) -> windows_foundation.IAsyncAction: ...
316
+ def create_license_iterable(self, content_header: typing.Optional[PlayReadyContentHeader], fully_evaluated: bool, /) -> typing.Optional[PlayReadyLicenseIterable]: ...
317
+ def generate_manual_enabling_challenge(self) -> typing.Optional[PlayReadySoapMessage]: ...
318
+ def next_service_request(self) -> typing.Optional[IPlayReadyServiceRequest]: ...
319
+ def process_manual_enabling_response(self, response_bytes: winrt.system.Array[winrt.system.UInt8], /) -> windows_foundation.HResult: ...
320
+ @_property
321
+ def protection_system(self) -> _uuid.UUID: ...
322
+ @_property
323
+ def type(self) -> _uuid.UUID: ...
324
+ @_property
325
+ def domain_service_id(self) -> _uuid.UUID: ...
326
+ @domain_service_id.setter
327
+ def domain_service_id(self, value: _uuid.UUID) -> None: ...
328
+ @_property
329
+ def content_header(self) -> typing.Optional[PlayReadyContentHeader]: ...
330
+ @content_header.setter
331
+ def content_header(self, value: typing.Optional[PlayReadyContentHeader]) -> None: ...
332
+ @_property
333
+ def session_id(self) -> _uuid.UUID: ...
334
+ @_property
335
+ def uri(self) -> typing.Optional[windows_foundation.Uri]: ...
336
+ @uri.setter
337
+ def uri(self, value: typing.Optional[windows_foundation.Uri]) -> None: ...
338
+ @_property
339
+ def challenge_custom_data(self) -> str: ...
340
+ @challenge_custom_data.setter
341
+ def challenge_custom_data(self, value: str) -> None: ...
342
+ @_property
343
+ def response_custom_data(self) -> str: ...
344
+
345
+ @typing.final
346
+ class PlayReadyLicenseIterable(winrt.system.Object):
347
+ def __iter__(self) -> windows_foundation_collections.IIterator[IPlayReadyLicense]: ...
348
+ @staticmethod
349
+ def _from(obj: winrt.system.Object, /) -> PlayReadyLicenseIterable: ...
350
+ @typing.overload
351
+ def __new__(cls: typing.Type[PlayReadyLicenseIterable]) -> PlayReadyLicenseIterable: ...
352
+ @typing.overload
353
+ def __new__(cls: typing.Type[PlayReadyLicenseIterable], content_header: typing.Optional[PlayReadyContentHeader], fully_evaluated: bool) -> PlayReadyLicenseIterable: ...
354
+ def first(self) -> typing.Optional[windows_foundation_collections.IIterator[IPlayReadyLicense]]: ...
355
+
356
+ @typing.final
357
+ class PlayReadyLicenseIterator(winrt.system.Object):
358
+ def __iter__(self: Self) -> Self: ...
359
+ def __next__(self) -> IPlayReadyLicense: ...
360
+ @staticmethod
361
+ def _from(obj: winrt.system.Object, /) -> PlayReadyLicenseIterator: ...
362
+ def get_many(self, items: winrt.system.Array[IPlayReadyLicense], /) -> winrt.system.UInt32: ...
363
+ def move_next(self) -> bool: ...
364
+ @_property
365
+ def current(self) -> typing.Optional[IPlayReadyLicense]: ...
366
+ @_property
367
+ def has_current(self) -> bool: ...
368
+
369
+ @typing.final
370
+ class PlayReadyLicenseManagement_Static(type):
371
+ def delete_licenses(cls, content_header: typing.Optional[PlayReadyContentHeader], /) -> windows_foundation.IAsyncAction: ...
372
+
373
+ @typing.final
374
+ class PlayReadyLicenseManagement(winrt.system.Object, metaclass=PlayReadyLicenseManagement_Static):
375
+ pass
376
+
377
+ @typing.final
378
+ class PlayReadyLicenseSession(winrt.system.Object):
379
+ @staticmethod
380
+ def _from(obj: winrt.system.Object, /) -> PlayReadyLicenseSession: ...
381
+ def __new__(cls: typing.Type[PlayReadyLicenseSession], configuration: typing.Optional[windows_foundation_collections.IPropertySet]) -> PlayReadyLicenseSession: ...
382
+ def configure_media_protection_manager(self, mpm: typing.Optional[windows_media_protection.MediaProtectionManager], /) -> None: ...
383
+ def create_l_a_service_request(self) -> typing.Optional[IPlayReadyLicenseAcquisitionServiceRequest]: ...
384
+ def create_license_iterable(self, content_header: typing.Optional[PlayReadyContentHeader], fully_evaluated: bool, /) -> typing.Optional[PlayReadyLicenseIterable]: ...
385
+
386
+ @typing.final
387
+ class PlayReadyMeteringReportServiceRequest(winrt.system.Object):
388
+ @staticmethod
389
+ def _from(obj: winrt.system.Object, /) -> PlayReadyMeteringReportServiceRequest: ...
390
+ def __new__(cls: typing.Type[PlayReadyMeteringReportServiceRequest]) -> PlayReadyMeteringReportServiceRequest: ...
391
+ def begin_service_request(self) -> windows_foundation.IAsyncAction: ...
392
+ def generate_manual_enabling_challenge(self) -> typing.Optional[PlayReadySoapMessage]: ...
393
+ def next_service_request(self) -> typing.Optional[IPlayReadyServiceRequest]: ...
394
+ def process_manual_enabling_response(self, response_bytes: winrt.system.Array[winrt.system.UInt8], /) -> windows_foundation.HResult: ...
395
+ @_property
396
+ def protection_system(self) -> _uuid.UUID: ...
397
+ @_property
398
+ def type(self) -> _uuid.UUID: ...
399
+ @_property
400
+ def metering_certificate(self) -> winrt.system.UInt8: ...
401
+ @metering_certificate.setter
402
+ def metering_certificate(self, value: winrt.system.UInt8) -> None: ...
403
+ @_property
404
+ def uri(self) -> typing.Optional[windows_foundation.Uri]: ...
405
+ @uri.setter
406
+ def uri(self, value: typing.Optional[windows_foundation.Uri]) -> None: ...
407
+ @_property
408
+ def challenge_custom_data(self) -> str: ...
409
+ @challenge_custom_data.setter
410
+ def challenge_custom_data(self, value: str) -> None: ...
411
+ @_property
412
+ def response_custom_data(self) -> str: ...
413
+
414
+ @typing.final
415
+ class PlayReadyRevocationServiceRequest(winrt.system.Object):
416
+ @staticmethod
417
+ def _from(obj: winrt.system.Object, /) -> PlayReadyRevocationServiceRequest: ...
418
+ def __new__(cls: typing.Type[PlayReadyRevocationServiceRequest]) -> PlayReadyRevocationServiceRequest: ...
419
+ def begin_service_request(self) -> windows_foundation.IAsyncAction: ...
420
+ def generate_manual_enabling_challenge(self) -> typing.Optional[PlayReadySoapMessage]: ...
421
+ def next_service_request(self) -> typing.Optional[IPlayReadyServiceRequest]: ...
422
+ def process_manual_enabling_response(self, response_bytes: winrt.system.Array[winrt.system.UInt8], /) -> windows_foundation.HResult: ...
423
+ @_property
424
+ def protection_system(self) -> _uuid.UUID: ...
425
+ @_property
426
+ def type(self) -> _uuid.UUID: ...
427
+ @_property
428
+ def uri(self) -> typing.Optional[windows_foundation.Uri]: ...
429
+ @uri.setter
430
+ def uri(self, value: typing.Optional[windows_foundation.Uri]) -> None: ...
431
+ @_property
432
+ def challenge_custom_data(self) -> str: ...
433
+ @challenge_custom_data.setter
434
+ def challenge_custom_data(self, value: str) -> None: ...
435
+ @_property
436
+ def response_custom_data(self) -> str: ...
437
+
438
+ @typing.final
439
+ class PlayReadySecureStopIterable(winrt.system.Object):
440
+ def __iter__(self) -> windows_foundation_collections.IIterator[IPlayReadySecureStopServiceRequest]: ...
441
+ @staticmethod
442
+ def _from(obj: winrt.system.Object, /) -> PlayReadySecureStopIterable: ...
443
+ def __new__(cls: typing.Type[PlayReadySecureStopIterable], publisher_cert_bytes: winrt.system.Array[winrt.system.UInt8]) -> PlayReadySecureStopIterable: ...
444
+ def first(self) -> typing.Optional[windows_foundation_collections.IIterator[IPlayReadySecureStopServiceRequest]]: ...
445
+
446
+ @typing.final
447
+ class PlayReadySecureStopIterator(winrt.system.Object):
448
+ def __iter__(self: Self) -> Self: ...
449
+ def __next__(self) -> IPlayReadySecureStopServiceRequest: ...
450
+ @staticmethod
451
+ def _from(obj: winrt.system.Object, /) -> PlayReadySecureStopIterator: ...
452
+ def get_many(self, items: winrt.system.Array[IPlayReadySecureStopServiceRequest], /) -> winrt.system.UInt32: ...
453
+ def move_next(self) -> bool: ...
454
+ @_property
455
+ def current(self) -> typing.Optional[IPlayReadySecureStopServiceRequest]: ...
456
+ @_property
457
+ def has_current(self) -> bool: ...
458
+
459
+ @typing.final
460
+ class PlayReadySecureStopServiceRequest(winrt.system.Object):
461
+ @staticmethod
462
+ def _from(obj: winrt.system.Object, /) -> PlayReadySecureStopServiceRequest: ...
463
+ @typing.overload
464
+ def __new__(cls: typing.Type[PlayReadySecureStopServiceRequest], publisher_cert_bytes: winrt.system.Array[winrt.system.UInt8]) -> PlayReadySecureStopServiceRequest: ...
465
+ @typing.overload
466
+ def __new__(cls: typing.Type[PlayReadySecureStopServiceRequest], session_i_d: _uuid.UUID, publisher_cert_bytes: winrt.system.Array[winrt.system.UInt8]) -> PlayReadySecureStopServiceRequest: ...
467
+ def begin_service_request(self) -> windows_foundation.IAsyncAction: ...
468
+ def generate_manual_enabling_challenge(self) -> typing.Optional[PlayReadySoapMessage]: ...
469
+ def next_service_request(self) -> typing.Optional[IPlayReadyServiceRequest]: ...
470
+ def process_manual_enabling_response(self, response_bytes: winrt.system.Array[winrt.system.UInt8], /) -> windows_foundation.HResult: ...
471
+ @_property
472
+ def protection_system(self) -> _uuid.UUID: ...
473
+ @_property
474
+ def type(self) -> _uuid.UUID: ...
475
+ @_property
476
+ def publisher_certificate(self) -> winrt.system.UInt8: ...
477
+ @_property
478
+ def session_i_d(self) -> _uuid.UUID: ...
479
+ @_property
480
+ def start_time(self) -> datetime.datetime: ...
481
+ @_property
482
+ def stopped(self) -> bool: ...
483
+ @_property
484
+ def update_time(self) -> datetime.datetime: ...
485
+ @_property
486
+ def uri(self) -> typing.Optional[windows_foundation.Uri]: ...
487
+ @uri.setter
488
+ def uri(self, value: typing.Optional[windows_foundation.Uri]) -> None: ...
489
+ @_property
490
+ def challenge_custom_data(self) -> str: ...
491
+ @challenge_custom_data.setter
492
+ def challenge_custom_data(self, value: str) -> None: ...
493
+ @_property
494
+ def response_custom_data(self) -> str: ...
495
+
496
+ @typing.final
497
+ class PlayReadySoapMessage(winrt.system.Object):
498
+ @staticmethod
499
+ def _from(obj: winrt.system.Object, /) -> PlayReadySoapMessage: ...
500
+ def get_message_body(self) -> winrt.system.Array[winrt.system.UInt8]: ...
501
+ @_property
502
+ def message_headers(self) -> typing.Optional[windows_foundation_collections.IPropertySet]: ...
503
+ @_property
504
+ def uri(self) -> typing.Optional[windows_foundation.Uri]: ...
505
+
506
+ @typing.final
507
+ class PlayReadyStatics_Static(type):
508
+ def check_supported_hardware(cls, hwdrm_feature: PlayReadyHardwareDRMFeatures, /) -> bool: ...
509
+ def reset_hardware_d_r_m_disabled(cls) -> None: ...
510
+ @_property
511
+ def domain_join_service_request_type(cls) -> _uuid.UUID: ...
512
+ @_property
513
+ def domain_leave_service_request_type(cls) -> _uuid.UUID: ...
514
+ @_property
515
+ def individualization_service_request_type(cls) -> _uuid.UUID: ...
516
+ @_property
517
+ def license_acquirer_service_request_type(cls) -> _uuid.UUID: ...
518
+ @_property
519
+ def media_protection_system_id(cls) -> _uuid.UUID: ...
520
+ @_property
521
+ def metering_report_service_request_type(cls) -> _uuid.UUID: ...
522
+ @_property
523
+ def play_ready_security_version(cls) -> winrt.system.UInt32: ...
524
+ @_property
525
+ def revocation_service_request_type(cls) -> _uuid.UUID: ...
526
+ @_property
527
+ def play_ready_certificate_security_level(cls) -> winrt.system.UInt32: ...
528
+ @_property
529
+ def secure_stop_service_request_type(cls) -> _uuid.UUID: ...
530
+ @_property
531
+ def protection_system_id(cls) -> _uuid.UUID: ...
532
+ @_property
533
+ def input_trust_authority_to_create(cls) -> str: ...
534
+ @_property
535
+ def hardware_d_r_m_disabled_until_time(cls) -> typing.Optional[typing.Optional[datetime.datetime]]: ...
536
+ @_property
537
+ def hardware_d_r_m_disabled_at_time(cls) -> typing.Optional[typing.Optional[datetime.datetime]]: ...
538
+
539
+ @typing.final
540
+ class PlayReadyStatics(winrt.system.Object, metaclass=PlayReadyStatics_Static):
541
+ pass
542
+
543
+ @typing.final
544
+ class INDClosedCaptionDataReceivedEventArgs(winrt.system.Object):
545
+ @staticmethod
546
+ def _from(obj: winrt.system.Object, /) -> INDClosedCaptionDataReceivedEventArgs: ...
547
+ @_property
548
+ def closed_caption_data(self) -> winrt.system.UInt8: ...
549
+ @_property
550
+ def closed_caption_data_format(self) -> NDClosedCaptionFormat: ...
551
+ @_property
552
+ def presentation_timestamp(self) -> winrt.system.Int64: ...
553
+
554
+ @typing.final
555
+ class INDCustomData(winrt.system.Object):
556
+ @staticmethod
557
+ def _from(obj: winrt.system.Object, /) -> INDCustomData: ...
558
+ @_property
559
+ def custom_data(self) -> winrt.system.UInt8: ...
560
+ @_property
561
+ def custom_data_type_i_d(self) -> winrt.system.UInt8: ...
562
+
563
+ @typing.final
564
+ class INDDownloadEngine(winrt.system.Object):
565
+ @staticmethod
566
+ def _from(obj: winrt.system.Object, /) -> INDDownloadEngine: ...
567
+ def close(self) -> None: ...
568
+ def open(self, uri: typing.Optional[windows_foundation.Uri], session_i_d_bytes: winrt.system.Array[winrt.system.UInt8], /) -> None: ...
569
+ def pause(self) -> None: ...
570
+ def resume(self) -> None: ...
571
+ def seek(self, start_position: datetime.timedelta, /) -> None: ...
572
+ @_property
573
+ def buffer_full_max_threshold_in_samples(self) -> winrt.system.UInt32: ...
574
+ @_property
575
+ def buffer_full_min_threshold_in_samples(self) -> winrt.system.UInt32: ...
576
+ @_property
577
+ def can_seek(self) -> bool: ...
578
+ @_property
579
+ def notifier(self) -> typing.Optional[NDDownloadEngineNotifier]: ...
580
+
581
+ @typing.final
582
+ class INDDownloadEngineNotifier(winrt.system.Object):
583
+ @staticmethod
584
+ def _from(obj: winrt.system.Object, /) -> INDDownloadEngineNotifier: ...
585
+ def on_content_i_d_received(self, license_fetch_descriptor: typing.Optional[INDLicenseFetchDescriptor], /) -> None: ...
586
+ def on_data_received(self, data_bytes: winrt.system.Array[winrt.system.UInt8], bytes_received: winrt.system.UInt32, /) -> None: ...
587
+ def on_end_of_stream(self) -> None: ...
588
+ def on_network_error(self) -> None: ...
589
+ def on_play_ready_object_received(self, data_bytes: winrt.system.Array[winrt.system.UInt8], /) -> None: ...
590
+ def on_stream_opened(self) -> None: ...
591
+
592
+ @typing.final
593
+ class INDLicenseFetchCompletedEventArgs(winrt.system.Object):
594
+ @staticmethod
595
+ def _from(obj: winrt.system.Object, /) -> INDLicenseFetchCompletedEventArgs: ...
596
+ @_property
597
+ def response_custom_data(self) -> typing.Optional[INDCustomData]: ...
598
+
599
+ @typing.final
600
+ class INDLicenseFetchDescriptor(winrt.system.Object):
601
+ @staticmethod
602
+ def _from(obj: winrt.system.Object, /) -> INDLicenseFetchDescriptor: ...
603
+ @_property
604
+ def content_i_d(self) -> winrt.system.UInt8: ...
605
+ @_property
606
+ def content_i_d_type(self) -> NDContentIDType: ...
607
+ @_property
608
+ def license_fetch_challenge_custom_data(self) -> typing.Optional[INDCustomData]: ...
609
+ @license_fetch_challenge_custom_data.setter
610
+ def license_fetch_challenge_custom_data(self, value: typing.Optional[INDCustomData]) -> None: ...
611
+
612
+ @typing.final
613
+ class INDLicenseFetchResult(winrt.system.Object):
614
+ @staticmethod
615
+ def _from(obj: winrt.system.Object, /) -> INDLicenseFetchResult: ...
616
+ @_property
617
+ def response_custom_data(self) -> typing.Optional[INDCustomData]: ...
618
+
619
+ @typing.final
620
+ class INDMessenger(winrt.system.Object):
621
+ @staticmethod
622
+ def _from(obj: winrt.system.Object, /) -> INDMessenger: ...
623
+ def send_license_fetch_request_async(self, session_i_d_bytes: winrt.system.Array[winrt.system.UInt8], challenge_data_bytes: winrt.system.Array[winrt.system.UInt8], /) -> windows_foundation.IAsyncOperation[INDSendResult]: ...
624
+ def send_proximity_detection_response_async(self, pd_type: NDProximityDetectionType, transmitter_channel_bytes: winrt.system.Array[winrt.system.UInt8], session_i_d_bytes: winrt.system.Array[winrt.system.UInt8], response_data_bytes: winrt.system.Array[winrt.system.UInt8], /) -> windows_foundation.IAsyncOperation[INDSendResult]: ...
625
+ def send_proximity_detection_start_async(self, pd_type: NDProximityDetectionType, transmitter_channel_bytes: winrt.system.Array[winrt.system.UInt8], session_i_d_bytes: winrt.system.Array[winrt.system.UInt8], challenge_data_bytes: winrt.system.Array[winrt.system.UInt8], /) -> windows_foundation.IAsyncOperation[INDSendResult]: ...
626
+ def send_registration_request_async(self, session_i_d_bytes: winrt.system.Array[winrt.system.UInt8], challenge_data_bytes: winrt.system.Array[winrt.system.UInt8], /) -> windows_foundation.IAsyncOperation[INDSendResult]: ...
627
+
628
+ @typing.final
629
+ class INDProximityDetectionCompletedEventArgs(winrt.system.Object):
630
+ @staticmethod
631
+ def _from(obj: winrt.system.Object, /) -> INDProximityDetectionCompletedEventArgs: ...
632
+ @_property
633
+ def proximity_detection_retry_count(self) -> winrt.system.UInt32: ...
634
+
635
+ @typing.final
636
+ class INDRegistrationCompletedEventArgs(winrt.system.Object):
637
+ @staticmethod
638
+ def _from(obj: winrt.system.Object, /) -> INDRegistrationCompletedEventArgs: ...
639
+ @_property
640
+ def response_custom_data(self) -> typing.Optional[INDCustomData]: ...
641
+ @_property
642
+ def transmitter_certificate_accepted(self) -> bool: ...
643
+ @transmitter_certificate_accepted.setter
644
+ def transmitter_certificate_accepted(self, value: bool) -> None: ...
645
+ @_property
646
+ def transmitter_properties(self) -> typing.Optional[INDTransmitterProperties]: ...
647
+
648
+ @typing.final
649
+ class INDSendResult(winrt.system.Object):
650
+ @staticmethod
651
+ def _from(obj: winrt.system.Object, /) -> INDSendResult: ...
652
+ @_property
653
+ def response(self) -> winrt.system.UInt8: ...
654
+
655
+ @typing.final
656
+ class INDStartResult(winrt.system.Object):
657
+ @staticmethod
658
+ def _from(obj: winrt.system.Object, /) -> INDStartResult: ...
659
+ @_property
660
+ def media_stream_source(self) -> typing.Optional[windows_media_core.MediaStreamSource]: ...
661
+
662
+ @typing.final
663
+ class INDStorageFileHelper(winrt.system.Object):
664
+ @staticmethod
665
+ def _from(obj: winrt.system.Object, /) -> INDStorageFileHelper: ...
666
+ def get_file_u_r_ls(self, file: typing.Optional[windows_storage.IStorageFile], /) -> typing.Optional[windows_foundation_collections.IVector[str]]: ...
667
+
668
+ @typing.final
669
+ class INDStreamParser(winrt.system.Object):
670
+ @staticmethod
671
+ def _from(obj: winrt.system.Object, /) -> INDStreamParser: ...
672
+ def begin_of_stream(self) -> None: ...
673
+ def end_of_stream(self) -> None: ...
674
+ def get_stream_information(self, descriptor: typing.Optional[windows_media_core.IMediaStreamDescriptor], /) -> typing.Tuple[winrt.system.UInt32, NDMediaStreamType]: ...
675
+ def parse_data(self, data_bytes: winrt.system.Array[winrt.system.UInt8], /) -> None: ...
676
+ @_property
677
+ def notifier(self) -> typing.Optional[NDStreamParserNotifier]: ...
678
+
679
+ @typing.final
680
+ class INDStreamParserNotifier(winrt.system.Object):
681
+ @staticmethod
682
+ def _from(obj: winrt.system.Object, /) -> INDStreamParserNotifier: ...
683
+ def on_begin_setup_decryptor(self, descriptor: typing.Optional[windows_media_core.IMediaStreamDescriptor], key_i_d: _uuid.UUID, pro_bytes: winrt.system.Array[winrt.system.UInt8], /) -> None: ...
684
+ def on_content_i_d_received(self, license_fetch_descriptor: typing.Optional[INDLicenseFetchDescriptor], /) -> None: ...
685
+ def on_media_stream_descriptor_created(self, audio_stream_descriptors: windows_foundation_collections.IVector[windows_media_core.AudioStreamDescriptor], video_stream_descriptors: windows_foundation_collections.IVector[windows_media_core.VideoStreamDescriptor], /) -> None: ...
686
+ def on_sample_parsed(self, stream_i_d: winrt.system.UInt32, stream_type: NDMediaStreamType, stream_sample: typing.Optional[windows_media_core.MediaStreamSample], pts: winrt.system.Int64, cc_format: NDClosedCaptionFormat, cc_data_bytes: winrt.system.Array[winrt.system.UInt8], /) -> None: ...
687
+
688
+ @typing.final
689
+ class INDTransmitterProperties(winrt.system.Object):
690
+ @staticmethod
691
+ def _from(obj: winrt.system.Object, /) -> INDTransmitterProperties: ...
692
+ @_property
693
+ def certificate_type(self) -> NDCertificateType: ...
694
+ @_property
695
+ def client_i_d(self) -> winrt.system.UInt8: ...
696
+ @_property
697
+ def expiration_date(self) -> datetime.datetime: ...
698
+ @_property
699
+ def model_digest(self) -> winrt.system.UInt8: ...
700
+ @_property
701
+ def model_manufacturer_name(self) -> str: ...
702
+ @_property
703
+ def model_name(self) -> str: ...
704
+ @_property
705
+ def model_number(self) -> str: ...
706
+ @_property
707
+ def platform_identifier(self) -> NDCertificatePlatformID: ...
708
+ @_property
709
+ def security_level(self) -> winrt.system.UInt32: ...
710
+ @_property
711
+ def security_version(self) -> winrt.system.UInt32: ...
712
+ @_property
713
+ def supported_features(self) -> NDCertificateFeature: ...
714
+
715
+ @typing.final
716
+ class IPlayReadyDomain(winrt.system.Object):
717
+ @staticmethod
718
+ def _from(obj: winrt.system.Object, /) -> IPlayReadyDomain: ...
719
+ @_property
720
+ def account_id(self) -> _uuid.UUID: ...
721
+ @_property
722
+ def domain_join_url(self) -> typing.Optional[windows_foundation.Uri]: ...
723
+ @_property
724
+ def friendly_name(self) -> str: ...
725
+ @_property
726
+ def revision(self) -> winrt.system.UInt32: ...
727
+ @_property
728
+ def service_id(self) -> _uuid.UUID: ...
729
+
730
+ @typing.final
731
+ class IPlayReadyLicense(winrt.system.Object):
732
+ @staticmethod
733
+ def _from(obj: winrt.system.Object, /) -> IPlayReadyLicense: ...
734
+ def get_k_i_d_at_chain_depth(self, chain_depth: winrt.system.UInt32, /) -> _uuid.UUID: ...
735
+ @_property
736
+ def chain_depth(self) -> winrt.system.UInt32: ...
737
+ @_property
738
+ def domain_account_i_d(self) -> _uuid.UUID: ...
739
+ @_property
740
+ def expiration_date(self) -> typing.Optional[typing.Optional[datetime.datetime]]: ...
741
+ @_property
742
+ def expire_after_first_play(self) -> winrt.system.UInt32: ...
743
+ @_property
744
+ def fully_evaluated(self) -> bool: ...
745
+ @_property
746
+ def usable_for_play(self) -> bool: ...
747
+
748
+ @typing.final
749
+ class IPlayReadyLicenseAcquisitionServiceRequest(winrt.system.Object):
750
+ @staticmethod
751
+ def _from(obj: winrt.system.Object, /) -> IPlayReadyLicenseAcquisitionServiceRequest: ...
752
+ def begin_service_request(self) -> windows_foundation.IAsyncAction: ...
753
+ def generate_manual_enabling_challenge(self) -> typing.Optional[PlayReadySoapMessage]: ...
754
+ def next_service_request(self) -> typing.Optional[IPlayReadyServiceRequest]: ...
755
+ def process_manual_enabling_response(self, response_bytes: winrt.system.Array[winrt.system.UInt8], /) -> windows_foundation.HResult: ...
756
+ @_property
757
+ def content_header(self) -> typing.Optional[PlayReadyContentHeader]: ...
758
+ @content_header.setter
759
+ def content_header(self, value: typing.Optional[PlayReadyContentHeader]) -> None: ...
760
+ @_property
761
+ def domain_service_id(self) -> _uuid.UUID: ...
762
+ @domain_service_id.setter
763
+ def domain_service_id(self, value: _uuid.UUID) -> None: ...
764
+ @_property
765
+ def challenge_custom_data(self) -> str: ...
766
+ @challenge_custom_data.setter
767
+ def challenge_custom_data(self, value: str) -> None: ...
768
+ @_property
769
+ def response_custom_data(self) -> str: ...
770
+ @_property
771
+ def uri(self) -> typing.Optional[windows_foundation.Uri]: ...
772
+ @uri.setter
773
+ def uri(self, value: typing.Optional[windows_foundation.Uri]) -> None: ...
774
+ @_property
775
+ def protection_system(self) -> _uuid.UUID: ...
776
+ @_property
777
+ def type(self) -> _uuid.UUID: ...
778
+
779
+ @typing.final
780
+ class IPlayReadyLicenseSession(winrt.system.Object):
781
+ @staticmethod
782
+ def _from(obj: winrt.system.Object, /) -> IPlayReadyLicenseSession: ...
783
+ def configure_media_protection_manager(self, mpm: typing.Optional[windows_media_protection.MediaProtectionManager], /) -> None: ...
784
+ def create_l_a_service_request(self) -> typing.Optional[IPlayReadyLicenseAcquisitionServiceRequest]: ...
785
+
786
+ @typing.final
787
+ class IPlayReadyLicenseSession2(winrt.system.Object):
788
+ @staticmethod
789
+ def _from(obj: winrt.system.Object, /) -> IPlayReadyLicenseSession2: ...
790
+ def configure_media_protection_manager(self, mpm: typing.Optional[windows_media_protection.MediaProtectionManager], /) -> None: ...
791
+ def create_l_a_service_request(self) -> typing.Optional[IPlayReadyLicenseAcquisitionServiceRequest]: ...
792
+ def create_license_iterable(self, content_header: typing.Optional[PlayReadyContentHeader], fully_evaluated: bool, /) -> typing.Optional[PlayReadyLicenseIterable]: ...
793
+
794
+ @typing.final
795
+ class IPlayReadySecureStopServiceRequest(winrt.system.Object):
796
+ @staticmethod
797
+ def _from(obj: winrt.system.Object, /) -> IPlayReadySecureStopServiceRequest: ...
798
+ def begin_service_request(self) -> windows_foundation.IAsyncAction: ...
799
+ def generate_manual_enabling_challenge(self) -> typing.Optional[PlayReadySoapMessage]: ...
800
+ def next_service_request(self) -> typing.Optional[IPlayReadyServiceRequest]: ...
801
+ def process_manual_enabling_response(self, response_bytes: winrt.system.Array[winrt.system.UInt8], /) -> windows_foundation.HResult: ...
802
+ @_property
803
+ def publisher_certificate(self) -> winrt.system.UInt8: ...
804
+ @_property
805
+ def session_i_d(self) -> _uuid.UUID: ...
806
+ @_property
807
+ def start_time(self) -> datetime.datetime: ...
808
+ @_property
809
+ def stopped(self) -> bool: ...
810
+ @_property
811
+ def update_time(self) -> datetime.datetime: ...
812
+ @_property
813
+ def challenge_custom_data(self) -> str: ...
814
+ @challenge_custom_data.setter
815
+ def challenge_custom_data(self, value: str) -> None: ...
816
+ @_property
817
+ def response_custom_data(self) -> str: ...
818
+ @_property
819
+ def uri(self) -> typing.Optional[windows_foundation.Uri]: ...
820
+ @uri.setter
821
+ def uri(self, value: typing.Optional[windows_foundation.Uri]) -> None: ...
822
+ @_property
823
+ def protection_system(self) -> _uuid.UUID: ...
824
+ @_property
825
+ def type(self) -> _uuid.UUID: ...
826
+
827
+ @typing.final
828
+ class IPlayReadyServiceRequest(winrt.system.Object):
829
+ @staticmethod
830
+ def _from(obj: winrt.system.Object, /) -> IPlayReadyServiceRequest: ...
831
+ def begin_service_request(self) -> windows_foundation.IAsyncAction: ...
832
+ def generate_manual_enabling_challenge(self) -> typing.Optional[PlayReadySoapMessage]: ...
833
+ def next_service_request(self) -> typing.Optional[IPlayReadyServiceRequest]: ...
834
+ def process_manual_enabling_response(self, response_bytes: winrt.system.Array[winrt.system.UInt8], /) -> windows_foundation.HResult: ...
835
+ @_property
836
+ def challenge_custom_data(self) -> str: ...
837
+ @challenge_custom_data.setter
838
+ def challenge_custom_data(self, value: str) -> None: ...
839
+ @_property
840
+ def response_custom_data(self) -> str: ...
841
+ @_property
842
+ def uri(self) -> typing.Optional[windows_foundation.Uri]: ...
843
+ @uri.setter
844
+ def uri(self, value: typing.Optional[windows_foundation.Uri]) -> None: ...
845
+ @_property
846
+ def protection_system(self) -> _uuid.UUID: ...
847
+ @_property
848
+ def type(self) -> _uuid.UUID: ...
849
+
@@ -0,0 +1,208 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
2
+
3
+ import enum
4
+
5
+ import winrt.system
6
+ from winrt import _winrt_windows_media_protection_playready
7
+
8
+ __all__ = [
9
+ "NDCertificateFeature",
10
+ "NDCertificatePlatformID",
11
+ "NDCertificateType",
12
+ "NDClosedCaptionFormat",
13
+ "NDContentIDType",
14
+ "NDMediaStreamType",
15
+ "NDProximityDetectionType",
16
+ "NDStartAsyncOptions",
17
+ "PlayReadyDecryptorSetup",
18
+ "PlayReadyEncryptionAlgorithm",
19
+ "PlayReadyHardwareDRMFeatures",
20
+ "PlayReadyITADataFormat",
21
+ "NDClient",
22
+ "NDCustomData",
23
+ "NDDownloadEngineNotifier",
24
+ "NDLicenseFetchDescriptor",
25
+ "NDStorageFileHelper",
26
+ "NDStreamParserNotifier",
27
+ "NDTCPMessenger",
28
+ "PlayReadyContentHeader",
29
+ "PlayReadyContentResolver",
30
+ "PlayReadyDomain",
31
+ "PlayReadyDomainIterable",
32
+ "PlayReadyDomainIterator",
33
+ "PlayReadyDomainJoinServiceRequest",
34
+ "PlayReadyDomainLeaveServiceRequest",
35
+ "PlayReadyITADataGenerator",
36
+ "PlayReadyIndividualizationServiceRequest",
37
+ "PlayReadyLicense",
38
+ "PlayReadyLicenseAcquisitionServiceRequest",
39
+ "PlayReadyLicenseIterable",
40
+ "PlayReadyLicenseIterator",
41
+ "PlayReadyLicenseManagement",
42
+ "PlayReadyLicenseSession",
43
+ "PlayReadyMeteringReportServiceRequest",
44
+ "PlayReadyRevocationServiceRequest",
45
+ "PlayReadySecureStopIterable",
46
+ "PlayReadySecureStopIterator",
47
+ "PlayReadySecureStopServiceRequest",
48
+ "PlayReadySoapMessage",
49
+ "PlayReadyStatics",
50
+ "INDClosedCaptionDataReceivedEventArgs",
51
+ "INDCustomData",
52
+ "INDDownloadEngine",
53
+ "INDDownloadEngineNotifier",
54
+ "INDLicenseFetchCompletedEventArgs",
55
+ "INDLicenseFetchDescriptor",
56
+ "INDLicenseFetchResult",
57
+ "INDMessenger",
58
+ "INDProximityDetectionCompletedEventArgs",
59
+ "INDRegistrationCompletedEventArgs",
60
+ "INDSendResult",
61
+ "INDStartResult",
62
+ "INDStorageFileHelper",
63
+ "INDStreamParser",
64
+ "INDStreamParserNotifier",
65
+ "INDTransmitterProperties",
66
+ "IPlayReadyDomain",
67
+ "IPlayReadyLicense",
68
+ "IPlayReadyLicenseAcquisitionServiceRequest",
69
+ "IPlayReadyLicenseSession",
70
+ "IPlayReadyLicenseSession2",
71
+ "IPlayReadySecureStopServiceRequest",
72
+ "IPlayReadyServiceRequest",
73
+ ]
74
+
75
+ class NDCertificateFeature(enum.IntEnum):
76
+ TRANSMITTER = 1
77
+ RECEIVER = 2
78
+ SHARED_CERTIFICATE = 3
79
+ SECURE_CLOCK = 4
80
+ ANTI_ROLL_BACK_CLOCK = 5
81
+ C_R_L_S = 9
82
+ PLAY_READY3_FEATURES = 13
83
+
84
+ class NDCertificatePlatformID(enum.IntEnum):
85
+ WINDOWS = 0
86
+ O_S_X = 1
87
+ WINDOWS_ON_A_R_M = 2
88
+ WINDOWS_MOBILE7 = 5
89
+ I_O_S_ON_A_R_M = 6
90
+ X_BOX_ON_P_P_C = 7
91
+ WINDOWS_PHONE8_ON_A_R_M = 8
92
+ WINDOWS_PHONE8_ON_X86 = 9
93
+ XBOX_ONE = 10
94
+ ANDROID_ON_A_R_M = 11
95
+ WINDOWS_PHONE81_ON_A_R_M = 12
96
+ WINDOWS_PHONE81_ON_X86 = 13
97
+
98
+ class NDCertificateType(enum.IntEnum):
99
+ UNKNOWN = 0
100
+ P_C = 1
101
+ DEVICE = 2
102
+ DOMAIN = 3
103
+ ISSUER = 4
104
+ CRL_SIGNER = 5
105
+ SERVICE = 6
106
+ SILVERLIGHT = 7
107
+ APPLICATION = 8
108
+ METERING = 9
109
+ KEY_FILE_SIGNER = 10
110
+ SERVER = 11
111
+ LICENSE_SIGNER = 12
112
+
113
+ class NDClosedCaptionFormat(enum.IntEnum):
114
+ A_T_S_C = 0
115
+ S_C_T_E20 = 1
116
+ UNKNOWN = 2
117
+
118
+ class NDContentIDType(enum.IntEnum):
119
+ KEY_I_D = 1
120
+ PLAY_READY_OBJECT = 2
121
+ CUSTOM = 3
122
+
123
+ class NDMediaStreamType(enum.IntEnum):
124
+ AUDIO = 1
125
+ VIDEO = 2
126
+
127
+ class NDProximityDetectionType(enum.IntEnum):
128
+ U_D_P = 1
129
+ T_C_P = 2
130
+ TRANSPORT_AGNOSTIC = 4
131
+
132
+ class NDStartAsyncOptions(enum.IntEnum):
133
+ MUTUAL_AUTHENTICATION = 1
134
+ WAIT_FOR_LICENSE_DESCRIPTOR = 2
135
+
136
+ class PlayReadyDecryptorSetup(enum.IntEnum):
137
+ UNINITIALIZED = 0
138
+ ON_DEMAND = 1
139
+
140
+ class PlayReadyEncryptionAlgorithm(enum.IntEnum):
141
+ UNPROTECTED = 0
142
+ AES128_CTR = 1
143
+ COCKTAIL = 4
144
+ AES128_CBC = 5
145
+ UNSPECIFIED = 65535
146
+ UNINITIALIZED = 2147483647
147
+
148
+ class PlayReadyHardwareDRMFeatures(enum.IntEnum):
149
+ HARDWARE_D_R_M = 1
150
+ H_E_V_C = 2
151
+ AES128_CBC = 3
152
+
153
+ class PlayReadyITADataFormat(enum.IntEnum):
154
+ SERIALIZED_PROPERTIES = 0
155
+ SERIALIZED_PROPERTIES_WITH_CONTENT_PROTECTION_WRAPPER = 1
156
+
157
+ NDClient = _winrt_windows_media_protection_playready.NDClient
158
+ NDCustomData = _winrt_windows_media_protection_playready.NDCustomData
159
+ NDDownloadEngineNotifier = _winrt_windows_media_protection_playready.NDDownloadEngineNotifier
160
+ NDLicenseFetchDescriptor = _winrt_windows_media_protection_playready.NDLicenseFetchDescriptor
161
+ NDStorageFileHelper = _winrt_windows_media_protection_playready.NDStorageFileHelper
162
+ NDStreamParserNotifier = _winrt_windows_media_protection_playready.NDStreamParserNotifier
163
+ NDTCPMessenger = _winrt_windows_media_protection_playready.NDTCPMessenger
164
+ PlayReadyContentHeader = _winrt_windows_media_protection_playready.PlayReadyContentHeader
165
+ PlayReadyContentResolver = _winrt_windows_media_protection_playready.PlayReadyContentResolver
166
+ PlayReadyDomain = _winrt_windows_media_protection_playready.PlayReadyDomain
167
+ PlayReadyDomainIterable = _winrt_windows_media_protection_playready.PlayReadyDomainIterable
168
+ PlayReadyDomainIterator = _winrt_windows_media_protection_playready.PlayReadyDomainIterator
169
+ PlayReadyDomainJoinServiceRequest = _winrt_windows_media_protection_playready.PlayReadyDomainJoinServiceRequest
170
+ PlayReadyDomainLeaveServiceRequest = _winrt_windows_media_protection_playready.PlayReadyDomainLeaveServiceRequest
171
+ PlayReadyITADataGenerator = _winrt_windows_media_protection_playready.PlayReadyITADataGenerator
172
+ PlayReadyIndividualizationServiceRequest = _winrt_windows_media_protection_playready.PlayReadyIndividualizationServiceRequest
173
+ PlayReadyLicense = _winrt_windows_media_protection_playready.PlayReadyLicense
174
+ PlayReadyLicenseAcquisitionServiceRequest = _winrt_windows_media_protection_playready.PlayReadyLicenseAcquisitionServiceRequest
175
+ PlayReadyLicenseIterable = _winrt_windows_media_protection_playready.PlayReadyLicenseIterable
176
+ PlayReadyLicenseIterator = _winrt_windows_media_protection_playready.PlayReadyLicenseIterator
177
+ PlayReadyLicenseManagement = _winrt_windows_media_protection_playready.PlayReadyLicenseManagement
178
+ PlayReadyLicenseSession = _winrt_windows_media_protection_playready.PlayReadyLicenseSession
179
+ PlayReadyMeteringReportServiceRequest = _winrt_windows_media_protection_playready.PlayReadyMeteringReportServiceRequest
180
+ PlayReadyRevocationServiceRequest = _winrt_windows_media_protection_playready.PlayReadyRevocationServiceRequest
181
+ PlayReadySecureStopIterable = _winrt_windows_media_protection_playready.PlayReadySecureStopIterable
182
+ PlayReadySecureStopIterator = _winrt_windows_media_protection_playready.PlayReadySecureStopIterator
183
+ PlayReadySecureStopServiceRequest = _winrt_windows_media_protection_playready.PlayReadySecureStopServiceRequest
184
+ PlayReadySoapMessage = _winrt_windows_media_protection_playready.PlayReadySoapMessage
185
+ PlayReadyStatics = _winrt_windows_media_protection_playready.PlayReadyStatics
186
+ INDClosedCaptionDataReceivedEventArgs = _winrt_windows_media_protection_playready.INDClosedCaptionDataReceivedEventArgs
187
+ INDCustomData = _winrt_windows_media_protection_playready.INDCustomData
188
+ INDDownloadEngine = _winrt_windows_media_protection_playready.INDDownloadEngine
189
+ INDDownloadEngineNotifier = _winrt_windows_media_protection_playready.INDDownloadEngineNotifier
190
+ INDLicenseFetchCompletedEventArgs = _winrt_windows_media_protection_playready.INDLicenseFetchCompletedEventArgs
191
+ INDLicenseFetchDescriptor = _winrt_windows_media_protection_playready.INDLicenseFetchDescriptor
192
+ INDLicenseFetchResult = _winrt_windows_media_protection_playready.INDLicenseFetchResult
193
+ INDMessenger = _winrt_windows_media_protection_playready.INDMessenger
194
+ INDProximityDetectionCompletedEventArgs = _winrt_windows_media_protection_playready.INDProximityDetectionCompletedEventArgs
195
+ INDRegistrationCompletedEventArgs = _winrt_windows_media_protection_playready.INDRegistrationCompletedEventArgs
196
+ INDSendResult = _winrt_windows_media_protection_playready.INDSendResult
197
+ INDStartResult = _winrt_windows_media_protection_playready.INDStartResult
198
+ INDStorageFileHelper = _winrt_windows_media_protection_playready.INDStorageFileHelper
199
+ INDStreamParser = _winrt_windows_media_protection_playready.INDStreamParser
200
+ INDStreamParserNotifier = _winrt_windows_media_protection_playready.INDStreamParserNotifier
201
+ INDTransmitterProperties = _winrt_windows_media_protection_playready.INDTransmitterProperties
202
+ IPlayReadyDomain = _winrt_windows_media_protection_playready.IPlayReadyDomain
203
+ IPlayReadyLicense = _winrt_windows_media_protection_playready.IPlayReadyLicense
204
+ IPlayReadyLicenseAcquisitionServiceRequest = _winrt_windows_media_protection_playready.IPlayReadyLicenseAcquisitionServiceRequest
205
+ IPlayReadyLicenseSession = _winrt_windows_media_protection_playready.IPlayReadyLicenseSession
206
+ IPlayReadyLicenseSession2 = _winrt_windows_media_protection_playready.IPlayReadyLicenseSession2
207
+ IPlayReadySecureStopServiceRequest = _winrt_windows_media_protection_playready.IPlayReadySecureStopServiceRequest
208
+ IPlayReadyServiceRequest = _winrt_windows_media_protection_playready.IPlayReadyServiceRequest
File without changes
@@ -0,0 +1,29 @@
1
+ Metadata-Version: 2.1
2
+ Name: winrt-Windows.Media.Protection.PlayReady
3
+ Version: 2.2.0
4
+ Summary: Python projection of Windows Runtime (WinRT) APIs
5
+ License: MIT
6
+ Project-URL: Documentation, https://pywinrt.readthedocs.io
7
+ Project-URL: Repository, https://github.com/pywinrt/pywinrt
8
+ Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md
9
+ Classifier: Operating System :: Microsoft :: Windows
10
+ Classifier: Programming Language :: Python :: 3
11
+ Classifier: Programming Language :: Python :: Implementation :: CPython
12
+ Classifier: Intended Audience :: Developers
13
+ Requires-Python: <3.14,>=3.9
14
+ Description-Content-Type: text/markdown
15
+ Requires-Dist: winrt-runtime ==2.2.0
16
+ Provides-Extra: all
17
+ Requires-Dist: winrt-Windows.Foundation[all] ==2.2.0 ; extra == 'all'
18
+ Requires-Dist: winrt-Windows.Foundation.Collections[all] ==2.2.0 ; extra == 'all'
19
+ Requires-Dist: winrt-Windows.Media.Core[all] ==2.2.0 ; extra == 'all'
20
+ Requires-Dist: winrt-Windows.Media.Protection[all] ==2.2.0 ; extra == 'all'
21
+ Requires-Dist: winrt-Windows.Storage[all] ==2.2.0 ; extra == 'all'
22
+
23
+ <!-- warning: Please don't edit this file. It was automatically generated. -->
24
+
25
+ # winrt-Windows.Media.Protection.PlayReady
26
+
27
+ Windows Runtime (WinRT) APIs for for the `Windows.Media.Protection.PlayReady` namespace.
28
+
29
+ This package provides the `winrt.windows.media.protection.playready` module.
@@ -0,0 +1,8 @@
1
+ winrt/_winrt_windows_media_protection_playready.cp313-win32.pyd,sha256=sIZC7NVEIPOnNWu6lAYIZoXtPfb9D-MjiIMivSeaDQ8,486912
2
+ winrt/_winrt_windows_media_protection_playready.pyi,sha256=H03VvcLS0WQVdcki5GT3LMrd7ctLZpy_vY_OZehArG4,44990
3
+ winrt/windows/media/protection/playready/__init__.py,sha256=rX053stqmuaJnAhaSxZqrsTOgovdPr_5sFyRztsFWmw,8912
4
+ winrt/windows/media/protection/playready/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
+ winrt_Windows.Media.Protection.PlayReady-2.2.0.dist-info/METADATA,sha256=NZn26UO1Z8Y-RZghXOYFXUoBE-z5t9totkh6fBUk4sk,1386
6
+ winrt_Windows.Media.Protection.PlayReady-2.2.0.dist-info/WHEEL,sha256=rHSPOKLHVf857fDiba9Pzuf1iCvh9pcRQ5-VWQYz3ms,97
7
+ winrt_Windows.Media.Protection.PlayReady-2.2.0.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
8
+ winrt_Windows.Media.Protection.PlayReady-2.2.0.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (73.0.0)
3
+ Root-Is-Purelib: false
4
+ Tag: cp313-cp313-win32
5
+