Code39

interface Code39

Interface representing settings for Code 39 symbology.

This interface provides methods to configure the mode, check digit validation, and transmission options for Code 39 symbology.

Functions

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

Sets the check digit validation for Code 39 symbology.

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

Callback-based version of setCheckCD for Java interoperability.

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

Sets the concatenation mode for Code 39 symbology.

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

Callback-based version of setConcatenation for Java interoperability.

Link copied to clipboard
abstract suspend fun setMinLength(deviceId: String, length: Code39MinimumLength): CommandResponse

Sets the minimum length for Code 39 symbology.

abstract fun setMinLength(deviceId: String, length: Code39MinimumLength, callback: (Result<CommandResponse>) -> Unit)

Callback-based version of setMinLength for Java interoperability.

Link copied to clipboard
abstract suspend fun setMode(deviceId: String, mode: Code39Mode): CommandResponse

Sets the mode for Code 39 symbology.

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

Callback-based version of setMode for Java interoperability.

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

Sets the transmission of the check digit for Code 39 symbology.

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

Callback-based version of setTransmitCD for Java interoperability.

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

Sets the transmission of the leading 'A' for IT Pharmaceutical mode in Code 39 symbology.

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

Callback-based version of setTransmitLdAForItPharm for Java interoperability.

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

Sets the transmission of start/stop characters for Code 39 symbology.

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

Callback-based version of setTransmitSTSP for Java interoperability.