setSpaceCheck

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

Sets the space check mode for Industrial 2 of 5 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 space check.


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

Callback-based version of setSpaceCheck for Java interoperability.

Parameters

deviceId

The identifier of the target device.

enabled

A boolean indicating whether to enable or disable the space check.

callback

Callback to receive CommandResponse.