Configuration
data class Configuration @JvmOverloads constructor( val cameraFacing: CameraFacing = CameraFacing.FRONT, val cameraPreviewScaleType: CameraPreviewScaleType = CameraPreviewScaleType.FIT, val isTorchEnabled: Boolean = false, val isVideoCaptureEnabled: Boolean = false, val isDetectionLayerVisible: Boolean = false, val sessionToken: String? = null, val isCameraPreviewVisible: Boolean = true)
Configuration for the MagnifEye Liveness UI component.
Constructors
Link copied to clipboard
fun Configuration( cameraFacing: CameraFacing = CameraFacing.FRONT, cameraPreviewScaleType: CameraPreviewScaleType = CameraPreviewScaleType.FIT, isTorchEnabled: Boolean = false, isVideoCaptureEnabled: Boolean = false, isDetectionLayerVisible: Boolean = false, sessionToken: String? = null, isCameraPreviewVisible: Boolean = true)
Properties
Link copied to clipboard
Link copied to clipboard
The camera preview scale type. Default value is CameraPreviewScaleType.FIT.
Link copied to clipboard