Skip to content

Most visited

Recently visited

navigation

KeyguardManager.KeyguardDismissCallback

public static abstract class KeyguardManager.KeyguardDismissCallback
extends Object

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


Callback passed to dismissKeyguard(Activity, KeyguardManager.KeyguardDismissCallback, Handler) to notify caller of result.

Summary

Public constructors

KeyguardManager.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

From class java.lang.Object

Public constructors

KeyguardManager.KeyguardDismissCallback

KeyguardManager.KeyguardDismissCallback ()

Public methods

onDismissCancelled

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

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

void onDismissSucceeded ()

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

This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.

Take a one-minute survey?
Help us improve Android tools and documentation.