UiModeManager.ModeNightCustom 字段
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
This constant will be removed in the future version. Use Android.App.UiNightMode enum directly instead of this field.
常量:#setNightMode(int)#getNightMode()根据时间自动打开和关闭夜间模式。
[Android.Runtime.Register("MODE_NIGHT_CUSTOM", ApiSince=30)]
[System.Obsolete("This constant will be removed in the future version. Use Android.App.UiNightMode enum directly instead of this field.", true)]
public const Android.App.UiNightMode ModeNightCustom = 3;
[<Android.Runtime.Register("MODE_NIGHT_CUSTOM", ApiSince=30)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.App.UiNightMode enum directly instead of this field.", true)>]
val mutable ModeNightCustom : Android.App.UiNightMode
字段值
Value = 3- 特性
注解
setNightMode(int) 和 getNightMode 的常量():根据时间自动打开和关闭夜间模式。
Android 参考。android.app.UiModeManager.MODE_NIGHT_CUSTOM
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。