UsbConnectionConfiguration
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).
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.
usbReaderListener
The listener which receives events related to the status of the reader, as well as opportunities to update the reader's software.
Constructors
Link copied to clipboard
constructor(locationId: String, autoReconnectOnUnexpectedDisconnect: Boolean = true, usbReaderListener: MobileReaderListener)