UPCE

interface UPCE

Interface representing settings for UPCE symbology.

This interface provides methods to configure leading zero, check digit transmission settings, conversion modes, and add-on support for UPCE symbology.

Functions

Link copied to clipboard
abstract suspend fun setAddOnPlus2(deviceId: String, enabled: Boolean): CommandResponse

Sets the 2-character add-on for UPCE symbology.

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

Callback-based version of setAddOnPlus2 for Java interoperability.

Link copied to clipboard
abstract suspend fun setAddOnPlus5(deviceId: String, enabled: Boolean): CommandResponse

Sets the 5-character add-on for UPCE 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 setConversionMode(deviceId: String, mode: UPCEConversionMode): CommandResponse

Sets the conversion mode for UPCE symbology.

abstract fun setConversionMode(deviceId: String, mode: UPCEConversionMode, callback: (Result<CommandResponse>) -> Unit)

Callback-based version of setConversionMode for Java interoperability.

Link copied to clipboard

Sets the leading zero and check digit transmission mode for UPCE symbology.

Callback-based version of setLeadingZeroAndTransmitCDMode for Java interoperability.