Partager via


GameManager.GameModeCustom Field

Definition

Caution

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

Custom game mode that has user-provided configuration overrides.

[Android.Runtime.Register("GAME_MODE_CUSTOM", ApiSince=34)]
[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 GameModeCustom = 4;
[<Android.Runtime.Register("GAME_MODE_CUSTOM", ApiSince=34)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.App.GameMode enum directly instead of this field.", true)>]
val mutable GameModeCustom : Android.App.GameMode

Field Value

Value = 4
Attributes

Remarks

Custom game mode that has user-provided configuration overrides.

Custom game mode is expected to be handled only by the platform using users' preferred config. It is currently not allowed to opt in custom mode in game mode XML file nor expected to perform app-based optimizations when activated.

Java documentation for android.app.GameManager.GAME_MODE_CUSTOM.

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