MRZScanResult contains the parsed MRZ information and the corresponding additional information.

interface MRZScanResult {
    data?: MRZData;
    errorCode?: number;
    errorString?: string;
    resultStatus: EnumResultStatus;
}

Properties

data?: MRZData

The parsed MRZ data.

MRZDara

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 mrz scan result.