China Mainland Travel Permit MRZ Result

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

ChinaMainlandTravelPermitMrzResult
class ChinaMainlandTravelPermitMrzResult

Added in version 6.14.0

Information obtained from the Machine Readable Zone (MRZ) present on the back of a Chinese Mainland Travel permit. The supported Chinese Mainland Travel Permits are listed below: * Mainland Travel Permit for Hong Kong & Macau Residents * Mainland Travel Permit for Taiwan Residents

documentCode
@NonNull String getDocumentCode()

Added in version 6.14.0

The document type code. One of the following values:

  • CR - indicates a Mainland Travel Permit for Hong Kong & Macau Residents.

  • CT - indicates a Mainland Travel Permit for Taiwan Residents.

capturedMrz
@NonNull String getCapturedMrz()

Added in version 6.14.0

The full MRZ text as it appears on a document.

personalIdNumber
@NonNull String getPersonalIdNumber()

Added in version 6.14.0

The personal ID Number of the document holder.

renewalTimes
int getRenewalTimes()

Added in version 6.14.0

The number of times the document has been renewed.

fullNameSimplifiedChinese
@NonNull String getFullNameSimplifiedChinese()

Added in version 6.16.0

The holder’s name in Simplified Chinese characters.

omittedCharacterCountInGBKName
int getOmittedCharacterCountInGBKName()

Added in version 6.14.0

The number of Chinese characters omitted in in GBK (a character encoding for Simplified Chinese characters used in the People’s Republic of China) name.

omittedNameCount
int getOmittedNameCount()

Added in version 6.14.0

The number of names that couldn’t be displayed in the MRZ.

issuingAuthorityCode
@Nullable String getIssuingAuthorityCode()

Added in version 6.14.0

The code of the authority that issued this document.

equals(other)
boolean equals(@Nullable Object other)

Added in version 6.14.0

Indicates whether some other object is equal to this one.

hashCode()
int hashCode()

Added in version 6.14.0

Returns a hash code value for the object.