ConnectionConfiguration
Types
Link copied to clipboard
class BluetoothConnectionConfiguration @JvmOverloads constructor(locationId: String, val autoReconnectOnUnexpectedDisconnect: Boolean = true, val bluetoothReaderListener: MobileReaderListener) : ConnectionConfiguration
The BluetoothConnectionConfiguration object is used to connect to a bluetooth reader (currently DeviceType.CHIPPER_2X, DeviceType.STRIPE_M2 and DeviceType.WISEPAD_3).
Link copied to clipboard
class HandoffConnectionConfiguration(val handoffReaderListener: HandoffReaderListener?) : ConnectionConfiguration
The HandoffConnectionConfiguration object should be used to connect to a reader in handoff mode.
Link copied to clipboard
actual class InternetConnectionConfiguration(val failIfInUse: Boolean = false, val internetReaderListener: InternetReaderListener?) : ConnectionConfiguration
The InternetConnectionConfiguration object is used to connect to an internet reader such as DeviceType.STRIPE_S700 or DeviceType.WISEPOS_E.
Link copied to clipboard
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.
Link copied to clipboard
class UsbConnectionConfiguration @JvmOverloads constructor(locationId: String, val autoReconnectOnUnexpectedDisconnect: Boolean = true, val usbReaderListener: MobileReaderListener) : ConnectionConfiguration
The UsbConnectionConfiguration object is used to connect to a USB reader (currently DeviceType.CHIPPER_2X, DeviceType.STRIPE_M2 and DeviceType.WISEPAD_3).