FileDocCategorySizeDatePackage
DreamManagerInternal.javaAPI DocAndroid 5.1 API1472Thu Mar 12 22:22:10 GMT 2015android.service.dreams

DreamManagerInternal

public abstract class DreamManagerInternal extends Object
Dream manager local system service interface.
hide
Only for use within the system server.

Fields Summary
Constructors Summary
Methods Summary
public abstract booleanisDreaming()
Called by the power manager to determine whether a dream is running.

public abstract voidstartDream(boolean doze)
Called by the power manager to start a dream.

param
doze If true, starts the doze dream component if one has been configured, otherwise starts the user-specified dream.

public abstract voidstopDream(boolean immediate)
Called by the power manager to stop a dream.

param
immediate If true, ends the dream summarily, otherwise gives it some time to perform a proper exit transition.