Android.Content.Intent.ActionScreenOff Field
Broadcast Action: Sent when the device goes to sleep and becomes non-interactive.

Syntax

[Android.Runtime.Register("ACTION_SCREEN_OFF")]
public const string ActionScreenOff

Remarks

Broadcast Action: Sent when the device goes to sleep and becomes non-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 non-interactive which may have nothing to do with the screen turning off. To determine the actual state of the screen, use Android.Views.Display.State.

See Android.OS.PowerManager.IsInteractive for details.

This is a protected intent that can only be sent by the system.

[Android Documentation]

Requirements

Namespace: Android.Content
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1