UiState

interface UiState

UI state.

This interface defines the different states that the UI can be in during the process.

Inheritors

Types

Link copied to clipboard
data class Idle(val preview: Preview) : UiState

Idle state.

Link copied to clipboard

Initializing state.

Link copied to clipboard
data class Running(val preview: Preview, val phase: Phase? = null, val detection: FingersAutoCaptureDetection? = null, val selectedFingerTypes: List<FingerDetector.Finger.Type> = emptyList(), val confirmedFingerTypes: List<FingerDetector.Finger.Type> = emptyList(), val result: FingersAutoCaptureResult? = null) : UiState

Running state.