EAN8

interface EAN8

Interface representing settings for EAN-8 symbology.

This interface provides methods to enable or disable the transmission of check digits, and to manage add-on settings for EAN-8 symbology.

Functions

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

Sets the 2-character add-on for EAN-8 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 EAN-8 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 setTransmitCD(deviceId: String, enabled: Boolean): CommandResponse

Sets the transmission of the check digit for EAN-8 symbology.

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

Callback-based version of setTransmitCD for Java interoperability.