@Implements(value=android.app.UiModeManager.class) public class ShadowUIModeManager extends Object
Modifier and Type | Field and Description |
---|---|
int |
currentModeType |
int |
currentNightMode |
Constructor and Description |
---|
ShadowUIModeManager() |
Modifier and Type | Method and Description |
---|---|
void |
disableCarMode(int flags) |
void |
enableCarMode(int flags) |
int |
getCurrentModeType() |
int |
getNightMode() |
void |
setNightMode(int mode) |
public int currentModeType
public int currentNightMode
@Implementation public int getCurrentModeType()
@Implementation public void enableCarMode(int flags)
@Implementation public void disableCarMode(int flags)
@Implementation public int getNightMode()
@Implementation public void setNightMode(int mode)