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

    Interface ScanbotBarcodeCameraViewProperties

    interface ScanbotBarcodeCameraViewProperties {
        barcodeScannerConfiguration?: BarcodeScannerConfiguration;
        cameraConfig?: CameraConfig;
        children?: ReactNode;
        contentContainerStyle?: StyleProp<ViewStyle>;
        finderConfig?: FinderConfig;
        flashEnabled?: boolean;
        hardwareButtonsEnabled?: boolean;
        onBarcodeScannerResult: (result: BarcodeItem[]) => void | Promise<void>;
        onBarcodeTap?: (result: BarcodeItem) => void;
        onError?: (error: SBError) => void;
        scanningEnabled?: boolean;
        selectionOverlayConfig?: SelectionOverlayConfig;
        style?: StyleProp<ViewStyle>;
    }
    Index
    barcodeScannerConfiguration?: BarcodeScannerConfiguration

    Configuration for the barcode scanner. *

    cameraConfig?: CameraConfig

    Configuration properties of the camera device.

    children?: ReactNode
    contentContainerStyle?: StyleProp<ViewStyle>
    finderConfig?: FinderConfig

    Configuration properties of the finder overlay.

    flashEnabled?: boolean

    Whether flash is toggled on or off.

    hardwareButtonsEnabled?: boolean

    Controls whether the hardware volume buttons and the new hardware camera control button should snap or not. Available in iOS 17.2 and later.

    onBarcodeScannerResult: (result: BarcodeItem[]) => void | Promise<void>
    onBarcodeTap?: (result: BarcodeItem) => void
    onError?: (error: SBError) => void
    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>