setConversionMode

abstract suspend fun setConversionMode(deviceId: String, mode: UPCEConversionMode): CommandResponse

Sets the conversion mode for UPCE symbology.

Return

A CommandResponse indicating the success or failure of the operation.

Parameters

deviceId

The identifier of the target device.

mode

The desired conversion mode for UPCE symbology.


abstract fun setConversionMode(deviceId: String, mode: UPCEConversionMode, callback: (Result<CommandResponse>) -> Unit)

Callback-based version of setConversionMode for Java interoperability.

Parameters

deviceId

The identifier of the target device.

mode

The conversion mode.

callback

Callback to receive CommandResponse.