FileDocCategorySizeDatePackage
KeyguardSecurityCallback.javaAPI DocAndroid 5.1 API1515Thu Mar 12 22:22:42 GMT 2015com.android.keyguard

KeyguardSecurityCallback

public interface KeyguardSecurityCallback

Fields Summary
Constructors Summary
Methods Summary
public voiddismiss(boolean securityVerified)
Dismiss the given security screen.

param
securityVerified true if the user correctly entered credentials for the given screen.

public booleanisVerifyUnlockOnly()
Checks if keyguard is in "verify credentials" mode.

return
true if user has been asked to verify security.

public voidreportUnlockAttempt(boolean success)
Call to report an unlock attempt.

param
success set to 'true' if user correctly entered security credentials.

public voidshowBackupSecurity()
Shows the backup security for the current method. If none available, this call is a no-op.

public voiduserActivity()
Manually report user activity to keep the device awake.