@Implements(android.app.UiModeManager.class) public class ShadowUIModeManager extends Object
Modifier and Type | Field | Description |
---|---|---|
int |
currentModeType |
|
int |
currentNightMode |
|
int |
lastFlags |
Constructor | Description |
---|---|
ShadowUIModeManager() |
Modifier and Type | Method | Description |
---|---|---|
void |
disableCarMode(int flags) |
|
void |
enableCarMode(int flags) |
|
int |
getCurrentModeType() |
|
int |
getNightMode() |
|
void |
setNightMode(int mode) |
public int currentModeType
public int currentNightMode
public int lastFlags
@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)