Package-level declarations

Types

Link copied to clipboard
interface BaseUiState
Link copied to clipboard
data class BlinkCardUiState(val blinkCardScanningResult: BlinkCardScanningResult? = null, val reticleState: ReticleState = ReticleState.Hidden, val processingState: ProcessingState = ProcessingState.Sensing, val cardAnimationState: CardAnimationState = CardAnimationState.Hidden, val statusMessage: StatusMessage = CommonStatusMessage.ScanFirstSide, val currentSide: UiScanningSide = UiScanningSide.First, val torchState: MbTorchState = MbTorchState.Off, val cancelRequestState: CancelRequestState = CancelRequestState.CancelNotRequested, val helpButtonDisplayed: Boolean = DefaultShowHelpButton, val helpDisplayed: Boolean = false, val helpTooltipDisplayed: Boolean = false, val onboardingDialogDisplayed: Boolean = DefaultShowOnboardingDialog, val errorState: ErrorState = ErrorState.NoError, val hapticFeedbackState: HapticFeedbackState = HapticFeedbackState.VibrationOff) : BaseUiState
Link copied to clipboard

Represents the reason of the cancel request. Currently not used.

Link copied to clipboard
fun interface CardAnimationState

Current state of the flip-card animation shown after the first side has been successfully scanned.

Link copied to clipboard

Represents all the instruction messages that may be shown during the scanning session.

Link copied to clipboard

Represents the state of the error.

Link copied to clipboard

Current state of the haptic (vibration) feedback that activates during the scanning session.

Link copied to clipboard

Current state of the torch (flashlight) as shown by the icon on the UI.

Link copied to clipboard
sealed class ProcessingState

Represents the different states of the reticle and UI elements during the scanning process.

Link copied to clipboard

Represents the different states of the reticle elements during the scanning process.

Link copied to clipboard
interface StatusMessage

Interface that represents the status messages that may be shown during the scanning session.

Link copied to clipboard

A class responsible for counting the occurrences of different CommonStatusMessage types.

Link copied to clipboard

Specifies the current scanning side.