Android Guides | Samples

Android.App.UiNightMode Enumeration

Enumerates values returned by several types.

Syntax

public enum UiNightMode

Remarks

Members

Member NameDescription
AutoConstant for UiModeManager.NightMode and UiModeManager.NightMode: automatically switch night mode on and off based on the time.
NoConstant for UiModeManager.NightMode and UiModeManager.NightMode: never run in night mode.
YesConstant for UiModeManager.NightMode and UiModeManager.NightMode: always run in night mode.

Requirements

Namespace: Android.App
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0

The members of Android.App.UiNightMode are listed below.

See Also: Enum

Public Fields

AutoUiNightMode. Constant for UiModeManager.NightMode and UiModeManager.NightMode: automatically switch night mode on and off based on the time.
NoUiNightMode. Constant for UiModeManager.NightMode and UiModeManager.NightMode: never run in night mode.
YesUiNightMode. Constant for UiModeManager.NightMode and UiModeManager.NightMode: always run in night mode.