BluetoothConnectionConfiguration

constructor(connectLocationId: String)


constructor(locationId: String, autoReconnectOnUnexpectedDisconnect: Boolean = false, bluetoothReaderReconnectionListener: ReaderReconnectionListener? = null)

Parameters

autoReconnectOnUnexpectedDisconnect

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

bluetoothReaderReconnectionListener

You will need to set bluetoothReaderReconnectionListener and being notified by ReaderReconnectionListener.onReaderReconnectStarted when reconnection starts. You will need to listen to ReaderReconnectionListener.onReaderReconnectSucceeded for succeeded reconnection, ReaderReconnectionListener.onReaderReconnectFailed for failed reconnection