Reader Changed Event
class ReaderChangedEvent(val change: ReaderChangedEvent.Change, val reader: ReaderInfo, val readerSerialNumber: String?)
Data provided by Mobile Payments SDK to indicate a change in a specific reader.
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.
reader Serial Number
the serial number of the reader obtained from ReaderInfo.