Complete

Every step ran; read holds what the chip gave.

Since

1.0.0

Properties

Link copied to clipboard
open override val attempts: Int

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.

Link copied to clipboard
open override val progress: ChipReadProgress

The progress when the read ended: 1.0 only for Complete; the last value otherwise.

Link copied to clipboard

The files, the views and the checks.

Link copied to clipboard
open val systemCode: Int?

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.

Functions

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

Complete(...) with counts only.