ConsentPromptDialogModel
Types
Link copied to clipboard
class ConsentPromptRequest(val requester: Requester, val trustMetadata: TrustMetadata?, val credentialPresentmentData: CredentialPresentmentData, val preselectedDocuments: List<Document>, val onDocumentsInFocus: (documents: List<Document>) -> Unit)
Link copied to clipboard
Properties
Link copied to clipboard
val dialogState: SharedFlow<PromptDialogModel.DialogState<ConsentPromptDialogModel.ConsentPromptRequest, CredentialPresentmentSelection>>
The state of this dialog.
Link copied to clipboard
Dialog type that this model servers.
Functions
Link copied to clipboard
suspend fun displayPrompt(parameters: ConsentPromptDialogModel.ConsentPromptRequest, lingerDuration: Duration): CredentialPresentmentSelection
Request UI to display a prompt dialog and obtain a response from the user.
Link copied to clipboard
Waits until the model is bound to the UI.