Share via


NDDownloadEngineNotifier.OnDataReceived(Byte[], UInt32) Method

Definition

Called by the download engine when it receives data.

public:
 virtual void OnDataReceived(Platform::Array <byte> ^ dataBytes, unsigned int bytesReceived) = OnDataReceived;
void OnDataReceived(winrt::array_view <byte> const& dataBytes, uint32_t const& bytesReceived);
/// [Windows.Foundation.Metadata.Deprecated("INDDownloadEngineNotifier is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 196608, "Windows.Foundation.UniversalApiContract")]
void OnDataReceived(winrt::array_view <byte> const& dataBytes, uint32_t const& bytesReceived);
public void OnDataReceived(byte[] dataBytes, uint bytesReceived);
[Windows.Foundation.Metadata.Deprecated("INDDownloadEngineNotifier is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 196608, "Windows.Foundation.UniversalApiContract")]
public void OnDataReceived(byte[] dataBytes, uint bytesReceived);
function onDataReceived(dataBytes, bytesReceived)
Public Sub OnDataReceived (dataBytes As Byte(), bytesReceived As UInteger)

Parameters

dataBytes

Byte[]

byte[]

The byte array that holds the data.

bytesReceived
UInt32

unsigned int

uint32_t

The number of bytes received from the data stream.

Implements

M:Windows.Media.Protection.PlayReady.INDDownloadEngineNotifier.OnDataReceived(System.Byte[],System.UInt32) M:Windows.Media.Protection.PlayReady.INDDownloadEngineNotifier.OnDataReceived(byte[],unsigned int) M:Windows.Media.Protection.PlayReady.INDDownloadEngineNotifier.OnDataReceived(byte[],uint32_t)
Attributes

Applies to