Method signature AddonSession.createCoDoingClient
Creates a CoDoingClient
.
Signature
createCoDoingClient(coDoingDelegate: CoDoingDelegate): Promise<CoDoingClient>;
Details
Parameters
Name |
Type |
Optional |
Description |
coDoingDelegate |
CoDoingDelegate |
No |
|
Returns
Promise<CoDoingClient>
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
[null,null,["Last updated 2024-09-18 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"]]