react-native-scanbot-sdk
    Preparing search index...

    Interface CameraConfig

    Configuration properties of the camera device

    interface CameraConfig {
        cameraModule?: CameraModule;
        cameraZoomFactor?: number;
        cameraZoomRange?: ZoomRange;
        minFocusDistanceLock?: boolean;
        touchToFocusEnabled?: boolean;
    }
    Index
    cameraModule?: CameraModule

    The camera module to be used for barcode scanning.

    cameraZoomFactor?: number

    The relative initial zoom level of the camera in the range (0,1), where 0 is zoomed out and 1 is zoomed in. The default value is 0.0.

    cameraZoomRange?: ZoomRange

    The range of valid camera zoom factors. Default value is (1.0; 12.0).

    minFocusDistanceLock?: boolean

    Lock focus distance within the minimum possible range.

    touchToFocusEnabled?: boolean

    Determines whether touch-to-focus is enabled or not.