setAddOnPlus5

abstract suspend fun setAddOnPlus5(deviceId: String, enabled: Boolean): CommandResponse

Sets the 5-character add-on for UPCE symbology.

Return

A CommandResponse indicating the success or failure of the operation.

Parameters

deviceId

The identifier of the target device.

enabled

A boolean indicating whether to enable (true) or disable (false) the 5-character add-on.


abstract fun setAddOnPlus5(deviceId: String, enabled: Boolean, callback: (Result<CommandResponse>) -> Unit)

Callback-based version of setAddOnPlus5 for Java interoperability.

Parameters

deviceId

The identifier of the target device.

enabled

Whether to enable or disable the 5-character add-on.

callback

Callback to receive CommandResponse.