LinkLost

The link to the chip was lost before an answer: usually the document moved away. The moment to say "connection lost, hold the document again".

The read goes on by itself when the document is found again: the next state is DocumentFound, and the read starts again from the beginning as a new attempt. This state lasts until then, or until the read ends.

Since

1.0.0

Properties

Link copied to clipboard

How many more times the read can start again after a lost link that made no progress, counting the start it is now waiting for when that start used a restart (so at least 1 then; 0 when it used none and the restarts are all used). Under LinkLossPolicy.Resume, a lost link after an attempt that read more file bytes than the attempts before it uses no restart, so this stays the same then: it counts down only for the losses that made no progress. Another limit applies on Android: the read ends at the first lost link after its total time limit, whatever is left here.

Functions

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

LinkLost( the restarts left ).