public abstract class DreamManagerInternal extends Object
Constructor and Description |
---|
DreamManagerInternal() |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
isDreaming()
Called by the power manager to determine whether a dream is running.
|
abstract void |
startDream(boolean doze)
Called by the power manager to start a dream.
|
abstract void |
stopDream(boolean immediate)
Called by the power manager to stop a dream.
|
public abstract void startDream(boolean doze)
doze
- If true, starts the doze dream component if one has been configured,
otherwise starts the user-specified dream.public abstract void stopDream(boolean immediate)
immediate
- If true, ends the dream summarily, otherwise gives it some time
to perform a proper exit transition.public abstract boolean isDreaming()