winrt-Windows.Media.Protection.PlayReady 2.2.0__tar.gz → 2.3.0__tar.gz

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.
Files changed (20) hide show
  1. {winrt_windows_media_protection_playready-2.2.0 → winrt_windows_media_protection_playready-2.3.0}/PKG-INFO +7 -7
  2. winrt_windows_media_protection_playready-2.3.0/all-requirements.txt +7 -0
  3. {winrt_windows_media_protection_playready-2.2.0 → winrt_windows_media_protection_playready-2.3.0}/py.Windows.Media.Protection.PlayReady.cpp +1 -1
  4. winrt_windows_media_protection_playready-2.3.0/pywinrt-version.txt +1 -0
  5. {winrt_windows_media_protection_playready-2.2.0 → winrt_windows_media_protection_playready-2.3.0}/requirements.txt +2 -2
  6. {winrt_windows_media_protection_playready-2.2.0 → winrt_windows_media_protection_playready-2.3.0}/winrt/_winrt_windows_media_protection_playready.pyi +40 -40
  7. {winrt_windows_media_protection_playready-2.2.0 → winrt_windows_media_protection_playready-2.3.0}/winrt/windows/media/protection/playready/__init__.py +1 -1
  8. {winrt_windows_media_protection_playready-2.2.0 → winrt_windows_media_protection_playready-2.3.0}/winrt_Windows.Media.Protection.PlayReady.egg-info/PKG-INFO +7 -7
  9. winrt_windows_media_protection_playready-2.3.0/winrt_Windows.Media.Protection.PlayReady.egg-info/requires.txt +8 -0
  10. winrt_windows_media_protection_playready-2.2.0/all-requirements.txt +0 -7
  11. winrt_windows_media_protection_playready-2.2.0/pywinrt-version.txt +0 -1
  12. winrt_windows_media_protection_playready-2.2.0/winrt_Windows.Media.Protection.PlayReady.egg-info/requires.txt +0 -8
  13. {winrt_windows_media_protection_playready-2.2.0 → winrt_windows_media_protection_playready-2.3.0}/README.md +0 -0
  14. {winrt_windows_media_protection_playready-2.2.0 → winrt_windows_media_protection_playready-2.3.0}/pyproject.toml +0 -0
  15. {winrt_windows_media_protection_playready-2.2.0 → winrt_windows_media_protection_playready-2.3.0}/setup.cfg +0 -0
  16. {winrt_windows_media_protection_playready-2.2.0 → winrt_windows_media_protection_playready-2.3.0}/setup.py +0 -0
  17. {winrt_windows_media_protection_playready-2.2.0 → winrt_windows_media_protection_playready-2.3.0}/winrt/windows/media/protection/playready/py.typed +0 -0
  18. {winrt_windows_media_protection_playready-2.2.0 → winrt_windows_media_protection_playready-2.3.0}/winrt_Windows.Media.Protection.PlayReady.egg-info/SOURCES.txt +0 -0
  19. {winrt_windows_media_protection_playready-2.2.0 → winrt_windows_media_protection_playready-2.3.0}/winrt_Windows.Media.Protection.PlayReady.egg-info/dependency_links.txt +0 -0
  20. {winrt_windows_media_protection_playready-2.2.0 → winrt_windows_media_protection_playready-2.3.0}/winrt_Windows.Media.Protection.PlayReady.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: winrt-Windows.Media.Protection.PlayReady
3
- Version: 2.2.0
3
+ Version: 2.3.0
4
4
  Summary: Python projection of Windows Runtime (WinRT) APIs
5
5
  License: MIT
6
6
  Project-URL: Documentation, https://pywinrt.readthedocs.io
@@ -12,13 +12,13 @@ Classifier: Programming Language :: Python :: Implementation :: CPython
12
12
  Classifier: Intended Audience :: Developers
13
13
  Requires-Python: <3.14,>=3.9
14
14
  Description-Content-Type: text/markdown
