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()

打开流时由下载引擎调用。

适用于