AndroidPromptModel
PromptModel for Android platform.
Types
Link copied to clipboard
class Builder(val uiLauncher: suspend (PromptDialogModel<*, *>) -> Unit = {}, toHumanReadable: ConvertToHumanReadableFn = ::defaultConvertToHumanReadable) : PromptModel.Builder
Properties
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun <PromptDialogModelT : PromptDialogModel<*, *>> getDialogModel(dialogType: PromptDialogModel.DialogType<PromptDialogModelT>): PromptDialogModelT
Extracts PromptDialogModel of the required type from this PromptModel.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
suspend fun PromptModel.requestConsent(requester: Requester, trustMetadata: TrustMetadata?, credentialPresentmentData: CredentialPresentmentData, preselectedDocuments: List<Document>, onDocumentsInFocus: (documents: List<Document>) -> Unit): CredentialPresentmentSelection
Shows a consent prompt to the user for presentment of credentials.
Link copied to clipboard
suspend fun PromptModel.requestPassphrase(title: String, subtitle: String, passphraseConstraints: PassphraseConstraints, passphraseEvaluator: suspend (enteredPassphrase: String) -> PassphraseEvaluation?): String
Prompts user for authentication through a passphrase.
Link copied to clipboard
suspend fun AndroidPromptModel.showBiometricPrompt(cryptoObject: BiometricPrompt.CryptoObject?, title: String, subtitle: String, userAuthenticationTypes: Set<UserAuthenticationType>, requireConfirmation: Boolean): Boolean
Prompts user for authentication through biometrics.