MrzUnknownCountryCode

data class MrzUnknownCountryCode(val field: MrzField, val rawCode: String, val position: Int) : MrzWarning

Warning: an issuing state or nationality code is not in the SDK's country code table.

Reported by the validator. A code missing from the table is not necessarily an invalid code.

Since

0.1.0

Constructors

Link copied to clipboard
constructor(field: MrzField, rawCode: String, position: Int)

Properties

Link copied to clipboard
open override val description: String

English text for logs: the field and the position. It never contains the code; that is in rawCode.

Link copied to clipboard

The field that holds the code, ISSUING_STATE or NATIONALITY.

Link copied to clipboard

Zero-based index of the first code character across the lines joined with no separator.

Link copied to clipboard

The three-character code as printed.

Functions

Link copied to clipboard
open override fun toString(): String

MrzUnknownCountryCode: followed by description, so logs carry no document values.