Condividi tramite


NDClient.StartAsync Metodo

Definizione

Avvia la registrazione, il rilevamento della prossimità e le procedure di recupero delle licenze tra un ricevitore client e un trasmettitore.

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)

Parametri

contentUrl
Uri Uri

URL del contenuto trasmesso.

startAsyncOptions
UInt32

unsigned int

uint32_t

Opzioni di avvio asincrone. Per una descrizione dettagliata di queste opzioni, vedere l'enumerazione NDStartAsyncOptions .

registrationCustomData
INDCustomData

Identificatore del tipo di dati personalizzato usato per la registrazione con il trasmettitore.

licenseFetchDescriptor
INDLicenseFetchDescriptor

Descrittore usato per il recupero delle licenze.

Restituisce

Risultato della chiamata di avvio asincrona.

Attributi

Commenti

Questo metodo configura una sessione PlayReady-ND con un trasmettitore e notifica al motore di download di avviare il contenuto di streaming non appena è stata stabilita la sessione.

Questo metodo notifica anche ai listener che ogni attività è stata completata eseguendo gli eventi ClosedCaptionDataReceived, LicenseFetchCompleted, ProximityDetectionCompleted, RegistrationCompleted e ReRegistrationNeed.

Si applica a

Vedi anche