15
- Requires-Dist: winrt-runtime==2.2.0
15
+ Requires-Dist: winrt-runtime==2.3.0
16
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"
17
+ Requires-Dist: winrt-Windows.Foundation[all]==2.3.0; extra == "all"
18
+ Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.3.0; extra == "all"
19
+ Requires-Dist: winrt-Windows.Media.Core[all]==2.3.0; extra == "all"
20
+ Requires-Dist: winrt-Windows.Media.Protection[all]==2.3.0; extra == "all"
21
+ Requires-Dist: winrt-Windows.Storage[all]==2.3.0; extra == "all"
22
22
 
23
23
  <!-- warning: Please don't edit this file. It was automatically generated. -->
24
24
 
@@ -0,0 +1,7 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.3.0
2
+
3
+ winrt-Windows.Foundation[all]==2.3.0
4
+ winrt-Windows.Foundation.Collections[all]==2.3.0
5
+ winrt-Windows.Media.Core[all]==2.3.0
6
+ winrt-Windows.Media.Protection[all]==2.3.0
7
+ winrt-Windows.Storage[all]==2.3.0
@@ -1,4 +1,4 @@
1
- // WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
1
+ // WARNING: Please don't edit this file. It was generated by Python/WinRT v2.3.0
2
2
 
3
3
  #include "py.Windows.Media.Protection.PlayReady.h"
4
4
 
@@ -1,3 +1,3 @@
1
- # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.3.0
2
2
 
3
- winrt-runtime==2.2.0
3
+ winrt-runtime==2.3.0
@@ -1,4 +1,4 @@
1
- # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.3.0
2
2
 
3
3
  import datetime
4
4
  import sys
@@ -43,7 +43,7 @@ class NDClient(winrt.system.Object):
43
43
  class NDCustomData(winrt.system.Object):
44
44
  @staticmethod
45
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: ...
46
+ def __new__(cls: typing.Type[NDCustomData], custom_data_type_i_d_bytes: typing.Union[winrt.system.Array[winrt.system.UInt8], winrt.system.ReadableBuffer], custom_data_bytes: typing.Union[winrt.system.Array[winrt.system.UInt8], winrt.system.ReadableBuffer]) -> NDCustomData: ...
47
47
  @_property
48
48
  def custom_data(self) -> winrt.system.UInt8: ...
49
49
  @_property
@@ -55,17 +55,17 @@ class NDDownloadEngineNotifier(winrt.system.Object):
55
55
  def _from(obj: winrt.system.Object, /) -> NDDownloadEngineNotifier: ...
56
56
  def __new__(cls: typing.Type[NDDownloadEngineNotifier]) -> NDDownloadEngineNotifier: ...
57
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: ...
58
+ def on_data_received(self, data_bytes: typing.Union[winrt.system.Array[winrt.system.UInt8], winrt.system.ReadableBuffer], bytes_received: winrt.system.UInt32, /) -> None: ...
59
59
  def on_end_of_stream(self) -> None: ...
60
60
  def on_network_error(self) -> None: ...
61
- def on_play_ready_object_received(self, data_bytes: winrt.system.Array[winrt.system.UInt8], /) -> None: ...
61
+ def on_play_ready_object_received(self, data_bytes: typing.Union[winrt.system.Array[winrt.system.UInt8], winrt.system.ReadableBuffer], /) -> None: ...
62
62
  def on_stream_opened(self) -> None: ...
63
63
 
64
64
  @typing.final
65
65
  class NDLicenseFetchDescriptor(winrt.system.Object):
66
66
  @staticmethod
67
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: ...
68
+ def __new__(cls: typing.Type[NDLicenseFetchDescriptor], content_i_d_type: NDContentIDType, content_i_d_bytes: typing.Union[winrt.system.Array[winrt.system.UInt8], winrt.system.ReadableBuffer], license_fetch_challenge_custom_data: typing.Optional[INDCustomData]) -> NDLicenseFetchDescriptor: ...
69
69
  @_property
