82.8 Configuring the Authentication Callbacks
When the biometric prompt dialog is configured, it will need to be assigned a set of authentication callback methods that can be called to notify the app of the success or failure of the authentication process. These methods need to be wrapped in a BiometricPrompt.AuthenticationCallback class instance. Remaining in the MainActivity.java file, add a method to create and return an instance of this class with the appropriate methods implemented:
.
.
import android.hardware.biometrics.BiometricPrompt;
.
.
private BiometricPrompt.AuthenticationCallback getAuthenticationCallback() {
return new BiometricPrompt.AuthenticationCallback() {
@Override
public void onAuthenticationError(int errorCode,...