Mrz Result#

Defined in package com.scandit.datacapture.id.capture

MrzResult#
class MrzResult

Added in version 6.5.0

The ID Capture mode supports all versions of Machine Readable Travel Documents (MRTD) specified by the International Civil Aviation Organization (ICAO). The ICAO specifies four types of MRTDs:

  • TD1 - ID cards,

  • TD2 - other official travel documents,

  • TD3/MRP - passports,

  • MRV (A & B type) - visas.

In addition, the ID Capture mode supports the following non-ICAO standards:

  • SwissDL - Swiss driving license,

  • TD2/FrenchID - French ID.

documentCode#
@NonNull String getDocumentCode()

Added in version 6.5.0

The document type code. One of the following values:

  • P[passport type id] - indicates a passport,

  • ID - indicates an id card,

  • CA - indicates a Canada permanent resident card.

namesAreTruncated#
boolean getNamesAreTruncated()

Added in version 6.5.0

Indicates whether first or last name is truncated. For more information please refer to the official specification.

optional#
@Nullable String getOptional()

Added in version 6.5.0

An optional field, for use of the issuing country or the organization.

optional1#
@Nullable String getOptional1()

Added in version 6.5.0

An optional field, for use of the issuing country or the organization.

capturedMrz#
@NonNull String getCapturedMrz()

Added in version 6.8.0

A full unparsed MRZ text as it appears on a document.

equals(obj)#
boolean equals(@Nullable Object obj)

Added in version 6.5.0

Indicates whether some other object is equal to this one.

hashCode()#
int hashCode()

Added in version 6.5.0

Returns a hash code value for the object.