FaceMatcherPromptDialogModel
class FaceMatcherPromptDialogModel : PromptDialogModel<FaceMatcherPromptDialogModel.FaceMatcherRequest, Boolean>
Prompt dialog model for verifying user identity with a face matcher against a reference portrait.
Types
Link copied to clipboard
Dialog type identifier for FaceMatcherPromptDialogModel.
Link copied to clipboard
data class FaceMatcherRequest(val faceMatcherSession: FaceMatcherSession, val reason: Reason = FaceMatchingReason, val requireConfirmation: Boolean = false, val usesCustomUserInterface: Boolean = false)
Request parameters for face matching.
Properties
Link copied to clipboard
val dialogState: SharedFlow<PromptDialogModel.DialogState<FaceMatcherPromptDialogModel.FaceMatcherRequest, Boolean>>
The state of this dialog.
Link copied to clipboard
Dialog type that this model servers.
Functions
Link copied to clipboard
suspend fun displayPrompt(parameters: FaceMatcherPromptDialogModel.FaceMatcherRequest, lingerDuration: Duration): Boolean
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.