Builder
data class Builder(var numberOfFrameToCollect: Int = 3, var automaticCapture: Boolean = true, var timeBeforeAutomaticCapture: Int = 1, var cameraQuality: MBCameraOptions = MBCameraOptions(), var isDebugging: Boolean = false, var payloadOptimization: Boolean = false, var showOval: Boolean = true, var features: MBFeatures = MBFeatures(), var captureConstrains: MBCaptureConstrains = MBCaptureConstrains.V1, var videoCaptureDuration: Int = 1000, var imageQualityLevel: MBImageQualityLevel = MBImageQualityLevel.LEVEL_3)
Builder class for constructing instances of MBCaptureSessionOptions with customizable parameters.
Constructors
Link copied to clipboard
constructor(numberOfFrameToCollect: Int = 3, automaticCapture: Boolean = true, timeBeforeAutomaticCapture: Int = 1, cameraQuality: MBCameraOptions = MBCameraOptions(), isDebugging: Boolean = false, payloadOptimization: Boolean = false, showOval: Boolean = true, features: MBFeatures = MBFeatures(), captureConstrains: MBCaptureConstrains = MBCaptureConstrains.V1, videoCaptureDuration: Int = 1000, imageQualityLevel: MBImageQualityLevel = MBImageQualityLevel.LEVEL_3)
Properties
Functions
Link copied to clipboard
Enable or disable automatic capture during the session.
Link copied to clipboard
Build an instance of MBCaptureSessionOptions with the configured parameters.
Link copied to clipboard
Set the camera quality options.
Link copied to clipboard
Decide the type of face validation is gonna be executed.
Link copied to clipboard
Set the number of frames to collect during the capture session.
Link copied to clipboard
Set how strict the V3 image-quality lighting gate is. This option has no effect for V1 or V2 capture.
Link copied to clipboard
Enable or disable payload optimization.
Link copied to clipboard
Set the time delay before automatic capture starts.
Link copied to clipboard
Set the total duration (in milliseconds) of the video segment to be captured during the session.