set Composite GS1Databar GS1128
abstract suspend fun setCompositeGS1DatabarGS1128(deviceId: String, enabled: Boolean): CommandResponse
Sets the state for GS1 Databar and GS1-128 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
) GS1 composite codes.
abstract fun setCompositeGS1DatabarGS1128(deviceId: String, enabled: Boolean, callback: (Result<CommandResponse>) -> Unit)
Callback-based version of setCompositeGS1DatabarGS1128 for Java interoperability.
Parameters
device Id
The identifier of the target device.
enabled
A boolean indicating whether to enable or disable GS1 composite codes.
callback
Callback to receive CommandResponse or an error.