BarcodeScanResult contains all decoded barcodes and their associated info.

interface BarcodeScanResult {
    barcodes?: BarcodeResultItem[];
    errorCode?: number;
    errorString?: string;
    resultStatus: EnumResultStatus;
}

Properties

barcodes?: BarcodeResultItem[]

The decoded barcodes when the resultStatus is EnumResultStatus.RS_FINISHED.

errorCode?: number

Returns the error code when the resultStatus is EnumResultStatus.RS_EXCEPTION.

errorString?: string

Returns the errorString when the resultStatus is EnumResultStatus.RS_EXCEPTION.

resultStatus: EnumResultStatus

The status of the barcode scan result.