ExternalUsbChannelConfiguration
class ExternalUsbChannelConfiguration @JvmOverloads constructor(locationId: String, val readerListener: MobileReaderListener, val testReaderUpdate: TestReaderUpdate? = null) : ConnectionConfiguration
The ExternalUsbChannelConfiguration object is used to connect to a reader using an external USB channel. Currently DeviceType.CHIPPER_1X, DeviceType.CHIPPER_2X, DeviceType.WISECUBE, DeviceType.WISEPAD_3 and DeviceType.WISEPAD_3S are supported. Auto reconnect is not supported with external USB channels.
Parameters
locationId
The ID of the Location that you want this reader to be registered to.
readerListener
The listener which receives events related to the status of the reader. as well as opportunities to update the reader's software
testReaderUpdate
When set, the SDK will perform or announce a reader software update during connection in test mode. Connect will throw TerminalErrorCode.INVALID_REQUIRED_PARAMETER if connecting to a live-mode reader. Defaults to null (no update).
Constructors
Link copied to clipboard
constructor(locationId: String, readerListener: MobileReaderListener, testReaderUpdate: TestReaderUpdate? = null)