MBCapture Session Options
class MBCaptureSessionOptions
Configuration options for the capture session.
Use the Builder class to construct instances of MBCaptureSessionOptions with customizable parameters.
Types
Link copied to clipboard
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.
Properties
Link copied to clipboard
Indicates whether automatic capture is enabled during the session.
Link copied to clipboard
The camera quality options represented by MBCameraOptions.
Link copied to clipboard
Indicates whether executing landmark or bounding box validation capturing.
Link copied to clipboard
Indicates whether debugging mode is enabled.
Link copied to clipboard
The number of frames to collect during the capture session. Must be between 1 and 10 (inclusive).
Link copied to clipboard
Indicates whether payload optimization is enabled.
Link copied to clipboard
The time delay (in seconds) before automatic capture starts. Must be between 0 and 45 (inclusive).