语言

GameManager.GameModeCustom 字段

定义

注意

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

具有用户提供的配置替代的自定义游戏模式。

[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

字段值

Value = 4
特性

注解

具有用户提供的配置替代的自定义游戏模式。 自定义游戏模式应仅由使用用户的首选配置的平台处理。目前不允许在游戏模式 XML 文件中选择自定义模式,也不允许在激活时执行基于应用的优化。

Android 参考。android.app.GameManager.GAME_MODE_CUSTOM

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于