MultiRangeLivenessFragment

abstract class MultiRangeLivenessFragment(@LayoutRes contentLayoutId: Int = R.layout.dot_face_fragment_multirange_liveness) : TiltSensorCameraPreviewFragment

UI Multi-Range Liveness component.

A visual component for capturing images suitable for Multi-Range Liveness evaluation.

Constructors

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

Types

Link copied to clipboard
data class Configuration(val challengeSequence: List<MultiRangeLivenessChallengeItem>, val common: CommonConfiguration = CommonConfiguration(), val camera: CameraConfiguration = CameraConfiguration( facing = CameraFacing.FRONT, ), val isDetectionLayerVisible: Boolean = false)

Configuration for the UI Multi-Range Liveness component.

Functions

Link copied to clipboard
abstract fun onFinished(result: MultiRangeLivenessResult)

Called only once for the whole process. Once this callback is called, the whole process is considered to be over.

Link copied to clipboard
open override fun onViewCreated(view: View, savedInstanceState: Bundle?)
Link copied to clipboard

Provides the Configuration for the component.

Link copied to clipboard
override fun provideTiltSensorCameraImageProcessor(): TiltSensorCameraImageProcessor
Link copied to clipboard
fun start()

Start the process.

Link copied to clipboard
fun stop()

Stop the process.