set Composite EANUPC
Sets the state for EAN/UPC composite codes.
Return
A CommandResponse indicating the success or failure of the operation.
Parameters
device Id
The identifier of the target device.
enabled
A boolean indicating whether to enable (true
) or disable (false
) EAN/UPC composite codes.
abstract fun setCompositeEANUPC(deviceId: String, enabled: Boolean, callback: (Result<CommandResponse>) -> Unit)
Callback-based version of setCompositeEANUPC for Java interoperability.
Parameters
device Id
The identifier of the target device.
enabled
A boolean indicating whether to enable or disable EAN/UPC composite codes.
callback
Callback to receive CommandResponse or an error.