CompositeCodes

interface CompositeCodes

Interface representing settings for composite codes.

This interface provides methods to configure the output mode, and manage settings for GS1 and EAN/UPC composite codes.

Functions

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

Sets the state for EAN/UPC composite codes.

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

Callback-based version of setCompositeEANUPC for Java interoperability.

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

Sets the state for GS1 Databar and GS1-128 composite codes.

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

Callback-based version of setCompositeGS1DatabarGS1128 for Java interoperability.

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

Sets whether to ignore the link flag for composite codes.

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

Callback-based version of setIgnoreLinkFlag for Java interoperability.

Link copied to clipboard
abstract suspend fun setOutputMode(deviceId: String, outputMode: CompositeCodesOutputMode): CommandResponse

Sets the output mode for composite codes.

abstract fun setOutputMode(deviceId: String, outputMode: CompositeCodesOutputMode, callback: (Result<CommandResponse>) -> Unit)

Callback-based version of setOutputMode for Java interoperability.