NDDownloadEngineNotifier 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
包含下載引擎外掛程式用來將通知傳送至 PlayReady-ND 用戶端的方法。
public ref class NDDownloadEngineNotifier sealed : INDDownloadEngineNotifier
/// [Windows.Foundation.Metadata.Activatable(65536, Windows.Foundation.UniversalApiContract)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
class NDDownloadEngineNotifier final : INDDownloadEngineNotifier
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Activatable(65536, "Windows.Foundation.UniversalApiContract")]
class NDDownloadEngineNotifier final : INDDownloadEngineNotifier
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Activatable(65536, "Windows.Foundation.UniversalApiContract")]
/// [Windows.Foundation.Metadata.Deprecated("NDDownloadEngineNotifier is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 196608, "Windows.Foundation.UniversalApiContract")]
class NDDownloadEngineNotifier final : INDDownloadEngineNotifier
[Windows.Foundation.Metadata.Activatable(65536, typeof(Windows.Foundation.UniversalApiContract))]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public sealed class NDDownloadEngineNotifier : INDDownloadEngineNotifier
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Activatable(65536, "Windows.Foundation.UniversalApiContract")]
public sealed class NDDownloadEngineNotifier : INDDownloadEngineNotifier
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Activatable(65536, "Windows.Foundation.UniversalApiContract")]
[Windows.Foundation.Metadata.Deprecated("NDDownloadEngineNotifier is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 196608, "Windows.Foundation.UniversalApiContract")]
public sealed class NDDownloadEngineNotifier : INDDownloadEngineNotifier
function NDDownloadEngineNotifier()
Public NotInheritable Class NDDownloadEngineNotifier
Implements INDDownloadEngineNotifier
- 繼承
- 屬性
- 實作
Windows 需求
裝置系列 |
Windows 10 (已於 10.0.10240.0 引進)
|
API contract |
Windows.Foundation.UniversalApiContract (已於 v1.0 引進)
|
建構函式
NDDownloadEngineNotifier() |
建立 NDDownloadEngineNotifier 類別的新實例。 |
方法
OnContentIDReceived(INDLicenseFetchDescriptor) |
收到內容識別碼時,由下載引擎呼叫。 |
OnDataReceived(Byte[], UInt32) |
下載引擎在接收資料時呼叫。 |
OnEndOfStream() |
當下載引擎到達 PlayReady-ND 媒體資料流程的結尾時,由下載引擎呼叫。 |
OnNetworkError() |
如果下載期間發生錯誤,則由下載引擎呼叫。 |
OnPlayReadyObjectReceived(Byte[]) |
收到 PlayReady 物件之後,由下載引擎呼叫。 |
OnStreamOpened() |
當開啟資料流程時,由下載引擎呼叫。 |