set Leading Zero And Transmit CDMode
abstract suspend fun setLeadingZeroAndTransmitCDMode(deviceId: String, mode: UPCALeadingZeroAndTransmitCDMode): CommandResponse
Sets the leading zero and check digit transmission mode for UPC_A symbology.
Return
A CommandResponse indicating the success or failure of the operation.
Parameters
device Id
The identifier of the target device.
mode
The desired leading zero and check digit transmission mode.
abstract fun setLeadingZeroAndTransmitCDMode(deviceId: String, mode: UPCALeadingZeroAndTransmitCDMode, callback: (Result<CommandResponse>) -> Unit)
Callback-based version of setLeadingZeroAndTransmitCDMode for Java interoperability.
Parameters
device Id
The identifier of the target device.
mode
The leading zero and check digit transmission mode.
callback
Callback to receive CommandResponse.