BiometricPromptState

data class BiometricPromptState(val cryptoObject: BiometricPrompt.CryptoObject?, val title: String, val subtitle: String, val userAuthenticationTypes: Set<UserAuthenticationType>, val requireConfirmation: Boolean)

Parameters for the biometric prompt.

Constructors

Link copied to clipboard
constructor(cryptoObject: BiometricPrompt.CryptoObject?, title: String, subtitle: String, userAuthenticationTypes: Set<UserAuthenticationType>, requireConfirmation: Boolean)

Properties

Link copied to clipboard

optional CryptoObject to be associated with the authentication.

Link copied to clipboard

set to true to require explicit user confirmation after presenting passive biometric.

Link copied to clipboard

the subtitle for the authentication prompt.

Link copied to clipboard

the title for the authentication prompt.

Link copied to clipboard

the set of allowed user authentication types, must contain at least one element.