Table of contents

MRZScanResult

MRZScanResult is the most basic class to represent the full MRZ result object. It comes with a result status and the parsed MRZ info as a MRZData object.

Definition

Assembly: dynamsoft_mrz_scanner_bundle_flutter

class MRZScanResult

Properties

Property Type Description
mrzData MRZData? Represents the parsed MRZ data.
status EnumResultStatus Represents the status of the result, which can be finished, canceled or exception.
errorCode int? Represents the error code should something go wrong during the MRZ scanning process.
errorString String? Represents the error message associated with the error code should something go wrong during the MRZ scanning process.

mrzData

Represents the parsed MRZ information as a MRZData object.

MRZData? mrzData;

status

Represents the status of the result, which can be finished, canceled or exception. The status comes in the form of a EnumResultStatus.

EnumResultStatus status;

Remarks

The result status can be one of three things:

  • finished: The MRZ scanning is finished.
  • canceled: The MRZ scanning activity is closed before the process is finished.
  • exception: Failed to start MRZ scanning or an error occurs when scanning the MRZ.

errorCode

Returns the error code when an exception occurs. This value is only valid when resultStatus is exception.

int? errorCode;

errorString

Returns the error message associated with the error code when an exception occurs. This value is only valid when resultStatus is exception.

String? errorMessage;

This page is compatible for:

Is this page helpful?

YesYes NoNo

In this article: