public interface BiometricAuthenticationCallbacks
Modifier and Type | Method and Description |
---|---|
void |
onAuthenticationError(int errorCode,
CharSequence errString)
This callback function is called if the biometric authentication fails
with an unrecoverable error but the authentication operation has completed.
|
void |
onAuthenticationFailed()
This callback function is called if a biometric is read but is not recognized
(for example, a wrong finger is placed on the sensor).
|
void |
onAuthenticationHelp(int helpCode,
CharSequence helpString)
This callback function is called if a recoverable error occurs during the
authentication process.
|
void |
onAuthenticationSucceeded()
This callback function is called if the authentication of the biometric
against the enrolled biometrics is successful - the biometric is recognized.
|
void |
onError(IdpException e)
This callback function is called if the biometric(fingerprint, face or iris) is not
correctly configured or an internal cryptographic error occurs.
|
void |
onSuccess(BiometricAuthInput biometricAuthInput)
This callback function is called if:
a user is successfully authenticated using biometric(fingerprint, face or iris)
and an object that represents a biometric data used for OTP computation is
initialized successfully
The user can now use the authenticated biometric Authentication Input.
|
void onSuccess(BiometricAuthInput biometricAuthInput)
biometricAuthInput
- represents the authenticated biometric authentication input
object.void onError(IdpException e)
e
- an exception object indicating biometric authentication
problem. An application behavior can be determined according
to an exception type.void onAuthenticationError(int errorCode, CharSequence errString)
errorCode
- the error code of the failed operation.errString
- the description of the error.void onAuthenticationHelp(int helpCode, CharSequence helpString)
helpCode
- code of messagehelpString
- help stringvoid onAuthenticationSucceeded()
void onAuthenticationFailed()