NormalizedMrzFields

The three values a person typed, cleaned up by ChipAccessKey.Mrz.normalizeTypedFields, and the fields that cleaning changed.

The values are the person's own input in a cleaned form: show them to the person before the read, then pass them to ChipAccessKey.Mrz.fromTypedFields. toString() never shows them.

Experimental: see ExperimentalTesseraChipApi.

Since

1.0.0

Properties

Link copied to clipboard

The fields whose value is not the same as typed: any of MrzField.DOCUMENT_NUMBER, MrzField.DATE_OF_BIRTH and MrzField.DATE_OF_EXPIRY; empty when nothing needed cleaning.

Link copied to clipboard

The date of birth, cleaned the same way.

Link copied to clipboard

The date of expiry, cleaned the same way.

Link copied to clipboard

The document number with spaces removed at both ends and ASCII letters in upper case.

Link copied to clipboard

true when cleaning changed at least one value.

Functions

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

The changed fields, never a value.