public class ZenModeConditions extends Object implements ConditionProviders.Callback
Constructor and Description |
---|
ZenModeConditions(ZenModeHelper helper,
ConditionProviders conditionProviders) |
Modifier and Type | Method and Description |
---|---|
void |
dump(PrintWriter pw,
String prefix) |
void |
evaluateConfig(ZenModeConfig config,
boolean processSubscriptions) |
void |
onBootComplete() |
void |
onConditionChanged(Uri id,
Condition condition) |
void |
onServiceAdded(ComponentName component) |
void |
onUserSwitched() |
public ZenModeConditions(ZenModeHelper helper, ConditionProviders conditionProviders)
public void dump(PrintWriter pw, String prefix)
public void evaluateConfig(ZenModeConfig config, boolean processSubscriptions)
public void onBootComplete()
onBootComplete
in interface ConditionProviders.Callback
public void onUserSwitched()
onUserSwitched
in interface ConditionProviders.Callback
public void onServiceAdded(ComponentName component)
onServiceAdded
in interface ConditionProviders.Callback
public void onConditionChanged(Uri id, Condition condition)
onConditionChanged
in interface ConditionProviders.Callback