Codabar

interface Codabar

Interface for managing Codabar-specific settings on the scanner.

This interface provides methods for configuring Codabar-related settings such as enabling or disabling check digits, transmitting start and stop characters, and setting the Codabar mode.

Functions

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

Sets the check digit state for Codabar 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 setIntercharacterGapCheck(deviceId: String, enabled: Boolean): CommandResponse

Sets the intercharacter gap check mode for Codabar symbology.

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

Callback-based version of setIntercharacterGapCheck for Java interoperability.

Link copied to clipboard
abstract suspend fun setMinimumLength(deviceId: String, length: CodabarMinimumLength): CommandResponse

Sets the minimum data length for Codabar symbology.

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

Callback-based version of setMinimumLength for Java interoperability.

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

Sets the Codabar mode for the scanner.

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

Callback-based version of setMode for Java interoperability.

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

Sets the space insertion mode between characters in Codabar symbology.

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

Callback-based version of setSpaceInsertion for Java interoperability.

Link copied to clipboard
abstract suspend fun setStartStopTransmission(deviceId: String, transmission: CodabarStartStopTransmission): CommandResponse

Sets the start and stop character transmission mode for Codabar symbology.

abstract fun setStartStopTransmission(deviceId: String, transmission: CodabarStartStopTransmission, callback: (Result<CommandResponse>) -> Unit)

Callback-based version of setStartStopTransmission for Java interoperability.

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

Sets the transmission state of the check digit for Codabar symbology.

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

Callback-based version of setTransmitCD for Java interoperability.