توقيع الطريقة AddonSession.createCowatchingClient
لإنشاء CoWatchingClient
.
التوقيع
createCoWatchingClient(
coWatchingDelegate: CoWatchingDelegate,
): Promise<CoWatchingClient>;
التفاصيل
المعلمات
الاسم |
النوع |
اختياري |
الوصف |
coWatchingDelegate |
CoWatchingDelegate |
لا |
|
المرتجعات
Promise<CoWatchingClient>
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2024-09-12 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2024-09-12 (حسب التوقيت العالمي المتفَّق عليه)"],[[["Asynchronously creates a `CoWatchingClient` instance."],["Requires a `CoWatchingDelegate` to manage co-watching interactions."],["Returns a `Promise` that resolves with the created `CoWatchingClient`."]]],["This code snippet details the `createCoWatchingClient` function, which is mandatory and returns a `Promise` resolving to a `CoWatchingClient` instance. The function requires a single parameter, `coWatchingDelegate`, of type `CoWatchingDelegate`. This delegate is essential for the client's creation, as it is the only required argument for the function to execute.\n"]]