Signature de méthode AddonSession.createCoDoingClient
Crée un objet CoDoingClient
.
Signature
createCoDoingClient(coDoingDelegate: CoDoingDelegate): Promise<CoDoingClient>;
Détails
Paramètres
Nom |
Type |
Facultatif |
Description |
coDoingDelegate |
CoDoingDelegate |
Non |
|
Renvoie
Promise<CoDoingClient>
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2024/09/12 (UTC).
[null,null,["Dernière mise à jour le 2024/09/12 (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"]]