UiNightMode Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Enumerates values returned by several types.
public enum UiNightMode
type UiNightMode =
- Inheritance
-
UiNightMode
Fields
| Name | Value | Description |
|---|---|---|
| Auto | 0 | Constant for setNightMode(int) and getNightMode(): automatically switch night mode on and off based on the time. |
| No | 1 | Constant for setNightMode(int) and getNightMode(): never run in night mode. |
| Yes | 2 | Constant for setNightMode(int) and getNightMode(): always run in night mode. |
| Custom | 3 | Constant for setNightMode(int) and getNightMode(): automatically switch night mode on and off based on the time. |
Remarks
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.