Partage via


NDClient.StartAsync Méthode

Définition

Démarre les procédures d’inscription, de détection de proximité et d’extraction de licences entre un récepteur client et un émetteur.

public:
 virtual IAsyncOperation<INDStartResult ^> ^ StartAsync(Uri ^ contentUrl, unsigned int startAsyncOptions, INDCustomData ^ registrationCustomData, INDLicenseFetchDescriptor ^ licenseFetchDescriptor) = StartAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<INDStartResult> StartAsync(Uri const& contentUrl, uint32_t const& startAsyncOptions, INDCustomData const& registrationCustomData, INDLicenseFetchDescriptor const& licenseFetchDescriptor);
/// [Windows.Foundation.Metadata.RemoteAsync]
/// [Windows.Foundation.Metadata.Deprecated("INDClient is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 196608, "Windows.Foundation.UniversalApiContract")]
IAsyncOperation<INDStartResult> StartAsync(Uri const& contentUrl, uint32_t const& startAsyncOptions, INDCustomData const& registrationCustomData, INDLicenseFetchDescriptor const& licenseFetchDescriptor);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<INDStartResult> StartAsync(System.Uri contentUrl, uint startAsyncOptions, INDCustomData registrationCustomData, INDLicenseFetchDescriptor licenseFetchDescriptor);
[Windows.Foundation.Metadata.RemoteAsync]
[Windows.Foundation.Metadata.Deprecated("INDClient is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 196608, "Windows.Foundation.UniversalApiContract")]
public IAsyncOperation<INDStartResult> StartAsync(System.Uri contentUrl, uint startAsyncOptions, INDCustomData registrationCustomData, INDLicenseFetchDescriptor licenseFetchDescriptor);
function startAsync(contentUrl, startAsyncOptions, registrationCustomData, licenseFetchDescriptor)
Public Function StartAsync (contentUrl As Uri, startAsyncOptions As UInteger, registrationCustomData As INDCustomData, licenseFetchDescriptor As INDLicenseFetchDescriptor) As IAsyncOperation(Of INDStartResult)

Paramètres

contentUrl
Uri Uri

URL du contenu diffusé en continu.

startAsyncOptions
UInt32

unsigned int

uint32_t

Options de démarrage asynchrones. Pour obtenir une description détaillée de ces options, consultez l’énumération NDStartAsyncOptions .

registrationCustomData
INDCustomData

Identificateur de type de données personnalisé utilisé pour l’inscription auprès de l’émetteur.

licenseFetchDescriptor
INDLicenseFetchDescriptor

Descripteur utilisé pour l’extraction des licences.

Retours

Résultat de l’appel de démarrage asynchrone.

Attributs

Remarques

Cette méthode configure une session PlayReady-ND avec un émetteur et avertit le moteur de téléchargement de commencer à diffuser du contenu dès qu’il a établi la session.

Cette méthode avertit également les écouteurs que chaque tâche est terminée en lançant les événements ClosedCaptionDataReceived, LicenseFetchCompleted, ProximityDetectionCompleted, RegistrationCompleted et ReRegistrationNeed appropriés .

S’applique à

Voir aussi