Assinatura do método AddonSession.createCoWatchingClient
Cria uma CoWatchingClient
.
Assinatura
createCoWatchingClient(
coWatchingDelegate: CoWatchingDelegate,
): Promise<CoWatchingClient>;
Detalhes
Parâmetros
Nome |
Tipo |
Opcional |
Descrição |
coWatchingDelegate |
CoWatchingDelegate |
Não |
|
Retorna
Promise<CoWatchingClient>
Exceto em caso de indicação contrária, o conteúdo desta página é licenciado de acordo com a Licença de atribuição 4.0 do Creative Commons, e as amostras de código são licenciadas de acordo com a Licença Apache 2.0. Para mais detalhes, consulte as políticas do site do Google Developers. Java é uma marca registrada da Oracle e/ou afiliadas.
Última atualização 2024-09-12 UTC.
[null,null,["Última atualização 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"]]