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 |
ネットワークにアクセスできないため、接続が一時停止されました。
|
GCKConnectionSuspendReasonAppTerminated |
接続中にアプリが終了したため、接続が停止されました。
|
GoogleCast フレームワークのバージョン番号を含む文字列定数。
無効なリクエスト ID。メソッドがこのリクエスト ID を返す場合は、リクエストを実行できなかったことを意味します。
API が無効なスレッドから呼び出されたことを示す例外タイプ。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 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"]]