קובץ GCK Common.h
GCKCastState, GCKConnectionState, GCKConnectionsuspendedReason, GCKActiveReceiveStatus וכללי 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, GCKConnectionsuspendedReason, GCKActiveReceiveStatus וכללי GCKStandbyStatus.
טיפוסים בני מנייה (Enum) המגדירים את הסיבות להשעיית החיבור.
מונה |
---|
GCKConnectionPauseReasonAppBackgrounded |
החיבור הושעה כי האפליקציה עוברת לרקע.
|
GCKConnectionPauseReasonNetworkError |
החיבור הושעה עקב שגיאת קלט/פלט ברשת או פרוטוקול.
|
GCKConnectionPauseReasonNetworkNotReachable |
החיבור הושעה כי לא ניתן לגשת לרשת.
|
GCKConnection התאימהסיבתAppTerminated |
החיבור הושעה כי האפליקציה נסגרה בזמן החיבור.
|
קבוע מחרוזת שמכיל את מספר הגרסה של ה-framework של GoogleCast.
מזהה בקשה לא חוקי. אם שיטה מחזירה את מזהה הבקשה הזה, המשמעות היא שלא ניתן לבצע את הבקשה.
סוג חריג שלפיו ממשק API הופעל מ-thread לא חוקי.
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2023-12-02 (שעון UTC).
[null,null,["עדכון אחרון: 2023-12-02 (שעון UTC)."],[[["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"]]