70
70
  def license_fetch_challenge_custom_data(self) -> typing.Optional[INDCustomData]: ...
71
71
  @license_fetch_challenge_custom_data.setter
@@ -87,33 +87,33 @@ class NDStreamParserNotifier(winrt.system.Object):
87
87
  @staticmethod
88
88
  def _from(obj: winrt.system.Object, /) -> NDStreamParserNotifier: ...
89
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: ...
90
+ def on_begin_setup_decryptor(self, descriptor: typing.Optional[windows_media_core.IMediaStreamDescriptor], key_i_d: _uuid.UUID, pro_bytes: typing.Union[winrt.system.Array[winrt.system.UInt8], winrt.system.ReadableBuffer], /) -> None: ...
91
91
  def on_content_i_d_received(self, license_fetch_descriptor: typing.Optional[INDLicenseFetchDescriptor], /) -> None: ...
92
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: ...
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: typing.Union[winrt.system.Array[winrt.system.UInt8], winrt.system.ReadableBuffer], /) -> None: ...
94
94
 
95
95
  @typing.final
96
96
  class NDTCPMessenger(winrt.system.Object):
97
97
  @staticmethod
98
98
  def _from(obj: winrt.system.Object, /) -> NDTCPMessenger: ...
99
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]: ...
100
+ def send_license_fetch_request_async(self, session_i_d_bytes: typing.Union[winrt.system.Array[winrt.system.UInt8], winrt.system.ReadableBuffer], challenge_data_bytes: typing.Union[winrt.system.Array[winrt.system.UInt8], winrt.system.ReadableBuffer], /) -> windows_foundation.IAsyncOperation[INDSendResult]: ...
101
+ def send_proximity_detection_response_async(self, pd_type: NDProximityDetectionType, transmitter_channel_bytes: typing.Union[winrt.system.Array[winrt.system.UInt8], winrt.system.ReadableBuffer], session_i_d_bytes: typing.Union[winrt.system.Array[winrt.system.UInt8], winrt.system.ReadableBuffer], response_data_bytes: typing.Union[winrt.system.Array[winrt.system.UInt8], winrt.system.ReadableBuffer], /) -> windows_foundation.IAsyncOperation[INDSendResult]: ...
102
+ def send_proximity_detection_start_async(self, pd_type: NDProximityDetectionType, transmitter_channel_bytes: typing.Union[winrt.system.Array[winrt.system.UInt8], winrt.system.ReadableBuffer], session_i_d_bytes: typing.Union[winrt.system.Array[winrt.system.UInt8], winrt.system.ReadableBuffer], challenge_data_bytes: typing.Union[winrt.system.Array[winrt.system.UInt8], winrt.system.ReadableBuffer], /) -> windows_foundation.IAsyncOperation[INDSendResult]: ...
103
+ def send_registration_request_async(self, session_i_d_bytes: typing.Union[winrt.system.Array[winrt.system.UInt8], winrt.system.ReadableBuffer], challenge_data_bytes: typing.Union[winrt.system.Array[winrt.system.UInt8], winrt.system.ReadableBuffer], /) -> windows_foundation.IAsyncOperation[INDSendResult]: ...
104
104
 
105
105
  @typing.final
106
106
  class PlayReadyContentHeader(winrt.system.Object):
107
107
  @staticmethod
108
108
  def _from(obj: winrt.system.Object, /) -> PlayReadyContentHeader: ...
