FaceMatcherLivenessPromptDialogModel
class FaceMatcherLivenessPromptDialogModel : PromptDialogModel<FaceMatcherLivenessPromptDialogModel.FaceMatcherLivenessRequest, Map<FacePose, ByteString>>
Prompt dialog model for verifying user liveness and capturing portrait photos with a face matcher.
Types
Link copied to clipboard
Dialog type identifier for FaceMatcherLivenessPromptDialogModel.
Link copied to clipboard
data class FaceMatcherLivenessRequest(val faceMatcherLivenessSession: FaceMatcherLivenessSession, val reason: Reason = FaceLivenessReason, val requireConfirmation: Boolean = false, val usesCustomUserInterface: Boolean = false)
Request parameters for face liveness verification and portrait capture.
Properties
Link copied to clipboard
val dialogState: SharedFlow<PromptDialogModel.DialogState<FaceMatcherLivenessPromptDialogModel.FaceMatcherLivenessRequest, Map<FacePose, ByteString>>>
The state of this dialog.
Link copied to clipboard
Dialog type that this model servers.
Functions
Link copied to clipboard
suspend fun displayPrompt(parameters: FaceMatcherLivenessPromptDialogModel.FaceMatcherLivenessRequest, lingerDuration: Duration): Map<FacePose, ByteString>
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.