public interface BioFingerprintAuthenticationCallbacks
Modifier and Type | Method and Description |
---|---|
void |
onAuthenticationError(int errorCode,
java.lang.CharSequence errString)
This callback function is called if fingerprint authentication failed
with an unrecoverable error but was completed.
|
void |
onAuthenticationFailed()
This callback function is called if fingerprint was read but could not be
recognized (for example, wrong finger was put on a sensor).
|
void |
onAuthenticationHelp(int helpCode,
java.lang.CharSequence helpString)
This callback function is called if a recoverable error occured during
authentication.
|
void |
onAuthenticationSucceeded()
This callback function is called if authentication with a fingerprint
against enrolled fingerprints was successful - a fingerprint was
recognized.
|
void |
onError(IdpException e)
This callback function is called if the fingerprint is not correctly
configured or an internal cryptographic error occurs.
|
void |
onStartFPSensor()
This callback function is called when the Fingerprint sensor has started
listening.
|
void |
onSuccess(BioFingerprintAuthInput bioFPAuthInput)
This callback function is called if:
a user succeeded to authenticate using his fingerprint
an object that represents a biofingerprint data used for OTP
computation was initialized successfully
Now user could use the authenticated bioFingerprint Authentication Input.
|
void onSuccess(BioFingerprintAuthInput bioFPAuthInput)
bioFPAuthInput
- represents the authenticated biofingerprint authentication
input object.void onStartFPSensor()
void onError(IdpException e)
e
- exception object indicating fingerprint authentication
problem. An application behavior can be determined according
to an exception type.void onAuthenticationError(int errorCode, java.lang.CharSequence errString)
errorCode
- a code of error that operation failed witherrString
- the description of error operation failed with.void onAuthenticationHelp(int helpCode, java.lang.CharSequence helpString)
helpCode
- code of messagehelpString
- help stringvoid onAuthenticationSucceeded()
void onAuthenticationFailed()