KeyguardManager.InKeyguardRestrictedInputMode Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
If keyguard screen is showing or in restricted key input mode (i.
[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
true
if in keyguard restricted input mode.
- Attributes
Remarks
If keyguard screen is showing or in restricted key input mode (i.e. in keyguard password emergency screen). When in such mode, certain keys, such as the Home key and the right soft keys, don't work.
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.