Table of contents

MRZScanResult

MRZScanResult is a result class that contains the parsed MRZ information and the corresponding additional information.

Definition

Assembly: DynamsoftMRZScanner.aar

Namespace: com.dynamsoft.mrzscanner.ui

class MRZScanResult

Methods

Method Description
getData Returns the parsed MRZ data.
getResultStatus Returns the result status, which can be finished, canceled or exception.
getErrorCode Returns the error code should something go wrong during the MRZ scanning process.
getErrorString Returns the error message associated with the error code should something go wrong during the MRZ scanning process.

getData

Returns the parsed MRZ information as a MRZData object.

MRZData getData();

Return Value

A MRZData object that contains the parsed MRZ data.

getResultStatus

Returns the status of the result, which can be finished, canceled or exception.

@EnumResultStatus
int getResultStatus();

Return Value

The status of the result, which can be finished, canceled or exception.

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

getErrorCode

Returns the error code should something go wrong during the MRZ scanning process.

int getErrorCode();

Return Value

An integer representing a EnumErrorCode.

getErrorString

Returns the error message associated with the error code should something go wrong during the MRZ scanning process.

String getErrorString();

Return Value

A string representing the message of a EnumErrorCode.

This page is compatible for:

Is this page helpful?

YesYes NoNo

In this article: