Interface BiometricAuthenticatorCallback
public interface BiometricAuthenticatorCallback
A callback for providing a custom message to be displayed on the Biometric Prompt UI.
The application can implement this callback to customize the text shown to the user during a biometric authentication or registration operation.
- Since:
- 2.1.0
-
Method Summary
Modifier and TypeMethodDescriptionbiometricAuthenticatorCustomMessagePrompt(Fido2OperationInfo operationInfo) Called by the SDK to get a custom message to display in the biometric prompt.
-
Method Details
-
biometricAuthenticatorCustomMessagePrompt
Called by the SDK to get a custom message to display in the biometric prompt.This method is invoked on a background thread before the biometric prompt is shown. The returned string will be used as the title of the prompt.
- Parameters:
operationInfo- Information about the ongoing FIDO2 operation (e.g., RP name, user name), which can be used to construct a context-aware message.- Returns:
- The custom message string to be displayed to the user.
- Since:
- 2.1.0
-