# Print output for @column tags ?> KeyguardManager.KeyguardDismissCallback - Android SDK | Android Developers

Most visited


Recently visited


KeyguardManager.KeyguardDismissCallback

public static abstract class KeyguardManager.KeyguardDismissCallback
extends Object

java.lang.Object
   ↳ android.app.KeyguardManager.KeyguardDismissCallback


Callback passed to KeyguardManager#requestDismissKeyguard(Activity, KeyguardDismissCallback) to notify caller of result.

Summary


Public constructors

KeyguardDismissCallback()

Public methods

void onDismissCancelled()

Called when dismissing Keyguard has been cancelled, i.e.

void onDismissError()

Called when dismissing Keyguard is currently not feasible, i.e.

void onDismissSucceeded()

Called when dismissing Keyguard has succeeded and the device is now unlocked.

Inherited methods

Public constructors


KeyguardDismissCallback

public KeyguardDismissCallback ()

Public methods


onDismissCancelled

public void onDismissCancelled ()

Called when dismissing Keyguard has been cancelled, i.e. when the user cancelled the operation or the bouncer was hidden for some other reason.

onDismissError

public void onDismissError ()

Called when dismissing Keyguard is currently not feasible, i.e. when Keyguard is not available, not showing or when the activity requesting the Keyguard dismissal isn't showing or isn't showing behind Keyguard.

onDismissSucceeded

public void onDismissSucceeded ()

Called when dismissing Keyguard has succeeded and the device is now unlocked.

Browse this site in English?

You requested a page in English, but your language preference for this site is English.

Would you like to change your language preference and browse this site in English? If you want to change your language preference later, use the language menu at the bottom of each page.