Interface BiometricPromptOptions.Builder
- Enclosing interface:
- BiometricPromptOptions
public static interface BiometricPromptOptions.Builder
A builder for
BiometricPromptOptions.-
Method Summary
Modifier and TypeMethodDescriptionbuild()Creates aBiometricPromptOptions.cancelButtonText(String cancelButtonText) Sets the cancel button text.description(String description) Sets the prompt description.Sets the prompt title.
-
Method Details
-
title
Sets the prompt title.Providing the title is required.
- Parameters:
title- the prompt title.- Returns:
- a builder
-
description
Sets the prompt description.- Parameters:
description- the prompt description. It can benull.- Returns:
- a builder
-
cancelButtonText
Sets the cancel button text.Providing the cancel button text is required.
- Parameters:
cancelButtonText- the cancel button text.- Returns:
- a builder
-
build
Creates aBiometricPromptOptions.- Returns:
- a
BiometricPromptOptions
-