امضای روش AddonSession.createCoDoingClient
یک CoDoingClient
ایجاد می کند.
امضا
createCoDoingClient(coDoingDelegate: CoDoingDelegate): Promise<CoDoingClient>;
جزئیات
پارامترها
نام | تایپ کنید | اختیاری | توضیحات |
---|
coDoingDelegate | CoDoingDelegate | خیر | |
برمی گرداند
Promise<CoDoingClient>
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-01-07 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-01-07 بهوقت ساعت هماهنگ جهانی."],[[["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"]]