setCheckCD

abstract suspend fun setCheckCD(deviceId: String, setting: IATACheckCDSettings): CommandResponse

Sets the check digit validation mode for IATA symbology.

Return

A CommandResponse indicating the success or failure of the operation.

Parameters

deviceId

The identifier of the target device.

setting

The IATACheckCDSettings enum value representing the desired setting.


abstract fun setCheckCD(deviceId: String, setting: IATACheckCDSettings, callback: (Result<CommandResponse>) -> Unit)

Callback-based version of setCheckCD for Java interoperability.

Parameters

deviceId

The identifier of the target device.

setting

The IATACheckCDSettings enum value representing the desired setting.

callback

Callback to receive CommandResponse.