GCKPlayerState.h 檔案
GCKPlayerState 列舉。更多...
說明玩家狀態的列舉。
- Deprecated:
- 我們已不再支援 Game Manager API,我們會在日後推出的版本中移除這個 API。
分子 |
---|
GCKPlayerState 不明 |
玩家狀態不明。
|
GCKPlayerStateDropped |
網路中斷,因此播放器已不再與接收器保持連線。
|
GCKPlayerStateQuit |
玩家已手動選擇中斷與接收端的連線。
|
GCKPlayerStateAvailable |
玩家已連線至接收端,可以加入遊戲。
|
GCKPlayerStateReady |
玩家已連上接收端並可以進入遊戲。
|
GCKPlayerStateIdle |
玩家有連線到接收端、在遊戲中且閒置。
|
GCKPlayerStatePlaying |
玩家與接收者連線、在遊戲中並積極玩遊戲。
|
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2023-12-02 (世界標準時間)。
[null,null,["上次更新時間:2023-12-02 (世界標準時間)。"],[[["This documentation details the `GCKPlayerState` enum, which describes the various states a player can be in within the Google Cast framework."],["The `GCKPlayerState` enum is deprecated and will be removed in a future release as the Game Manager API is no longer supported."],["The enum includes states like Unknown, Dropped, Quit, Available, Ready, Idle, and Playing, each representing a different stage of a player's connection and interaction with a Cast receiver."],["Developers can use this enum to understand and respond to changes in a player's state during a Cast session, although alternative solutions should be considered due to its deprecation."]]],[]]