FaceMatcherLivenessSession
Session driving the interactive face liveness verification and photo capture UI.
A fresh session instance is created per liveness attempt via FaceMatcher.createLivenessSession. It directly controls the messages above and below the camera preview, the overlay, and verification status.
Properties
Functions
Link copied to clipboard
Feeds a camera frame captured from the front camera into the liveness session.
Link copied to clipboard
Pushes a touch or tap event within the camera preview into the session.
Link copied to clipboard
protected fun updateState(message: String? = _state.value.message, status: FaceMatcherLivenessPromptState.Status = _state.value.status, overlay: OverlayFrame? = _state.value.overlay, capturedImages: Map<FacePose, ByteString> = _state.value.capturedImages, backgroundColor: Color? = _state.value.backgroundColor)
Atomically updates the prompt UI state.