TapToPayConnectionConfiguration

class TapToPayConnectionConfiguration @JvmOverloads constructor(locationId: String, val autoReconnectOnUnexpectedDisconnect: Boolean = true, val tapToPayReaderListener: TapToPayReaderListener?) : ConnectionConfiguration

The TapToPayConnectionConfiguration object should be used to connect to the phone's or tablet's NFC reader.

Parameters

locationId

The ID of the Location that you want this reader to be registered to.

autoReconnectOnUnexpectedDisconnect

If set to true, Terminal will try to reconnect to your reader.

tapToPayReaderListener

You will need to set tapToPayReaderListener to be notified of reconnection and disconnect events.

Constructors

Link copied to clipboard
constructor(locationId: String, autoReconnectOnUnexpectedDisconnect: Boolean = true, tapToPayReaderListener: TapToPayReaderListener?)

Properties

Link copied to clipboard
Link copied to clipboard
actual val locationId: String?

The ID of the Location that you want this reader to be registered to.

Link copied to clipboard
val locationRegistration: LocationRegistration

Functions

Link copied to clipboard
open override fun toString(): String