FaceMatcherSession
Session driving the interactive face matching verification UI against a reference portrait.
A fresh session instance is created per verification attempt via FaceMatcher.createSession. 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 matcher 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: FaceMatcherPromptState.Status = _state.value.status, overlay: OverlayFrame? = _state.value.overlay, backgroundColor: Color? = _state.value.backgroundColor)
Atomically updates the prompt UI state.