Сигнатура метода AddonSession.createCoWatchingClient
Создает CoWatchingClient
.
Подпись
createCoWatchingClient(
coWatchingDelegate: CoWatchingDelegate,
): Promise<CoWatchingClient>;
Подробности
Параметры
Имя | Тип | Необязательный | Описание |
---|
coWatchingDelegate | CoWatchingDelegate | Нет | |
Возврат
Promise<CoWatchingClient>
Если не указано иное, контент на этой странице предоставляется по лицензии Creative Commons "С указанием авторства 4.0", а примеры кода – по лицензии Apache 2.0. Подробнее об этом написано в правилах сайта. Java – это зарегистрированный товарный знак корпорации Oracle и ее аффилированных лиц.
Последнее обновление: 2025-01-07 UTC.
[null,null,["Последнее обновление: 2025-01-07 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"]]