Example usage for Java android.app UiModeManager fields, constructors, methods, implement or subclass
The text is from its open source code.
int | MODE_NIGHT_AUTO Constant for #setNightMode(int) and #getNightMode() : automatically switch night mode on and off based on the time. |
int | MODE_NIGHT_NO Constant for #setNightMode(int) and #getNightMode() : never run in night mode. |
int | MODE_NIGHT_YES Constant for #setNightMode(int) and #getNightMode() : always run in night mode. |
int | getCurrentModeType() Return the current running mode type. |
void | setNightMode(@NightMode int mode) Sets the system-wide night mode. |