Share via


GameManager.SetGameState(GameState) Method

Definition

Called by games to communicate the current state to the platform.

[Android.Runtime.Register("setGameState", "(Landroid/app/GameState;)V", "", ApiSince=33)]
public void SetGameState (Android.App.GameState gameState);
[<Android.Runtime.Register("setGameState", "(Landroid/app/GameState;)V", "", ApiSince=33)>]
member this.SetGameState : Android.App.GameState -> unit

Parameters

gameState
GameState

An object set to the current state.

Attributes

Remarks

Called by games to communicate the current state to the platform.

Java documentation for android.app.GameManager.setGameState(android.app.GameState).

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