ReaderChangedEvent

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.

readerState

the new state of the reader obtained from ReaderInfo.

readerSerialNumber

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?)

Types

Link copied to clipboard

Types of reader-related changes.

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard