MagnifEyeLivenessFragment

abstract class MagnifEyeLivenessFragment : TiltSensorCameraPreviewFragment

Deprecated

Use MultiRangeLivenessFragment instead.

UI MagnifEye Liveness component.

A visual component for capturing images suitable for MagnifEye Liveness evaluation.

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
data class Configuration(val common: CommonConfiguration = CommonConfiguration(), val camera: CameraConfiguration = CameraConfiguration( facing = CameraFacing.FRONT, ), val faceLibraryComponent: FaceLibraryComponentConfiguration = FaceLibraryComponentConfiguration( faceSizeRatioInterval = FaceAutoCaptureController.Configuration.DEFAULT_FACE_SIZE_RATIO_INTERVAL, ), val isDetectionLayerVisible: Boolean = false)

Configuration for the UI MagnifEye Liveness component.

Functions

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

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

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.