109
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: ...
110
+ def __new__(cls: typing.Type[PlayReadyContentHeader], dw_flags: winrt.system.UInt32, content_key_ids: typing.Union[winrt.system.Array[_uuid.UUID], winrt.system.ReadableBuffer], content_key_id_strings: typing.Union[winrt.system.Array[str], winrt.system.ReadableBuffer], 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
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: ...
112
+ def __new__(cls: typing.Type[PlayReadyContentHeader], header_bytes: typing.Union[winrt.system.Array[winrt.system.UInt8], winrt.system.ReadableBuffer], 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
113
  @typing.overload
114
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
115
  @typing.overload
116
- def __new__(cls: typing.Type[PlayReadyContentHeader], header_bytes: winrt.system.Array[winrt.system.UInt8]) -> PlayReadyContentHeader: ...
116
+ def __new__(cls: typing.Type[PlayReadyContentHeader], header_bytes: typing.Union[winrt.system.Array[winrt.system.UInt8], winrt.system.ReadableBuffer]) -> PlayReadyContentHeader: ...
117
117
  def get_serialized_header(self) -> winrt.system.Array[winrt.system.UInt8]: ...
118
118
  @_property
119
119
  def custom_attributes(self) -> str: ...
@@ -175,7 +175,7 @@ class PlayReadyDomainIterator(winrt.system.Object):
175
175
  def __next__(self) -> IPlayReadyDomain: ...
176
176
  @staticmethod
177
177
  def _from(obj: winrt.system.Object, /) -> PlayReadyDomainIterator: ...
178
- def get_many(self, items: winrt.system.Array[IPlayReadyDomain], /) -> winrt.system.UInt32: ...
178
+ def get_many(self, items: typing.Union[winrt.system.Array[IPlayReadyDomain], winrt.system.WriteableBuffer], /) -> winrt.system.UInt32: ...
179
179
  def move_next(self) -> bool: ...
180
180
  @_property
181
181
  def current(self) -> typing.Optional[IPlayReadyDomain]: ...
@@ -190,7 +190,7 @@ class PlayReadyDomainJoinServiceRequest(winrt.system.Object):
190
190
  def begin_service_request(self) -> windows_foundation.IAsyncAction: ...
191
191
  def generate_manual_enabling_challenge(self) -> typing.Optional[PlayReadySoapMessage]: ...
192
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: ...
193
+ def process_manual_enabling_response(self, response_bytes: typing.Union[winrt.system.Array[winrt.system.UInt8], winrt.system.ReadableBuffer], /) -> windows_foundation.HResult: ...
194
194
  @_property
195
195
  def protection_system(self) -> _uuid.UUID: ...
196
196
  @_property
@@ -226,7 +226,7 @@ class PlayReadyDomainLeaveServiceRequest(winrt.system.Object):
226
226
  def begin_service_request(self) -> windows_foundation.IAsyncAction: ...
227
227
  def generate_manual_enabling_challenge(self) -> typing.Optional[PlayReadySoapMessage]: ...
228
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: ...
229
+ def process_manual_enabling_response(self, response_bytes: typing.Union[winrt.system.Array[winrt.system.UInt8], winrt.system.ReadableBuffer], /) -> windows_foundation.HResult: ...
230
230
  @_property
231
231
  def protection_system(self) -> _uuid.UUID: ...
232
232
  @_property
@@ -265,7 +265,7 @@ class PlayReadyIndividualizationServiceRequest(winrt.system.Object):
265
265
  def begin_service_request(self) -> windows_foundation.IAsyncAction: ...
266
266
  def generate_manual_enabling_challenge(self) -> typing.Optional[PlayReadySoapMessage]: ...
267
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: ...
268
+ def process_manual_enabling_response(self, response_bytes: typing.Union[winrt.system.Array[winrt.system.UInt8], winrt.system.ReadableBuffer], /) -> windows_foundation.HResult: ...
269
269
  @_property
270
270
  def protection_system(self) -> _uuid.UUID: ...
271
271
  @_property
@@ -316,7 +316,7 @@ class PlayReadyLicenseAcquisitionServiceRequest(winrt.system.Object):
316
316
  def create_license_iterable(self, content_header: typing.Optional[PlayReadyContentHeader], fully_evaluated: bool, /) -> typing.Optional[PlayReadyLicenseIterable]: ...
317
317
  def generate_manual_enabling_challenge(self) -> typing.Optional[PlayReadySoapMessage]: ...
318
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: ...
319
+ def process_manual_enabling_response(self, response_bytes: typing.Union[winrt.system.Array[winrt.system.UInt8], winrt.system.ReadableBuffer], /) -> windows_foundation.HResult: ...
320
320
  @_property
321
321
  def protection_system(self) -> _uuid.UUID: ...
322
322
  @_property
@@ -359,7 +359,7 @@ class PlayReadyLicenseIterator(winrt.system.Object):
359
359
  def __next__(self) -> IPlayReadyLicense: ...
360
360
  @staticmethod
361
361
  def _from(obj: winrt.system.Object, /) -> PlayReadyLicenseIterator: ...
362
- def get_many(self, items: winrt.system.Array[IPlayReadyLicense], /) -> winrt.system.UInt32: ...
362
+ def get_many(self, items: typing.Union[winrt.system.Array[IPlayReadyLicense], winrt.system.WriteableBuffer], /) -> winrt.system.UInt32: ...
363
363
  def move_next(self) -> bool: ...
364
364
  @_property
365
365
  def current(self) -> typing.Optional[IPlayReadyLicense]: ...
@@ -391,7 +391,7 @@ class PlayReadyMeteringReportServiceRequest(winrt.system.Object):
391
391
  def begin_service_request(self) -> windows_foundation.IAsyncAction: ...
392
392
  def generate_manual_enabling_challenge(self) -> typing.Optional[PlayReadySoapMessage]: ...
393
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: ...
394
+ def process_manual_enabling_response(self, response_bytes: typing.Union[winrt.system.Array[winrt.system.UInt8], winrt.system.ReadableBuffer], /) -> windows_foundation.HResult: ...
395
395
  @_property
396
396
  def protection_system(self) -> _uuid.UUID: ...
397
397
  @_property
@@ -419,7 +419,7 @@ class PlayReadyRevocationServiceRequest(winrt.system.Object):
419
419
  def begin_service_request(self) -> windows_foundation.IAsyncAction: ...
420
420
  def generate_manual_enabling_challenge(self) -> typing.Optional[PlayReadySoapMessage]: ...
421
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: ...
422
+ def process_manual_enabling_response(self, response_bytes: typing.Union[winrt.system.Array[winrt.system.UInt8], winrt.system.ReadableBuffer], /) -> windows_foundation.HResult: ...
423
423
  @_property
424
424
  def protection_system(self) -> _uuid.UUID: ...
425
425
  @_property
@@ -440,7 +440,7 @@ class PlayReadySecureStopIterable(winrt.system.Object):
440
440
  def __iter__(self) -> windows_foundation_collections.IIterator[IPlayReadySecureStopServiceRequest]: ...
441
441
  @staticmethod
442
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: ...
443
+ def __new__(cls: typing.Type[PlayReadySecureStopIterable], publisher_cert_bytes: typing.Union[winrt.system.Array[winrt.system.UInt8], winrt.system.ReadableBuffer]) -> PlayReadySecureStopIterable: ...
444
444
  def first(self) -> typing.Optional[windows_foundation_collections.IIterator[IPlayReadySecureStopServiceRequest]]: ...
445
445
 
446
446
  @typing.final
@@ -449,7 +449,7 @@ class PlayReadySecureStopIterator(winrt.system.Object):
449
449
  def __next__(self) -> IPlayReadySecureStopServiceRequest: ...
450
450
  @staticmethod
451
451
  def _from(obj: winrt.system.Object, /) -> PlayReadySecureStopIterator: ...
452
- def get_many(self, items: winrt.system.Array[IPlayReadySecureStopServiceRequest], /) -> winrt.system.UInt32: ...
452
+ def get_many(self, items: typing.Union[winrt.system.Array[IPlayReadySecureStopServiceRequest], winrt.system.WriteableBuffer], /) -> winrt.system.UInt32: ...
453
453
  def move_next(self) -> bool: ...
454
454
  @_property
455
455
  def current(self) -> typing.Optional[IPlayReadySecureStopServiceRequest]: ...
@@ -461,13 +461,13 @@ class PlayReadySecureStopServiceRequest(winrt.system.Object):
461
461
  @staticmethod
462
462
  def _from(obj: winrt.system.Object, /) -> PlayReadySecureStopServiceRequest: ...
463
463
  @typing.overload
464
- def __new__(cls: typing.Type[PlayReadySecureStopServiceRequest], publisher_cert_bytes: winrt.system.Array[winrt.system.UInt8]) -> PlayReadySecureStopServiceRequest: ...
464
+ def __new__(cls: typing.Type[PlayReadySecureStopServiceRequest], publisher_cert_bytes: typing.Union[winrt.system.Array[winrt.system.UInt8], winrt.system.ReadableBuffer]) -> PlayReadySecureStopServiceRequest: ...
465
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: ...
466
+ def __new__(cls: typing.Type[PlayReadySecureStopServiceRequest], session_i_d: _uuid.UUID, publisher_cert_bytes: typing.Union[winrt.system.Array[winrt.system.UInt8], winrt.system.ReadableBuffer]) -> PlayReadySecureStopServiceRequest: ...
467
467
  def begin_service_request(self) -> windows_foundation.IAsyncAction: ...
468
468
  def generate_manual_enabling_challenge(self) -> typing.Optional[PlayReadySoapMessage]: ...
469
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: ...
470
+ def process_manual_enabling_response(self, response_bytes: typing.Union[winrt.system.Array[winrt.system.UInt8], winrt.system.ReadableBuffer], /) -> windows_foundation.HResult: ...
471
471
  @_property
472
472
  def protection_system(self) -> _uuid.UUID: ...
473
473
  @_property
@@ -565,7 +565,7 @@ class INDDownloadEngine(winrt.system.Object):
565
565
  @staticmethod
566
566
  def _from(obj: winrt.system.Object, /) -> INDDownloadEngine: ...
567
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: ...
568
+ def open(self, uri: typing.Optional[windows_foundation.Uri], session_i_d_bytes: typing.Union[winrt.system.Array[winrt.system.UInt8], winrt.system.ReadableBuffer], /) -> None: ...
569
569
  def pause(self) -> None: ...
570
570
  def resume(self) -> None: ...
571
571
  def seek(self, start_position: datetime.timedelta, /) -> None: ...
@@ -583,10 +583,10 @@ class INDDownloadEngineNotifier(winrt.system.Object):
583
583
  @staticmethod
584
584
  def _from(obj: winrt.system.Object, /) -> INDDownloadEngineNotifier: ...
585
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: ...
586
+ def on_data_received(self, data_bytes: typing.Union[winrt.system.Array[winrt.system.UInt8], winrt.system.ReadableBuffer], bytes_received: winrt.system.UInt32, /) -> None: ...
587
587
  def on_end_of_stream(self) -> None: ...
588
588
  def on_network_error(self) -> None: ...
589
- def on_play_ready_object_received(self, data_bytes: winrt.system.Array[winrt.system.UInt8], /) -> None: ...
589
+ def on_play_ready_object_received(self, data_bytes: typing.Union[winrt.system.Array[winrt.system.UInt8], winrt.system.ReadableBuffer], /) -> None: ...
590
590
  def on_stream_opened(self) -> None: ...
591
591
 
592
592
  @typing.final
@@ -620,10 +620,10 @@ class INDLicenseFetchResult(winrt.system.Object):
620
620
  class INDMessenger(winrt.system.Object):
621
621
  @staticmethod
622
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]: ...
623
+ def send_license_fetch_request_async(self, session_i_d_bytes: typing.Union[winrt.system.Array[winrt.system.UInt8], winrt.system.ReadableBuffer], challenge_data_bytes: typing.Union[winrt.system.Array[winrt.system.UInt8], winrt.system.ReadableBuffer], /) -> windows_foundation.IAsyncOperation[INDSendResult]: ...
624
+ def send_proximity_detection_response_async(self, pd_type: NDProximityDetectionType, transmitter_channel_bytes: typing.Union[winrt.system.Array[winrt.system.UInt8], winrt.system.ReadableBuffer], session_i_d_bytes: typing.Union[winrt.system.Array[winrt.system.UInt8], winrt.system.ReadableBuffer], response_data_bytes: typing.Union[winrt.system.Array[winrt.system.UInt8], winrt.system.ReadableBuffer], /) -> windows_foundation.IAsyncOperation[INDSendResult]: ...
625
+ def send_proximity_detection_start_async(self, pd_type: NDProximityDetectionType, transmitter_channel_bytes: typing.Union[winrt.system.Array[winrt.system.UInt8], winrt.system.ReadableBuffer], session_i_d_bytes: typing.Union[winrt.system.Array[winrt.system.UInt8], winrt.system.ReadableBuffer], challenge_data_bytes: typing.Union[winrt.system.Array[winrt.system.UInt8], winrt.system.ReadableBuffer], /) -> windows_foundation.IAsyncOperation[INDSendResult]: ...
626
+ def send_registration_request_async(self, session_i_d_bytes: typing.Union[winrt.system.Array[winrt.system.UInt8], winrt.system.ReadableBuffer], challenge_data_bytes: typing.Union[winrt.system.Array[winrt.system.UInt8], winrt.system.ReadableBuffer], /) -> windows_foundation.IAsyncOperation[INDSendResult]: ...
627
627
 
628
628
  @typing.final
629
629
  class INDProximityDetectionCompletedEventArgs(winrt.system.Object):
@@ -672,7 +672,7 @@ class INDStreamParser(winrt.system.Object):
672
672
  def begin_of_stream(self) -> None: ...
673
673
  def end_of_stream(self) -> None: ...
674
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: ...
675
+ def parse_data(self, data_bytes: typing.Union[winrt.system.Array[winrt.system.UInt8], winrt.system.ReadableBuffer], /) -> None: ...
676
676
  @_property
677
677
  def notifier(self) -> typing.Optional[NDStreamParserNotifier]: ...
678
678
 
@@ -680,10 +680,10 @@ class INDStreamParser(winrt.system.Object):
680
680
  class INDStreamParserNotifier(winrt.system.Object):
681
681
  @staticmethod
682
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: ...
683
+ def on_begin_setup_decryptor(self, descriptor: typing.Optional[windows_media_core.IMediaStreamDescriptor], key_i_d: _uuid.UUID, pro_bytes: typing.Union[winrt.system.Array[winrt.system.UInt8], winrt.system.ReadableBuffer], /) -> None: ...
684
684
  def on_content_i_d_received(self, license_fetch_descriptor: typing.Optional[INDLicenseFetchDescriptor], /) -> None: ...
685
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: ...
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: typing.Union[winrt.system.Array[winrt.system.UInt8], winrt.system.ReadableBuffer], /) -> None: ...
687
687
 
