GCKSession+Protected.h ファイル
GCKSessionEndAction 列挙型と GCKSessionState 列挙型。
その他...
GCKSessionEndAction 列挙型と GCKSessionState 列挙型。
キャスト セッション終了時に実行するアクションを定義する列挙型。
- 開始:
- 4.0
列挙子 |
---|
GCKSessionEndActionLeave |
レシーバーのセッションを明示的に退出する。
|
GCKSessionEndActionDisconnect |
明示的にセッションを離れることなく、セッションから切断します。
|
GCKSessionEndActionStopCasting |
レシーバーで現在キャストしているアプリを停止してから、セッションを終了します。
|
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2023-12-02 UTC。
[null,null,["最終更新日 2023-12-02 UTC。"],[[["This document outlines the `GCKSession+Protected.h` file, which focuses on ending a Cast session."],["It introduces the `GCKSessionEndAction` enum, defining actions like leaving, disconnecting, or stopping casting when ending a session."],["It includes the `GCKSession(Protected)` category, providing methods to manage session behavior."],["The `GCKSessionEndAction` enum is available since version 4.0 of the framework."]]],["The content details `GCKSession(Protected)` category methods, which are designated for overriding by `GCKSession` subclasses. It also defines `GCKSessionEndAction`, an enumeration specifying actions when ending a Cast session, which are: `GCKSessionEndActionLeave` (explicitly leave), `GCKSessionEndActionDisconnect` (disconnect without leaving), and `GCKSessionEndActionStopCasting` (stop casting and end). `GCKSessionState` enum is also mentioned.\n"]]