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