Partager via


GameManager.GameModePerformance Field

Definition

Caution

This constant will be removed in the future version. Use Android.App.GameMode enum directly instead of this field.

Performance game mode maximizes the game's performance.

[Android.Runtime.Register("GAME_MODE_PERFORMANCE", ApiSince=31)]
[System.Obsolete("This constant will be removed in the future version. Use Android.App.GameMode enum directly instead of this field.", true)]
public const Android.App.GameMode GameModePerformance = 2;
[<Android.Runtime.Register("GAME_MODE_PERFORMANCE", ApiSince=31)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.App.GameMode enum directly instead of this field.", true)>]
val mutable GameModePerformance : Android.App.GameMode

Field Value

Value = 2
Attributes

Remarks

Performance game mode maximizes the game's performance.

This game mode is highly likely to increase battery consumption.

Java documentation for android.app.GameManager.GAME_MODE_PERFORMANCE.

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