The ParsedResult interface provides a structure representing the result object returned by Dynamsoft Code Parser.

interface ParsedResult {
    errorCode: number;
    errorMessage?: string;
    items?: ParsedResultItem[];
    originalImageHashId: string;
}

Properties

errorCode: number

The error code of the parsing operation., if an error occurred.

errorMessage?: string

The error message of parsing operation., if an error occurred.

An array that contains all ParsedResultItems.

originalImageHashId: string

A unique identifier or hash of the original image from which the barcodes were decoded. It can be used to associate the result with a specific input image.