ReaderChangedEvent

constructor(change: ReaderChangedEvent.Change, reader: ReaderInfo, readerState: ReaderInfo.State, readerSerialNumber: String?)

Parameters

change

the type of change that occurred.

reader

the new status of the card reader. This is a "snapshot," not a live object, so it will not be updated in place to reflect new changes. Instead, a second callback will be made with a second instance of ReaderInfo.

readerState

the new state of the reader obtained from ReaderInfo.

readerSerialNumber

the serial number of the reader obtained from ReaderInfo.