Interface ScreenSleepListener
- All Superinterfaces:
- EventListener,- SystemEventListener
Implementors receive notification when the displays attached to the system
 have entered power save sleep.
 
This notification is useful for discontinuing a costly animation, or indicating that the user is no longer present on a network service.
- Since:
- 9
- 
Method SummaryModifier and TypeMethodDescriptionvoidCalled when the system displays have entered power save sleep.voidCalled when the system displays have awoken from power save sleep.
- 
Method Details- 
screenAboutToSleepCalled when the system displays have entered power save sleep.- Parameters:
- e- the screen sleep event
 
- 
screenAwokeCalled when the system displays have awoken from power save sleep.- Parameters:
- e- the screen sleep event
 
 
-