updateState

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.

Parameters

message

instructional or status message displayed to the user, or null.

status

overall verification status.

overlay

optional bitmap overlay to draw on top of the camera video stream, or null.

capturedImages

map of captured portrait photo bytes keyed by FacePose when status is FaceMatcherLivenessPromptState.Status.SUCCESS, or empty.

backgroundColor

optional background color for the liveness screen, or null for default.