PalmAutoCaptureFragment

abstract class PalmAutoCaptureFragment(@LayoutRes contentLayoutId: Int = R.layout.dot_palm_fragment_palm_auto_capture) : BasePalmAutoCaptureFragment

UI Palm Auto Capture component.

A visual component for capturing good quality palm images. This component provides an UI. It includes a placeholder for the palm, a detection layer that displays the tracking rectangle and an instruction. If you prefer to use your own custom UI, you can use BasePalmAutoCaptureFragment instead.

Constructors

Link copied to clipboard
constructor(@LayoutRes contentLayoutId: Int = R.layout.dot_palm_fragment_palm_auto_capture)

Types

Link copied to clipboard
data class Configuration(val base: BasePalmAutoCaptureFragment.Configuration = BasePalmAutoCaptureFragment.Configuration(), val placeholder: Placeholder = Placeholder.Visible(), val isDetectionLayerVisible: Boolean = false)

Configuration for the UI Palm Auto Capture component.

Functions

Link copied to clipboard
open override fun onUiStateUpdated(uiState: UiState)

Called when the UI state is updated. Subclasses can override this method to update custom UI elements.

Link copied to clipboard

Provides the Configuration for the component.