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

    Interface SelectionOverlayConfig

    The selection overlay configuration.

    interface SelectionOverlayConfig {
        barcodeItemOverlayViewBinder?: (
            barcodeItem: BarcodeItem,
        ) => BarcodeItemOverlayViewConfig | Promise<BarcodeItemOverlayViewConfig>;
        loadingTextValue?: string;
        overlayEnabled?: boolean;
        polygonColor?: ColorValue;
        strokeColor?: ColorValue;
        textColor?: ColorValue;
        textContainerColor?: ColorValue;
        textFormat?: BarcodeOverlayTextFormat;
    }
    Index
    barcodeItemOverlayViewBinder?: (
        barcodeItem: BarcodeItem,
    ) => BarcodeItemOverlayViewConfig | Promise<BarcodeItemOverlayViewConfig>

    Callback that configures the selection overlay for each barcode item individually.

    loadingTextValue?: string

    Only used if the barcodeItemOverlayViewBinder callback is set.

    overlayEnabled?: boolean

    Whether the barcode selection overlay is enabled or not.

    polygonColor?: ColorValue

    The color of the polygon in the selection overlay.

    strokeColor?: ColorValue

    The color of the polygon border.

    textColor?: ColorValue

    The color of the text in the selection overlay.

    textContainerColor?: ColorValue

    The color of the texts background in the selection overlay.

    Define the way of how to show barcode data with selection overlay.