Configuration of the camera settings to be used while scanning.

Hierarchy

  • PartiallyConstructible
    • CameraConfiguration

Constructors

Properties

cameraModule: CameraModule

Determines which camera module to use on start-up. Default is BACK

cameraPreviewMode: CameraPreviewMode

Determines which camera preview mode to use. Default is FILL_IN

defaultZoomFactor: number

The default zoom factor on start-up. Default is 1.0

flashEnabled: boolean

Determines whether the flash is enabled on start-up. Default is false

minFocusDistanceLock: boolean

Determines whether to lock the focus at the minimum possible distance (device-specific). Default is false

orientationLockMode: OrientationLockMode

Determines which mode to use when orientation should be locked to landscape or portrait. Default is NONE

pinchToZoomEnabled: boolean

Determines whether pinch-to-zoom is enabled or not. Default is true

touchToFocusEnabled: boolean

Determines whether touch-to-focus is enabled or not. Android only. Default is false

zoomSteps: number[]

The zoom steps available to the user.