Reader Changed Event
class ReaderChangedEvent(val change: ReaderChangedEvent.Change, val reader: ReaderInfo, val readerState: ReaderInfo.State, 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 State
the new state of the reader obtained from ReaderInfo.
reader Serial Number
the serial number of the reader obtained from ReaderInfo.
Constructors
Link copied to clipboard
constructor(change: ReaderChangedEvent.Change, reader: ReaderInfo, readerState: ReaderInfo.State, readerSerialNumber: String?)