ReadMethod

How the MRZ text reached the SDK. Reported on ResultMetadata.readMethod.

Since

0.1.0

Entries

Link copied to clipboard

The text came from a live camera feed.

Link copied to clipboard

The text came from a saved image.

Link copied to clipboard

A person typed the text. Reported by ManualMrzReader.

Link copied to clipboard

The text came from a document's chip (its DG1), read over NFC. Reported by emrtd-core.

Link copied to clipboard

Your app passed the text as a string. Reported by MrzParser and MrzGenerator.

Link copied to clipboard

The chip's DG1 values, combined with a printed MRZ the app also read: ChipMrzComparison.combine in emrtd-core reports it. The values are the chip's, and each field carries a fact saying whether the printed MRZ shows the same characters. Nothing is corrected, and neither source is picked over the other.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
expect val name: String
Link copied to clipboard
expect val ordinal: Int

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.