KeyRejected
The key was refused before anything was sent to the chip: no reader was turned on, no system sheet was shown, and no chip attempt was used. Two causes:
The MRZ key's check digits do not match their fields: error is a ChipKeyCheckDigitMismatch. See ChipReadOptions.allowCheckDigitMismatch.
The key was already used: an earlier read cleared it at its ending, or the app cleared it. error is a ChipAccessDenied with ChipAccessDenied.Reason.KEY_CLEARED. A new read needs a new key, built from the document's details again.
Since
1.0.0
Properties
How many attempts sent commands to a chip: 0 when none did, more than 1 after a lost link. A read that ends while it waits for the document after a lost link counts only the attempts that ran, so this can be one less than the ChipReadUpdate.attempt of the last updates, which already name the attempt the read was getting ready for.
The progress when the read ended: 1.0 only for Complete; the last value otherwise.
The platform's own code for the failure that ended the read, as the platform reported it, when it gave one: on iPhone, Core NFC's NFCReaderError code of the session's end or of the failed connect that led to this ending (for example 2, 7 or 8 for NotStarted with NOT_PERMITTED, NOT_ELIGIBLE or ACCESS_NOT_ANSWERED). null when the ending did not come from a code of the platform, and always on Android, whose NFC calls report no codes. A fact for diagnosis: the typed reason is what the app acts on.