NDClient NDClient NDClient NDClient NDClient Class

Definition

Creates PlayReady-ND sessions, coordinates with the download engine and the stream parser (for example, an MPEG-2 demuxer), manages the sample buffer, and listens to media stream source events.

public : sealed class NDClient : INDClient
struct winrt::Windows::Media::Protection::PlayReady::NDClient : INDClient
public sealed class NDClient : INDClient
Public NotInheritable Class NDClient Implements INDClient
var ndClient = new ndClient(downloadEngine, streamParser, pMessenger);
Attributes

Windows 10 requirements

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

Constructors

NDClient(INDDownloadEngine, INDStreamParser, INDMessenger) NDClient(INDDownloadEngine, INDStreamParser, INDMessenger) NDClient(INDDownloadEngine, INDStreamParser, INDMessenger) NDClient(INDDownloadEngine, INDStreamParser, INDMessenger) NDClient(INDDownloadEngine, INDStreamParser, INDMessenger)

Creates a new instance of the NDClient class.

Methods

Close() Close() Close() Close() Close()

Closes the current playback session regardless of whether it is in the registration, proximity detection, license fetch, or play state.

LicenseFetchAsync(INDLicenseFetchDescriptor) LicenseFetchAsync(INDLicenseFetchDescriptor) LicenseFetchAsync(INDLicenseFetchDescriptor) LicenseFetchAsync(INDLicenseFetchDescriptor) LicenseFetchAsync(INDLicenseFetchDescriptor)

Performs a license fetch between a client receiver and a transmitter.

ReRegistrationAsync(INDCustomData) ReRegistrationAsync(INDCustomData) ReRegistrationAsync(INDCustomData) ReRegistrationAsync(INDCustomData) ReRegistrationAsync(INDCustomData)

Performs a proximity detection and reregistration between a client receiver and a transmitter.

StartAsync(Uri, UInt32, INDCustomData, INDLicenseFetchDescriptor) StartAsync(Uri, UInt32, INDCustomData, INDLicenseFetchDescriptor) StartAsync(Uri, UInt32, INDCustomData, INDLicenseFetchDescriptor) StartAsync(Uri, UInt32, INDCustomData, INDLicenseFetchDescriptor) StartAsync(Uri, UInt32, INDCustomData, INDLicenseFetchDescriptor)

Starts the registration, proximity detection, and license fetch procedures between a client receiver and a transmitter.

Events

ClosedCaptionDataReceived ClosedCaptionDataReceived ClosedCaptionDataReceived ClosedCaptionDataReceived ClosedCaptionDataReceived

Notifies listeners that a closed caption acquisition operation has completed.

LicenseFetchCompleted LicenseFetchCompleted LicenseFetchCompleted LicenseFetchCompleted LicenseFetchCompleted

Notifies listeners that a license fetch operation has completed.

ProximityDetectionCompleted ProximityDetectionCompleted ProximityDetectionCompleted ProximityDetectionCompleted ProximityDetectionCompleted

Notifies listeners that a proximity detection operation has completed.

RegistrationCompleted RegistrationCompleted RegistrationCompleted RegistrationCompleted RegistrationCompleted

Notifies listeners that a registration operation has completed.

ReRegistrationNeeded ReRegistrationNeeded ReRegistrationNeeded ReRegistrationNeeded ReRegistrationNeeded

Notifies listeners that the app should start re-registration by calling the ReRegistrationAsync method.