Delen via


NDStreamParserNotifier Class

Definition

Contains methods that a stream parser plug-in uses to send notifications to a PlayReady-ND client.

public ref class NDStreamParserNotifier sealed : INDStreamParserNotifier
/// [Windows.Foundation.Metadata.Activatable(65536, Windows.Foundation.UniversalApiContract)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
class NDStreamParserNotifier final : INDStreamParserNotifier
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Activatable(65536, "Windows.Foundation.UniversalApiContract")]
class NDStreamParserNotifier final : INDStreamParserNotifier
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Activatable(65536, "Windows.Foundation.UniversalApiContract")]
/// [Windows.Foundation.Metadata.Deprecated("NDStreamParserNotifier is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 196608, "Windows.Foundation.UniversalApiContract")]
class NDStreamParserNotifier final : INDStreamParserNotifier
[Windows.Foundation.Metadata.Activatable(65536, typeof(Windows.Foundation.UniversalApiContract))]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public sealed class NDStreamParserNotifier : INDStreamParserNotifier
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Activatable(65536, "Windows.Foundation.UniversalApiContract")]
public sealed class NDStreamParserNotifier : INDStreamParserNotifier
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Activatable(65536, "Windows.Foundation.UniversalApiContract")]
[Windows.Foundation.Metadata.Deprecated("NDStreamParserNotifier 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 NDStreamParserNotifier : INDStreamParserNotifier
function NDStreamParserNotifier()
Public NotInheritable Class NDStreamParserNotifier
Implements INDStreamParserNotifier
Inheritance
Object Platform::Object IInspectable NDStreamParserNotifier
Attributes
Implements

Windows requirements

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

Constructors

NDStreamParserNotifier()

Creates a new instance of the NDStreamParserNotifier class.

Methods

OnBeginSetupDecryptor(IMediaStreamDescriptor, Guid, Byte[])

Called by the stream parser when it requests a setup decryptor.

OnContentIDReceived(INDLicenseFetchDescriptor)

Called by a stream parser when it receives the content identifier.

OnMediaStreamDescriptorCreated(IVector<AudioStreamDescriptor>, IVector<VideoStreamDescriptor>)

Called by the stream parser when the media stream descriptor is created.

OnSampleParsed(UInt32, NDMediaStreamType, MediaStreamSample, Int64, NDClosedCaptionFormat, Byte[])

Called when the stream parser parses a sample from the media stream.

Applies to

See also