688
688
  @typing.final
689
689
  class INDTransmitterProperties(winrt.system.Object):
@@ -752,7 +752,7 @@ class IPlayReadyLicenseAcquisitionServiceRequest(winrt.system.Object):
752
752
  def begin_service_request(self) -> windows_foundation.IAsyncAction: ...
753
753
  def generate_manual_enabling_challenge(self) -> typing.Optional[PlayReadySoapMessage]: ...
754
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: ...
755
+ def process_manual_enabling_response(self, response_bytes: typing.Union[winrt.system.Array[winrt.system.UInt8], winrt.system.ReadableBuffer], /) -> windows_foundation.HResult: ...
756
756
  @_property
757
757
  def content_header(self) -> typing.Optional[PlayReadyContentHeader]: ...
758
758
  @content_header.setter
@@ -798,7 +798,7 @@ class IPlayReadySecureStopServiceRequest(winrt.system.Object):
798
798
  def begin_service_request(self) -> windows_foundation.IAsyncAction: ...
799
799
  def generate_manual_enabling_challenge(self) -> typing.Optional[PlayReadySoapMessage]: ...
800
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: ...
801
+ def process_manual_enabling_response(self, response_bytes: typing.Union[winrt.system.Array[winrt.system.UInt8], winrt.system.ReadableBuffer], /) -> windows_foundation.HResult: ...
802
802
  @_property
