set Mode
Sets the Codabar mode for the scanner.
Return
A CommandResponse indicating the success or failure of the command.
Parameters
device Id
The identifier of the target device.
mode
The Codabar mode to set.
abstract fun setMode(deviceId: String, mode: CodabarMode, callback: (Result<CommandResponse>) -> Unit)
Callback-based version of setMode for Java interoperability.
Parameters
device Id
The identifier of the target device.
mode
The Codabar mode to set.
callback
Callback to receive CommandResponse.