public interface DozeHost
Modifier and Type | Interface and Description |
---|---|
static interface |
DozeHost.Callback |
static interface |
DozeHost.PulseCallback |
Modifier and Type | Method and Description |
---|---|
void |
addCallback(DozeHost.Callback callback) |
boolean |
isNotificationLightOn() |
boolean |
isPowerSaveActive() |
boolean |
isPulsingBlocked() |
void |
pulseWhileDozing(DozeHost.PulseCallback callback,
int reason) |
void |
removeCallback(DozeHost.Callback callback) |
void |
startDozing(Runnable ready) |
void |
stopDozing() |
void addCallback(DozeHost.Callback callback)
void removeCallback(DozeHost.Callback callback)
void startDozing(Runnable ready)
void pulseWhileDozing(DozeHost.PulseCallback callback, int reason)
void stopDozing()
boolean isPowerSaveActive()
boolean isNotificationLightOn()
boolean isPulsingBlocked()