Android Dev Summit, October 23-24: two days of technical content, directly from the Android team. Sign-up for livestream updates.

PromptInfo

open class PromptInfo
kotlin.Any
   ↳ androidx.biometric.BiometricPrompt.PromptInfo

A class that contains a builder which returns the PromptInfo to be used in authenticate(PromptInfo, CryptoObject) and authenticate(PromptInfo).

Summary

Nested classes

open

A builder that collects arguments to be shown on the system-provided biometric dialog.

Public methods

open CharSequence?

open CharSequence

open CharSequence?

open CharSequence

open Boolean

open Boolean

Public methods

getDescription

@Nullable open fun getDescription(): CharSequence?
Return
CharSequence?: See Builder#setDescription(CharSequence).

getNegativeButtonText

@NonNull open fun getNegativeButtonText(): CharSequence
Return
CharSequence: See Builder#setNegativeButtonText(CharSequence).

getSubtitle

@Nullable open fun getSubtitle(): CharSequence?
Return
CharSequence?: See Builder#setSubtitle(CharSequence).

getTitle

@NonNull open fun getTitle(): CharSequence
Return
CharSequence: See Builder#setTitle(CharSequence).

isConfirmationRequired

open fun isConfirmationRequired(): Boolean
Return
Boolean: See Builder#setConfirmationRequired(boolean).

isDeviceCredentialAllowed

open fun isDeviceCredentialAllowed(): Boolean
Return
Boolean: See Builder#setDeviceCredentialAllowed(boolean).