Firma del metodo AddonSession.createCoWatchingClient
Crea un CoWatchingClient
.
Firma
createCoWatchingClient(
coWatchingDelegate: CoWatchingDelegate,
): Promise<CoWatchingClient>;
Dettagli
Parametri
Nome |
Tipo |
Facoltativo |
Descrizione |
coWatchingDelegate |
CoWatchingDelegate |
No |
|
Resi
Promise<CoWatchingClient>
Salvo quando diversamente specificato, i contenuti di questa pagina sono concessi in base alla licenza Creative Commons Attribution 4.0, mentre gli esempi di codice sono concessi in base alla licenza Apache 2.0. Per ulteriori dettagli, consulta le norme del sito di Google Developers. Java è un marchio registrato di Oracle e/o delle sue consociate.
Ultimo aggiornamento 2024-09-12 UTC.
[null,null,["Ultimo aggiornamento 2024-09-12 UTC."],[[["Asynchronously creates a `CoWatchingClient` instance."],["Requires a `CoWatchingDelegate` to manage co-watching interactions."],["Returns a `Promise` that resolves with the created `CoWatchingClient`."]]],["This code snippet details the `createCoWatchingClient` function, which is mandatory and returns a `Promise` resolving to a `CoWatchingClient` instance. The function requires a single parameter, `coWatchingDelegate`, of type `CoWatchingDelegate`. This delegate is essential for the client's creation, as it is the only required argument for the function to execute.\n"]]