Camera Configuration
data class CameraConfiguration(var cameraModule: CameraModule = CameraModule.BACK, var zoomSteps: List<Double> = listOf( 1.0, 2.0, 5.0 ), var defaultZoomFactor: Double = 1.0, var flashEnabled: Boolean = false, var minFocusDistanceLock: Boolean = false, var touchToFocusEnabled: Boolean = false, var pinchToZoomEnabled: Boolean = true, var orientationLockMode: OrientationLockMode = OrientationLockMode.NONE, var cameraPreviewMode: CameraPreviewMode = CameraPreviewMode.FILL_IN, var fpsLimit: Int = 20, var cameraLiveScannerResolution: CameraLiveScannerResolution = CameraLiveScannerResolution.FULL_HD) : Parcelable
Configuration of the camera settings to be used while scanning.
Constructors
Link copied to clipboard
constructor(cameraModule: CameraModule = CameraModule.BACK, zoomSteps: List<Double> = listOf( 1.0, 2.0, 5.0 ), defaultZoomFactor: Double = 1.0, flashEnabled: Boolean = false, minFocusDistanceLock: Boolean = false, touchToFocusEnabled: Boolean = false, pinchToZoomEnabled: Boolean = true, orientationLockMode: OrientationLockMode = OrientationLockMode.NONE, cameraPreviewMode: CameraPreviewMode = CameraPreviewMode.FILL_IN, fpsLimit: Int = 20, cameraLiveScannerResolution: CameraLiveScannerResolution = CameraLiveScannerResolution.FULL_HD)
Properties
Link copied to clipboard
The size of the image from camera which would be sent to the scanner for live scanning.
Link copied to clipboard
Determines which camera module to use on start-up.
Link copied to clipboard
Determines which camera preview mode to use.
Link copied to clipboard
The default zoom factor on start-up.
Link copied to clipboard
Determines whether the flash is enabled on start-up.
Link copied to clipboard
Determines whether to lock the focus at the minimum possible distance (device-specific).
Link copied to clipboard
Determines which mode to use when orientation should be locked to landscape or portrait.
Link copied to clipboard
Determines whether pinch-to-zoom is enabled or not.
Link copied to clipboard
Determines whether touch-to-focus is enabled or not. Android only.