다음을 통해 공유


UiModeManager.ModeNightYes 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(): always run in night mode.

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

Field Value

Value = 2
Attributes

Remarks

Constant for #setNightMode(int) and #getNightMode(): always run in night mode.

Java documentation for android.app.UiModeManager.MODE_NIGHT_YES.

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