capacitor-plugin-scanbot-sdk
    Preparing search index...

    Interface CustomUICameraConfiguration

    Configuration properties of the camera device

    interface CustomUICameraConfiguration {
        cameraModule?: CameraModule;
        cameraPreviewMode?: CameraPreviewMode;
        cameraZoomFactor?: number;
        cameraZoomRange?: CameraViewZoomRange;
        flashEnabled?: boolean;
        hardwareButtonsEnabled?: boolean;
        minFocusDistanceLock?: boolean;
        touchToFocusEnabled?: boolean;
    }
    Index

    Properties

    cameraModule?: CameraModule

    The camera module to be used for barcode scanning. Default is BACK.

    cameraPreviewMode?: CameraPreviewMode

    Preview mode of the camera. Fit-In or Fill-In. Default is FILL_IN

    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. Default value is 0.0.

    cameraZoomRange?: CameraViewZoomRange

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

    flashEnabled?: boolean

    Whether flash is toggled on or off. Default is disabled.

    hardwareButtonsEnabled?: boolean

    When enabled it allows zooming using camera control button (iPhone 16 series). iOS only. Default is enabled.

    minFocusDistanceLock?: boolean

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

    touchToFocusEnabled?: boolean

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