setMinimumDataLength

abstract suspend fun setMinimumDataLength(deviceId: String, dataLength: DataLength): CommandResponse

Sets the minimum data length for Code 2 of 5 and S-Code symbologies.

Return

A CommandResponse indicating the success or failure of the operation.

Parameters

deviceId

The identifier of the target device.

dataLength

The DataLength enum value representing the minimum data length.


abstract fun setMinimumDataLength(deviceId: String, dataLength: DataLength, callback: (Result<CommandResponse>) -> Unit)

Callback-based version of setMinimumDataLength for Java interoperability.

Parameters

deviceId

The identifier of the target device.

dataLength

The DataLength enum value representing the minimum data length.

callback

Callback to receive CommandResponse.