NDDownloadEngineNotifier 类

定义

包含下载引擎插件用于将通知发送到 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
继承
Object Platform::Object IInspectable NDDownloadEngineNotifier
属性
实现

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

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

适用于

另请参阅