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() |
打开流时由下载引擎调用。 |