Сигнатура метода AddonSession.createCoDoingClient
Создает CoDoingClient
.
Подпись
createCoDoingClient(coDoingDelegate: CoDoingDelegate): Promise<CoDoingClient>;
Подробности
Параметры
Имя | Тип | Необязательный | Описание |
---|
coDoingDelegate | CoDoingDelegate | Нет | |
Возврат
Promise<CoDoingClient>
Если не указано иное, контент на этой странице предоставляется по лицензии Creative Commons "С указанием авторства 4.0", а примеры кода – по лицензии Apache 2.0. Подробнее об этом написано в правилах сайта. Java – это зарегистрированный товарный знак корпорации Oracle и ее аффилированных лиц.
Последнее обновление: 2025-01-07 UTC.
[null,null,["Последнее обновление: 2025-01-07 UTC."],[[["Asynchronously creates an instance of `CoDoingClient` using the provided `CoDoingDelegate`."],["`coDoingDelegate` is a required parameter of type `CoDoingDelegate`."],["Returns a `Promise` that resolves to the created `CoDoingClient`."]]],["This code snippet details the creation of a `CoDoingClient`. The function `createCoDoingClient` is called, requiring a `CoDoingDelegate` as a parameter. This parameter is mandatory. The function returns a `Promise` that resolves to a `CoDoingClient` object. No optional parameters are available for this function. The core action is the instantiation of a `CoDoingClient` through a promise-based function using a mandatory delegate.\n"]]