public interface ZenModeController
Modifier and Type | Interface and Description |
---|---|
static class |
ZenModeController.Callback |
Modifier and Type | Method and Description |
---|---|
void |
addCallback(ZenModeController.Callback callback) |
ZenModeConfig |
getConfig() |
int |
getCurrentUser() |
ComponentName |
getEffectsSuppressor() |
ZenModeConfig.ZenRule |
getManualRule() |
long |
getNextAlarm() |
int |
getZen() |
boolean |
isCountdownConditionSupported() |
boolean |
isVolumeRestricted() |
boolean |
isZenAvailable() |
void |
removeCallback(ZenModeController.Callback callback) |
void |
setUserId(int userId) |
void |
setZen(int zen,
Uri conditionId,
String reason) |
void addCallback(ZenModeController.Callback callback)
void removeCallback(ZenModeController.Callback callback)
int getZen()
ZenModeConfig.ZenRule getManualRule()
ZenModeConfig getConfig()
long getNextAlarm()
void setUserId(int userId)
boolean isZenAvailable()
ComponentName getEffectsSuppressor()
boolean isCountdownConditionSupported()
int getCurrentUser()
boolean isVolumeRestricted()