UPCA
interface UPCA
Interface representing settings for UPC_A symbology.
This interface provides methods to configure leading zero and check digit transmission settings, as well as add-on support for UPC_A symbology.
Functions
Link copied to clipboard
Sets the 2-character add-on for UPC_A symbology.
abstract fun setAddOnPlus2(deviceId: String, enabled: Boolean, callback: (Result<CommandResponse>) -> Unit)
Callback-based version of setAddOnPlus2 for Java interoperability.
Link copied to clipboard
Sets the 5-character add-on for UPC_A symbology.
abstract fun setAddOnPlus5(deviceId: String, enabled: Boolean, callback: (Result<CommandResponse>) -> Unit)
Callback-based version of setAddOnPlus5 for Java interoperability.
Link copied to clipboard
abstract suspend fun setLeadingZeroAndTransmitCDMode(deviceId: String, mode: UPCALeadingZeroAndTransmitCDMode): CommandResponse
Sets the leading zero and check digit transmission mode for UPC_A symbology.
abstract fun setLeadingZeroAndTransmitCDMode(deviceId: String, mode: UPCALeadingZeroAndTransmitCDMode, callback: (Result<CommandResponse>) -> Unit)
Callback-based version of setLeadingZeroAndTransmitCDMode for Java interoperability.