How to determine when dreams begin / end

In jellybeam mr2 daydream replaced the sleep display. An application could find out when a dream begins or ends by registering a broadcast receiver for ACTION_SCREEN_ON, ACTION_SCREEN_OFF. Is there a way to do the same thing against a dream?

Just to be clear, I am not trying to add a new daydream service, but just want to receive information about any events related to daydream.

+1
android screensaver
source share
1 answer

register for

Intent.ACTION_DREAMING_STARTED and Intent.ACTION_DREAMING_STOPPED 
+3
source share

All Articles