803
803
  def publisher_certificate(self) -> winrt.system.UInt8: ...
804
804
  @_property
@@ -831,7 +831,7 @@ class IPlayReadyServiceRequest(winrt.system.Object):
831
831
  def begin_service_request(self) -> windows_foundation.IAsyncAction: ...
832
832
  def generate_manual_enabling_challenge(self) -> typing.Optional[PlayReadySoapMessage]: ...
833
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: ...
834
+ def process_manual_enabling_response(self, response_bytes: typing.Union[winrt.system.Array[winrt.system.UInt8], winrt.system.ReadableBuffer], /) -> windows_foundation.HResult: ...
835
835
  @_property
836
836
  def challenge_custom_data(self) -> str: ...
837
837
  @challenge_custom_data.setter
@@ -1,4 +1,4 @@
1
- # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.3.0
2
2
 
3
3
  import enum
4
4
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: winrt-Windows.Media.Protection.PlayReady
3
- Version: 2.2.0
3
+ Version: 2.3.0
4
4
  Summary: Python projection of Windows Runtime (WinRT) APIs
5
5
  License: MIT
6
6
  Project-URL: Documentation, https://pywinrt.readthedocs.io
@@ -12,13 +12,13 @@ Classifier: Programming Language :: Python :: Implementation :: CPython
12
12
  Classifier: Intended Audience :: Developers
