NDDownloadEngineNotifier Class

Definition

Contains methods that a download engine plug-in uses to send notifications to a PlayReady-ND client.

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
Inheritance
Object Platform::Object IInspectable NDDownloadEngineNotifier
Attributes
Implements

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Constructors

NDDownloadEngineNotifier()

Creates a new instance of the NDDownloadEngineNotifier class.

Methods

OnContentIDReceived(INDLicenseFetchDescriptor)

Called by the download engine when a content identifier is received.

OnDataReceived(Byte[], UInt32)

Called by the download engine when it receives data.

OnEndOfStream()

Called by the download engine when it reaches the end of a PlayReady-ND media stream.

OnNetworkError()

Called by the download engine if an error occurs during downloading.

OnPlayReadyObjectReceived(Byte[])

Called by the download engine once a PlayReady object is received.

OnStreamOpened()

Called by the download engine when a stream is opened.

Applies to

See also