GCKPlayerState.h File
GCKPlayerState enum.
More...
An enum describing player states.
- Deprecated:
- The Game Manager API is no longer supported and will be removed in a future release.
Enumerator |
---|
GCKPlayerStateUnknown |
Unknown player state.
|
GCKPlayerStateDropped |
The player is no longer connected to the receiver because of a network drop.
|
GCKPlayerStateQuit |
The player has manually chosen to disconnect from the receiver.
|
GCKPlayerStateAvailable |
The player is connected to the receiver and available to join a game.
|
GCKPlayerStateReady |
The player is connected to the receiver, and ready to enter the game.
|
GCKPlayerStateIdle |
The player is connected to the receiver, in the game, and idle.
|
GCKPlayerStatePlaying |
The player is connected to the receiver, in the game, and actively playing.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
[null,null,["Last updated 2024-09-18 UTC."],[[["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."]]],[]]