BiometricPromptState

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

Parameters for the biometric prompt.

Constructors

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

Properties

Link copied to clipboard

optional CryptoObject to be associated with the authentication.

Link copied to clipboard

semantic context for the authentication request, converted to user-visible prompt content by the configured reason-to-text converter.

Link copied to clipboard

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

Link copied to clipboard

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