set Read Mode
Sets the read mode for the scanner.
Return
A CommandResponse indicating the success or failure of the operation.
Parameters
device Id
The identifier of the target device.
mode
The mode to set for reading, specified by ReadMode.
abstract fun setReadMode(deviceId: String, mode: ReadMode, callback: (Result<CommandResponse>) -> Unit)
Callback-based version of setReadMode for Java interoperability.
Parameters
device Id
The identifier of the target device.
mode
The mode to set for reading, specified by ReadMode.
callback
Callback to receive the CommandResponse.