The result of barcode scanning.

Hierarchy (view full)

Constructors

Properties

barcodes: BarcodeItem[]

List of found barcodes.

success: boolean

True if any barcodes were found.

Methods

  • Returns Promise<void>

  • Returns void

  • Parameters

    Returns Promise<{
        barcodes?: (undefined | {
            dataBarStackSize?: number;
            extractedDocument?: null | {
                children?: ((...) | (...))[];
                confidence?: number;
                confidenceWeight?: number;
                crop?: null | {
                    buffer: (...) | (...);
                    uniqueId?: (...) | (...);
                    clear?: any;
                    clone?: any;
                    encodeImage?: any;
                    encodeInPlace?: any;
                    hibernate?: any;
                    info?: any;
                    isRetained?: any;
                    release?: any;
                    retain?: any;
                    saveImage?: any;
                    serialize?: any;
                };
                fields?: ((...) | (...))[];
                quad?: ((...) | (...))[];
                quadInRoot?: ((...) | (...))[];
                type?: {
                    fullName?: (...) | (...);
                    listIndex?: (...) | (...) | (...);
                    name?: (...) | (...);
                    normalizedName?: (...) | (...);
                    serialize?: any;
                };
                encodeImages?: any;
                release?: any;
                serialize?: any;
            };
            format?: BarcodeFormat;
            isGS1CompositePart?: boolean;
            isGS1Message?: boolean;
            isUpsideDown?: boolean;
            quad?: (undefined | {
                x?: (...) | (...);
                y?: (...) | (...);
            })[];
            quadNormalized?: (undefined | {
                x?: (...) | (...);
                y?: (...) | (...);
            })[];
            rawBytes?: string;
            sizeScore?: number;
            sourceImage?: null | {
                buffer: undefined | string;
                uniqueId?: string;
                clear?: any;
                clone?: any;
                encodeImage?: any;
                encodeInPlace?: any;
                hibernate?: any;
                info?: any;
                isRetained?: any;
                release?: any;
                retain?: any;
                saveImage?: any;
                serialize?: any;
            };
            text?: string;
            upcEanExtension?: string;
            encodeImages?: any;
            release?: any;
            serialize?: any;
        })[];
        success?: boolean;
        encodeImages?: any;
        release?: any;
        serialize?: any;
    }>