BiometricPrompt.AuthenticationCallback

public static abstract class BiometricPrompt.AuthenticationCallback
extends Object

java.lang.Object
   ↳ androidx.biometric.BiometricPrompt.AuthenticationCallback


A collection of methods that may be invoked by BiometricPrompt during authentication.

Summary

Public constructors

AuthenticationCallback()

Public methods

void onAuthenticationError(int errorCode, CharSequence errString)

Called when an unrecoverable error has been encountered and authentication has stopped.

void onAuthenticationFailed()

Called when a biometric (e.g.

void onAuthenticationSucceeded(BiometricPrompt.AuthenticationResult result)

Called when a biometric (e.g.

Inherited methods

Public constructors

AuthenticationCallback

public AuthenticationCallback ()

Public methods

onAuthenticationError

public void onAuthenticationError (int errorCode, 
                CharSequence errString)

Called when an unrecoverable error has been encountered and authentication has stopped.

After this method is called, no further events will be sent for the current authentication session.

Parameters
errorCode int: An integer ID associated with the error.

errString CharSequence: A human-readable string that describes the error.

<