interface ScanbotBarcodeCameraViewProperties {
    cameraConfig?: CameraConfig;
    children?: ReactNode;
    contentContainerStyle?: StyleProp<ViewStyle>;
    detectorConfig?: DetectorConfig;
    finderConfig?: FinderConfig;
    flashEnabled?: boolean;
    onBarcodeScannerResult: ((result) => void);
    scanningEnabled?: boolean;
    selectionOverlayConfig?: SelectionOverlayConfig;
    style?: StyleProp<ViewStyle>;
}

Properties

cameraConfig?: CameraConfig

Configuration properties of the camera device

children?: ReactNode
contentContainerStyle?: StyleProp<ViewStyle>
detectorConfig?: DetectorConfig

An interface that defines parameters for barcodes detection and filtering

finderConfig?: FinderConfig

Configuration properties of the finder overlay

flashEnabled?: boolean

Whether flash is toggled on or off.

onBarcodeScannerResult: ((result) => void)

Type declaration

scanningEnabled?: boolean

Enable or disable barcode detection. If disabled, the camera preview is active but no barcodes will be detected. Default is enabled.

selectionOverlayConfig?: SelectionOverlayConfig

The selection overlay configuration.

style?: StyleProp<ViewStyle>