| CLASS info |
| public abstract class BioAuthnCallback extends java.lang.Object |
| Provides callback for the result of the BioAuthnPrompt or FaceManager class. You need to implement the class. |
| Method name |
Constructs a callback provided for BioAuthnPrompt or FaceManager. |
| Return type | Method name |
| void | onAuthError(int errorCode, java.lang.CharSequence errString) Called when an unrecoverable error occurs and the operation is complete. Then, no further operation will be performed on BioAuthnCallback. |
| void | onAuthHelp(int helpCode, java.lang.CharSequence helpString) Callback function called to send a notification during 3D facial authentication. |
| void | onAuthSucceeded(BioAuthnResult result) Called when the fingerprint authentication or 3D facial authentication is recognized. |
| void | Called when the fingerprint authentication or 3D facial authentication is valid but cannot be recognized. |
| Method |
| public BioAuthnCallback() |
| Constructs a callback provided for BioAuthnPrompt or FaceManager. |
Parameters
| Parameter name | Parameter desc |
| errorCode | Error code. For details, please refer to section 3.4 or 9.4 “Constants.” |
| errString | Readable error description displayed on the user device. |
| Method |
| public void onAuthHelp(int helpCode, java.lang.CharSequence helpString) |
| Callback function called to send a notification during 3D facial authentication. |
Parameters
| Parameter name | Parameter desc |
| helpCode | Help code. For details, please refer to section 9.4 “Constants.” |
| helpString | Readable help description displayed on the user device. |
| Method |
| public void onAuthSucceeded(BioAuthnResult result) |
| Called when the fingerprint authentication or 3D facial authentication is recognized. |
Parameters
| Parameter name | Parameter desc |
| result | Object containing fingerprint or 3D facial authentication data. |
| Method |
| public void onAuthFailed() |
| Called when the fingerprint authentication or 3D facial authentication is valid but cannot be recognized. |