13
13
  Requires-Python: <3.14,>=3.9
14
14
  Description-Content-Type: text/markdown
15
- Requires-Dist: winrt-runtime==2.2.0
15
+ Requires-Dist: winrt-runtime==2.3.0
16
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"
17
+ Requires-Dist: winrt-Windows.Foundation[all]==2.3.0; extra == "all"
18
+ Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.3.0; extra == "all"
19
+ Requires-Dist: winrt-Windows.Media.Core[all]==2.3.0; extra == "all"
20
+ Requires-Dist: winrt-Windows.Media.Protection[all]==2.3.0; extra == "all"
21
+ Requires-Dist: winrt-Windows.Storage[all]==2.3.0; extra == "all"
22
22
 
23
23
  <!-- warning: Please don't edit this file. It was automatically generated. -->
24
24
 
@@ -0,0 +1,8 @@
1
+ winrt-runtime==2.3.0
2
+
3
+ [all]
4
+ winrt-Windows.Foundation[all]==2.3.0
5
+ winrt-Windows.Foundation.Collections[all]==2.3.0
6
+ winrt-Windows.Media.Core[all]==2.3.0
7
+ winrt-Windows.Media.Protection[all]==2.3.0
8
+ winrt-Windows.Storage[all]==2.3.0
@@ -1,7 +0,0 @@
1
- # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
2
-
3
- winrt-Windows.Foundation[all]==2.2.0
4
- winrt-Windows.Foundation.Collections[all]==2.2.0
5
- winrt-Windows.Media.Core[all]==2.2.0
6
- winrt-Windows.Media.Protection[all]==2.2.0
7
- winrt-Windows.Storage[all]==2.2.0
@@ -1,8 +0,0 @@
1
- winrt-runtime==2.2.0
2
-
3
- [all]
4
- winrt-Windows.Foundation[all]==2.2.0
5
- winrt-Windows.Foundation.Collections[all]==2.2.0
6
- winrt-Windows.Media.Core[all]==2.2.0
7
- winrt-Windows.Media.Protection[all]==2.2.0
8
- winrt-Windows.Storage[all]==2.2.0