Freigeben über


KeyguardManager.InKeyguardRestrictedInputMode Method

Definition

Returns whether the lock screen is showing.

[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

Returns whether the lock screen is showing.

This is exactly the same as #isKeyguardLocked().

This member is deprecated. Use #isKeyguardLocked() instead.

Java documentation 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