BluetoothConnectionConfiguration
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).
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.
bluetoothReaderListener
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, bluetoothReaderListener: MobileReaderListener)