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)

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)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

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

Enable or disable debugging mode.

Link copied to clipboard

Set the number of frames to collect during the capture session.

Link copied to clipboard

Enable or disable payload optimization.

Link copied to clipboard

Set the time delay before automatic capture starts.