NDDownloadEngineNotifier Classe

Definição

Contém métodos que um plug-in do mecanismo de download usa para enviar notificações para um cliente 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
Herança
Object Platform::Object IInspectable NDDownloadEngineNotifier
Atributos
Implementações

Requisitos do Windows

Família de dispositivos
Windows 10 (introduzida na 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduzida na v1.0)

Construtores

NDDownloadEngineNotifier()

Cria uma nova instância da classe NDDownloadEngineNotifier .

Métodos

OnContentIDReceived(INDLicenseFetchDescriptor)

Chamado pelo mecanismo de download quando um identificador de conteúdo é recebido.

OnDataReceived(Byte[], UInt32)

Chamado pelo mecanismo de download quando recebe dados.

OnEndOfStream()

Chamado pelo mecanismo de download quando ele atinge o fim de um fluxo de mídia do PlayReady-ND.

OnNetworkError()

Chamado pelo mecanismo de download se ocorrer um erro durante o download.

OnPlayReadyObjectReceived(Byte[])

Chamado pelo mecanismo de download depois que um objeto PlayReady é recebido.

OnStreamOpened()

Chamado pelo mecanismo de download quando um fluxo é aberto.

Aplica-se a

Confira também