PowerManager.IsScreenOn Property

Definition

Caution

deprecated

Returns true if the device is in an interactive state.

[System.Obsolete("deprecated")]
public virtual bool IsScreenOn { [Android.Runtime.Register("isScreenOn", "()Z", "GetIsScreenOnHandler")] get; }
[<System.Obsolete("deprecated")>]
[<get: Android.Runtime.Register("isScreenOn", "()Z", "GetIsScreenOnHandler")>]
member this.IsScreenOn : bool

Property Value

Boolean

True if the device is in an interactive state.

Attributes

Remarks

Java documentation for android.os.PowerManager.isScreenOn().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to