updateState

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.

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.

backgroundColor

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