GCKCommon.h 檔案
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
GCKCastState、GCKConnectionState、GCKConnectionSuspendReason、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、GCKConnectionSuspendReason、GCKActiveInputStatus 和 GCKStandbyStatus 列舉。
列舉 定義連線暫停的原因。
分子 |
---|
GCKConnectionSuspendReasonAppBackgrounded |
應用程式即將進入背景,因此連線已暫停。
|
GCKConnectionSuspendReasonNetworkError |
網路 I/O 或通訊協定錯誤,導致連線暫停。
|
GCKConnectionSuspendReasonNetworkNotReachable |
無法連上網路,因此連線已暫停。
|
GCKConnection 暫停原因應用程式終止 |
應用程式在連線時遭到終止,因此連線已遭暫停。
|
包含 GoogleCast 架構版本號碼的字串常數。
無效的要求 ID;如果方法傳回此要求 ID,就代表無法提出要求。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2023-12-02 (世界標準時間)。
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["缺少我需要的資訊","missingTheInformationINeed","thumb-down"],["過於複雜/步驟過多","tooComplicatedTooManySteps","thumb-down"],["過時","outOfDate","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["示例/程式碼問題","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間: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."]]],[]]