方法签名 AddonSession.createCoDoingClient
创建 CoDoingClient
。
签名
createCoDoingClient(coDoingDelegate: CoDoingDelegate): Promise<CoDoingClient>;
详细信息
参数
名称 |
类型 |
可选 |
说明 |
coDoingDelegate |
CoDoingDelegate |
否 |
|
返回
Promise<CoDoingClient>
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-10-15。
[null,null,["最后更新时间 (UTC):2024-10-15。"],[[["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"]]