Interface BiometricPromptOptions


public interface BiometricPromptOptions
Defines the elements of the biometric prompt (title and description).

If Android API 29 is being used, no device credentials will be allowed (i.e. no fallback to PIN, gestures or password will be provided) due to this bug. If Android API 30 or later is being used, the user will be allowed to provide device credentials as fallback to the biometric credentials if it was allowed during registration (see Registration.allowDevicePasscodeAsFallback(boolean)).

See Also:
  • Method Details

    • builder

      Returns a new BiometricPromptOptions.Builder.
      Returns:
      a new BiometricPromptOptions.Builder
    • title

      String title()
      The title to be used to prompt the user.
      Returns:
      the prompt title.
    • description

      Optional<String> description()
      The optional description to be used to prompt the user.
      Returns:
      the prompt description.
    • cancelButtonText

      String cancelButtonText()
      Returns the cancel button text.
      Returns:
      the cancel button text.