GameState
public
final
class
GameState
extends Object
implements
Parcelable
| java.lang.Object | |
| ↳ | android.app.GameState |
State of the game passed to the GameManager. This includes a top-level state for the game (indicating if the game can be interrupted without interfering with content that can't be paused). Since content can be loaded in any state, it includes an independent boolean flag to indicate loading status. Free-form metadata (as a Bundle) and a string description can also be specified by the application.
Summary
Constants | |
|---|---|
int |
MODE_CONTENT
Indicates that the current content shown is not gameplay related. |
int |
MODE_GAMEPLAY_INTERRUPTIBLE
Indicates if the game is in active, but interruptible, game play. |
int |
MODE_GAMEPLAY_UNINTERRUPTIBLE
Indicates if the game is in active user play mode, which is real time and cannot be interrupted. |
int |
MODE_NONE
No mode means that the game is not in active play, for example the user is using the game menu. |
int |
MODE_UNKNOWN
Default Game mode is unknown. |
Inherited constants |
|---|