Java android.app UiModeManager fields, constructors, methods, implement or subclass

Example usage for Java android.app UiModeManager fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for android.app UiModeManager.

The text is from its open source code.

Field

intMODE_NIGHT_AUTO
Constant for #setNightMode(int) and #getNightMode() : automatically switch night mode on and off based on the time.
intMODE_NIGHT_NO
Constant for #setNightMode(int) and #getNightMode() : never run in night mode.
intMODE_NIGHT_YES
Constant for #setNightMode(int) and #getNightMode() : always run in night mode.

Method

intgetCurrentModeType()
Return the current running mode type.
voidsetNightMode(@NightMode int mode)
Sets the system-wide night mode.