SimulatorConfiguration

data class SimulatorConfiguration(update: SimulateReaderUpdate, simulatedCard: SimulatedCard)

A configuration object that can be set on the main Terminal class. It's setting will dictate the behavior you see on your next connection to a simulated reader.

Constructors

SimulatorConfiguration
Link copied to clipboard
fun SimulatorConfiguration(update: SimulateReaderUpdate = UPDATE_AVAILABLE, simulatedCard: SimulatedCard = SimulatedCard(DEFAULT_CARD_NUMBER))

Types

Companion
Link copied to clipboard
object Companion

Properties

simulatedCard
Link copied to clipboard
val simulatedCard: SimulatedCard
The card that should be used for all interactions with a simulated reader.
update
Link copied to clipboard
val update: SimulateReaderUpdate
The type of update that should be simulated on the next connection to a simulated reader.