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

    Interface BarcodeItemOverlayViewConfig

    interface BarcodeItemOverlayViewConfig {
        polygonColor?: string;
        refreshRate?: number;
        strokeColor?: string;
        text?: string;
        textColor?: string;
        textContainerColor?: string;
    }
    Index
    polygonColor?: string

    The color of the polygon in the selection overlay. If not set, the polygonColor from SelectionOverlayConfig is used.

    refreshRate?: number

    If undefined or set to 0, the barcodeItemOverlayViewBinder callback is executed only once per scanning session for each barcode item. If set to a value greater than 0, the barcodeItemOverlayViewBinder will be executed after at least N milliseconds for every visible barcode item on the screen.

    strokeColor?: string

    The color of the polygon border. If not set, the strokeColor from SelectionOverlayConfig is used.

    text?: string

    Custom text in the selection overlay. If not set, the textFormat property from the SelectionOverlayConfig is taken into account.

    textColor?: string

    The color of the text in the selection overlay. If not set, the textColor from SelectionOverlayConfig is used.

    textContainerColor?: string

    The color of the texts background in the selection overlay. If not set, the textContainerColor from SelectionOverlayConfig is used.