IT. Expert System.

Android Reference

KeyguardManager


android.app

Class KeyguardManager

    • Method Detail

      • isKeyguardLocked

        public boolean isKeyguardLocked()
        Return whether the keyguard is currently locked.
        Returns:
        true if keyguard is locked.
      • isKeyguardSecure

        public boolean isKeyguardSecure()
        Return whether the keyguard requires a password to unlock.
        Returns:
        true if keyguard is secure.
      • inKeyguardRestrictedInputMode

        public boolean inKeyguardRestrictedInputMode()
        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.
        Returns:
        true if in keyguard restricted input mode.
        See Also:
        WindowManagerPolicy.inKeyguardRestrictedKeyInputMode()
      • exitKeyguardSecurely

        @Deprecated
        public void exitKeyguardSecurely(KeyguardManager.OnKeyguardExitResult callback)
        Deprecated. Use WindowManager.LayoutParams.FLAG_DISMISS_KEYGUARD and/or WindowManager.LayoutParams.FLAG_SHOW_WHEN_LOCKED instead; this allows you to seamlessly hide the keyguard as your application moves in and out of the foreground and does not require that any special permissions be requested. Exit the keyguard securely. The use case for this api is that, after disabling the keyguard, your app, which was granted permission to disable the keyguard and show a limited amount of information deemed safe without the user getting past the keyguard, needs to navigate to something that is not safe to view without getting past the keyguard. This will, if the keyguard is secure, bring up the unlock screen of the keyguard.

        This method requires the caller to hold the permission android.Manifest.permission#DISABLE_KEYGUARD.

        Parameters:
        callback - Let's you know whether the operation was succesful and it is safe to launch anything that would normally be considered safe once the user has gotten past the keyguard.


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 595 / 158726646. Delta: 0.08684 с