read
Reads typed MRZ text, detecting the format from its line count and line lengths.
Return
The result of MrzParser.parse, with the reading method set to MANUAL_ENTRY.
Parameters
input
The MRZ as one string, with the lines separated by a line break.
referenceTime
The moment that picks the century of two-digit years and judges expiry. Default: the system clock.
fun read(@ObjCName(name = "lines") input: List<String>, referenceTime: Instant = Clock.System.now()): ParseResult
Reads typed MRZ lines, detecting the format from their count and lengths.
Return
The result of MrzParser.parse, with the reading method set to MANUAL_ENTRY.
Parameters
input
The MRZ lines.
referenceTime
The moment that picks the century of two-digit years and judges expiry. Default: the system clock.