INDDownloadEngineNotifier
INDDownloadEngineNotifier
INDDownloadEngineNotifier
INDDownloadEngineNotifier
Interface
Definition
Contains methods that a download engine plug-in uses to send notifications to a PlayReady-ND client.
public : interface INDDownloadEngineNotifierpublic interface INDDownloadEngineNotifierPublic Interface INDDownloadEngineNotifier// You can use this interface in JavaScript.
- Attributes
Windows 10 requirements
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Methods
OnContentIDReceived(INDLicenseFetchDescriptor) OnContentIDReceived(INDLicenseFetchDescriptor) OnContentIDReceived(INDLicenseFetchDescriptor) OnContentIDReceived(INDLicenseFetchDescriptor)
Called by the download engine when a content identifier is received.
public : void OnContentIDReceived(INDLicenseFetchDescriptor licenseFetchDescriptor)public void OnContentIDReceived(INDLicenseFetchDescriptor licenseFetchDescriptor)Public Function OnContentIDReceived(licenseFetchDescriptor As INDLicenseFetchDescriptor) As void// You can use this method in JavaScript.
Parameters
- licenseFetchDescriptor
- INDLicenseFetchDescriptor INDLicenseFetchDescriptor INDLicenseFetchDescriptor INDLicenseFetchDescriptor
The license from which the download engine receives the content identifier.
OnDataReceived(Byte[], UInt32) OnDataReceived(Byte[], UInt32) OnDataReceived(Byte[], UInt32) OnDataReceived(Byte[], UInt32)
Called by the download engine when it receives data.
public : void OnDataReceived(Byte[] dataBytes, unsigned int bytesReceived)public void OnDataReceived(Byte[] dataBytes, UInt32 bytesReceived)Public Function OnDataReceived(dataBytes As Byte[], bytesReceived As UInt32) As void// You can use this method in JavaScript.
Parameters
- dataBytes
- Byte[] Byte[] Byte[] Byte[]
The byte array that holds the data.
- bytesReceived
- unsigned int UInt32 UInt32 UInt32
The number of bytes received from the data stream.
OnEndOfStream() OnEndOfStream() OnEndOfStream() OnEndOfStream()
Called by the download engine when it reaches the end of a PlayReady-ND media stream.
public : void OnEndOfStream()public void OnEndOfStream()Public Function OnEndOfStream() As void// You can use this method in JavaScript.
OnNetworkError() OnNetworkError() OnNetworkError() OnNetworkError()
Called by the download engine if an error occurs during downloading.
public : void OnNetworkError()public void OnNetworkError()Public Function OnNetworkError() As void// You can use this method in JavaScript.
OnPlayReadyObjectReceived(Byte[]) OnPlayReadyObjectReceived(Byte[]) OnPlayReadyObjectReceived(Byte[]) OnPlayReadyObjectReceived(Byte[])
Called by the download engine once a PlayReady object is received.
public : void OnPlayReadyObjectReceived(Byte[] dataBytes)public void OnPlayReadyObjectReceived(Byte[] dataBytes)Public Function OnPlayReadyObjectReceived(dataBytes As Byte[]) As void// You can use this method in JavaScript.
Parameters
- dataBytes
- Byte[] Byte[] Byte[] Byte[]
The byte array that holds the PlayReady object.