ACTION_SCREEN_ON constant
String
const ACTION_SCREEN_ON
Broadcast Action: Sent when the device wakes up and becomes interactive.
For historical reasons, the name of this broadcast action refers to the power state of the screen but it is actually sent in response to changes in the overall interactive state of the device.
This broadcast is sent when the device becomes interactive which may have nothing to do with the screen turning on. To determine the actual state of the screen, use {@link android.view.Display#getState}.
See {@link android.os.PowerManager#isInteractive} for details.
You cannot receive this through components declared in manifests, only by explicitly registering for it with {@link Context#registerReceiver(BroadcastReceiver, IntentFilter) Context.registerReceiver()}.This is a protected intent that can only be sent by the system.
Implementation
static const String ACTION_SCREEN_ON = "android.intent.action.SCREEN_ON";