Package-level declarations
Types
Link copied to clipboard
PromptModel for Android platform.
Link copied to clipboard
class BiometricPromptState(val cryptoObject: BiometricPrompt.CryptoObject?, val title: String, val subtitle: String, val userAuthenticationTypes: Set<UserAuthenticationType>, val requireConfirmation: Boolean)
Link copied to clipboard
class IosPromptModel
PromptModel for iOS platform.
Link copied to clipboard
class NfcDialogParameters<out T>(val initialMessage: String?, val interactionFunction: suspend (tag: NfcIsoTag, updateMessage: (message: String) -> Unit) -> T?)
Parameters needed for UI to display and run NFC dialog. See org.multipaz.nfc.scanNfcTag for more information.
Link copied to clipboard
class PassphraseRequest(val title: String, val subtitle: String, val passphraseConstraints: PassphraseConstraints, val passphraseEvaluator: suspend (enteredPassphrase: String) -> String??)
Data for the UI to display and run passphrase dialog.
Link copied to clipboard
Thrown when user dismisses a prompt.
Link copied to clipboard
Base model object for prompts.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Constants used to convey which icon to show when using UiViewAndroid.showScanNfcTagDialog.
Link copied to clipboard
A model for an individual prompt dialog.
Functions
Link copied to clipboard
suspend fun requestPassphrase(title: String, subtitle: String, passphraseConstraints: PassphraseConstraints, passphraseEvaluator: suspend (enteredPassphrase: String) -> String??): String?
Requests that the UI layer should ask the user for a passphrase.
Link copied to clipboard
suspend fun showBiometricPrompt(cryptoObject: BiometricPrompt.CryptoObject?, title: String, subtitle: String, userAuthenticationTypes: Set<UserAuthenticationType>, requireConfirmation: Boolean): Boolean
Prompts user for authentication.