NDDownloadEngineNotifier NDDownloadEngineNotifier NDDownloadEngineNotifier NDDownloadEngineNotifier NDDownloadEngineNotifier Class

Definition

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

public : sealed class NDDownloadEngineNotifier : INDDownloadEngineNotifier
struct winrt::Windows::Media::Protection::PlayReady::NDDownloadEngineNotifier : INDDownloadEngineNotifier
public sealed class NDDownloadEngineNotifier : INDDownloadEngineNotifier
Public NotInheritable Class NDDownloadEngineNotifier Implements INDDownloadEngineNotifier
var ndDownloadEngineNotifier = new ndDownloadEngineNotifier();
Attributes

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Constructors

NDDownloadEngineNotifier() NDDownloadEngineNotifier() NDDownloadEngineNotifier() NDDownloadEngineNotifier() NDDownloadEngineNotifier()

Creates a new instance of the NDDownloadEngineNotifier class.

Methods

OnContentIDReceived(INDLicenseFetchDescriptor) OnContentIDReceived(INDLicenseFetchDescriptor) OnContentIDReceived(INDLicenseFetchDescriptor) OnContentIDReceived(INDLicenseFetchDescriptor) OnContentIDReceived(INDLicenseFetchDescriptor)

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

OnDataReceived(Byte[], UInt32) OnDataReceived(Byte[], UInt32) OnDataReceived(Byte[], UInt32) OnDataReceived(Byte[], UInt32) OnDataReceived(Byte[], UInt32)

Called by the download engine when it receives data.

OnEndOfStream() OnEndOfStream() OnEndOfStream() OnEndOfStream() OnEndOfStream()

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

OnNetworkError() OnNetworkError() OnNetworkError() OnNetworkError() OnNetworkError()

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

OnPlayReadyObjectReceived(Byte[]) OnPlayReadyObjectReceived(Byte[]) OnPlayReadyObjectReceived(Byte[]) OnPlayReadyObjectReceived(Byte[]) OnPlayReadyObjectReceived(Byte[])

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

OnStreamOpened() OnStreamOpened() OnStreamOpened() OnStreamOpened() OnStreamOpened()

Called by the download engine when a stream is opened.

See also