UiModeManager.ModeNightCustom Field

Definition

Caution

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

Constant for #setNightMode(int) and #getNightMode(): automatically switch night mode on and off based on the time.

[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

Field Value

Value = 3
Attributes

Remarks

Constant for #setNightMode(int) and #getNightMode(): automatically switch night mode on and off based on the time.

Java documentation for android.app.UiModeManager.MODE_NIGHT_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