GameState Constructors

Definition

Overloads

GameState(Boolean, Int32)

Create a GameState with the specified loading status.

GameState(Boolean, Int32, Int32, Int32)

Create a GameState with the given state variables.

GameState(Boolean, Int32)

Create a GameState with the specified loading status.

[Android.Runtime.Register(".ctor", "(ZI)V", "", ApiSince=33)]
public GameState (bool isLoading, int mode);
[<Android.Runtime.Register(".ctor", "(ZI)V", "", ApiSince=33)>]
new Android.App.GameState : bool * int -> Android.App.GameState

Parameters

isLoading
Boolean

Whether the game is in the loading state.

mode
Int32

The game state mode of type

Attributes

Remarks

Create a GameState with the specified loading status.

Java documentation for android.app.GameState.GameState(boolean, int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

GameState(Boolean, Int32, Int32, Int32)

Create a GameState with the given state variables.

[Android.Runtime.Register(".ctor", "(ZIII)V", "", ApiSince=33)]
public GameState (bool isLoading, int mode, int label, int quality);
[<Android.Runtime.Register(".ctor", "(ZIII)V", "", ApiSince=33)>]
new Android.App.GameState : bool * int * int * int -> Android.App.GameState

Parameters

isLoading
Boolean

Whether the game is in the loading state.

mode
Int32

The game state mode.

label
Int32

An optional developer-supplied enum e.g. for the current level.

quality
Int32

An optional developer-supplied enum, e.g. for the current quality level.

Attributes

Remarks

Create a GameState with the given state variables.

Java documentation for android.app.GameState.GameState(boolean, int, int, int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to