Interface BiometricAuthCompletionHandler
-
@RestrictTo(LIBRARY) public interface BiometricAuthCompletionHandlerInterface to listen to Biometric Authentication callbacks.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonError(int errorCode, java.lang.String errorMessage)Called when the Biometric Authentication fails to complete.voidonSuccess(androidx.biometric.BiometricPrompt.AuthenticationResult result)Called when the Biometric Authentication completes successfully.
-
-
-
Method Detail
-
onSuccess
void onSuccess(androidx.biometric.BiometricPrompt.AuthenticationResult result)
Called when the Biometric Authentication completes successfully.- Parameters:
result- the value returned
-
onError
void onError(int errorCode, java.lang.String errorMessage)Called when the Biometric Authentication fails to complete.- Parameters:
errorCode- the failure codeerrorMessage- the message containing the failure reason
-
-