Firma de método AddonSession.createCoWatchingClient
Crea un CoWatchingClient
.
Firma
createCoWatchingClient(
coWatchingDelegate: CoWatchingDelegate,
): Promise<CoWatchingClient>;
Detalles
Parámetros
Nombre |
Tipo |
Opcional |
Descripción |
coWatchingDelegate |
CoWatchingDelegate |
No |
|
Muestra
Promise<CoWatchingClient>
Salvo que se indique lo contrario, el contenido de esta página está sujeto a la licencia Atribución 4.0 de Creative Commons, y los ejemplos de código están sujetos a la licencia Apache 2.0. Para obtener más información, consulta las políticas del sitio de Google Developers. Java es una marca registrada de Oracle o sus afiliados.
Última actualización: 2024-09-12 (UTC)
[null,null,["Última actualización: 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"]]