Language

KeyguardManager.InKeyguardRestrictedInputMode Method

Definition

This method was deprecated in API level 28.

[Android.Runtime.Register("inKeyguardRestrictedInputMode", "()Z", "GetInKeyguardRestrictedInputModeHandler")]
public virtual bool InKeyguardRestrictedInputMode();
[<Android.Runtime.Register("inKeyguardRestrictedInputMode", "()Z", "GetInKeyguardRestrictedInputModeHandler")>]
abstract member InKeyguardRestrictedInputMode : unit -> bool
override this.InKeyguardRestrictedInputMode : unit -> bool

Returns

the value of isKeyguardLocked()

Attributes

Remarks

This method was deprecated in API level 28. Use isKeyguardLocked() instead.

Returns whether the lock screen is showing. This is exactly the same as isKeyguardLocked().

Android reference for android.app.KeyguardManager.inKeyguardRestrictedInputMode.

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