waiting

fun waiting(waitedMillis: Long)

The reader is on and waits for a document: ChipReadState.WaitingForDocument with waitedMillis. Call it when polling starts and again every few seconds. While the read waits after a lost link it does nothing: ChipReadState.LinkLost stays until the document is found again.

Parameters

waitedMillis

How long the reader has waited so far, in milliseconds.