共用方式為


INDDownloadEngineNotifier 介面

定義

包含下載引擎外掛程式用來將通知傳送至 PlayReady-ND 用戶端的方法。

public interface class INDDownloadEngineNotifier
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(3609244884, 62648, 17712, 168, 9, 145, 147, 165, 113, 231, 252)]
struct INDDownloadEngineNotifier
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(3609244884, 62648, 17712, 168, 9, 145, 147, 165, 113, 231, 252)]
/// [Windows.Foundation.Metadata.Deprecated("INDDownloadEngineNotifier is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 196608, "Windows.Foundation.UniversalApiContract")]
struct INDDownloadEngineNotifier
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(3609244884, 62648, 17712, 168, 9, 145, 147, 165, 113, 231, 252)]
public interface INDDownloadEngineNotifier
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(3609244884, 62648, 17712, 168, 9, 145, 147, 165, 113, 231, 252)]
[Windows.Foundation.Metadata.Deprecated("INDDownloadEngineNotifier is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 196608, "Windows.Foundation.UniversalApiContract")]
public interface INDDownloadEngineNotifier
Public Interface INDDownloadEngineNotifier
衍生
屬性

Windows 需求

裝置系列
Windows 10 (已於 10.0.10240.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v1.0 引進)

方法

OnContentIDReceived(INDLicenseFetchDescriptor)

收到內容識別碼時,由下載引擎呼叫。

OnDataReceived(Byte[], UInt32)

下載引擎在接收資料時呼叫。

OnEndOfStream()

當下載引擎到達 PlayReady-ND 媒體串流的結尾時,由下載引擎呼叫。

OnNetworkError()

如果下載期間發生錯誤,則由下載引擎呼叫。

OnPlayReadyObjectReceived(Byte[])

在收到 PlayReady 物件之後,由下載引擎呼叫。

OnStreamOpened()

當開啟資料流程時,由下載引擎呼叫。

適用於