setSpaceInsertion

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

Sets the space insertion mode between characters in Codabar symbology.

Return

A CommandResponse indicating the success or failure of the command.

Parameters

deviceId

The identifier of the target device.

enabled

A boolean indicating whether to enable (true) or disable (false) space insertion.


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

Callback-based version of setSpaceInsertion for Java interoperability.

Parameters

deviceId

The identifier of the target device.

enabled

A boolean indicating whether to enable or disable space insertion.

callback

Callback to receive CommandResponse.