NotStarted

The read could not start: NFC is missing, off, not permitted, not eligible, not yet answered by the person, busy, or another read is running. See systemCode for the platform's own code, when it gave one.

Since

1.0.0

Properties

Link copied to clipboard
open override val attempts: Int

Always 0: nothing was sent.

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
Link copied to clipboard
open override 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

NotStarted( the reason ).