# 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

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

## Types

Change
Link copied to clipboard
enum Change : Enum<ReaderChangedEvent.Change>

Types of reader-related changes.

## Properties

change
Link copied to clipboard
val change: ReaderChangedEvent.Change
reader
Link copied to clipboard
val reader: ReaderInfo
readerSerialNumber
Link copied to clipboard
val readerSerialNumber: String?
readerState
Link copied to clipboard
val readerState: ReaderInfo.State