ملف GCKCommon.h
تعدادات GCKCastState وGCKConnectionState وGCKConnection استكمالreason وGCKActiveInputStatus وGCKStandbyStatus.
المزيد...
|
typedef | NS_CLOSED_ENUM (NSInteger, GCKConnectionState) |
|
typedef | NS_CLOSED_ENUM (NSInteger, GCKActiveInputStatus) |
|
typedef | NS_CLOSED_ENUM (NSInteger, GCKStandbyStatus) |
|
typedef | NS_CLOSED_ENUM (NSUInteger, GCKCastState) |
|
تعدادات GCKCastState وGCKConnectionState وGCKConnection استكمالreason وGCKActiveInputStatus وGCKStandbyStatus.
يشير حقل التعداد إلى أسباب تعليق الاتصال.
العدّاد |
---|
GCKConnectionعلّقreasonAppFrameed |
تم تعليق الاتصال لأنّ التطبيق ينتقل إلى الخلفية.
|
GCKConnectionعلّقreasonNetworkError |
تم تعليق الاتصال بسبب حدوث خطأ في إدخال/إخراج الشبكة أو في البروتوكول.
|
أداة GCKConnectionعلّقreasonNetworkNotReachable |
تم تعليق الاتصال بسبب عدم إمكانية الوصول إلى الشبكة.
|
GCKConnection DisablereasonAppTerident |
تم تعليق الاتصال بسبب إنهاء التطبيق أثناء الاتصال.
|
سلسلة ثابتة تحتوي على رقم إصدار إطار عمل GoogleCast
معرّف طلب غير صالح. إذا عرضت إحدى الطرق معرّف الطلب هذا، فهذا يعني أنه لا يمكن إجراء الطلب.
يشير ذلك المصطلح إلى نوع استثناء يشير إلى أنّه تم طلب واجهة برمجة تطبيقات من سلسلة محادثات غير صالحة.
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2023-12-02 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2023-12-02 (حسب التوقيت العالمي المتفَّق عليه)"],[[["The GCKCommon.h file defines enums for Cast state, connection state, connection suspension reasons, active input status, and standby status."],["It includes an enum, `GCKConnectionSuspendReason`, which specifies the reasons behind a connection suspension, such as app backgrounding, network errors, and app termination."],["The file declares constants like `kGCKFrameworkVersion` for the framework version, `kGCKInvalidRequestID` representing an invalid request, and `kGCKThreadException` indicating an API call from an invalid thread."],["It contains typedefs for GCKConnectionState, GCKActiveInputStatus, GCKStandbyStatus, and GCKCastState, all of which are closed enums using NSInteger or NSUInteger."]]],["This document outlines key elements within the GCKCommon.h file, which contains enumerations, functions, and variables related to Google Cast. The `GCKConnectionSuspendReason` enum details reasons for connection suspension, such as the app being backgrounded, network errors, network unreachability, or app termination. Other enums include `GCKCastState`, `GCKConnectionState`, `GCKActiveInputStatus`, and `GCKStandbyStatus`. Notable variables are `kGCKFrameworkVersion` (framework version), `kGCKInvalidRequestID` (for failed requests), and `kGCKThreadException` (invalid thread calls).\n"]]