Symbology

interface Symbology

Interface defining methods for configuring symbology settings on the scanner device.

Provides both coroutine-based suspend functions for Kotlin and callback-based methods for Java interoperability.

Functions

Link copied to clipboard
abstract suspend fun enableOnlySymbology(deviceId: String, type: SymbologyType): CommandResponse

Enables a specific symbology on the device.

abstract fun enableOnlySymbology(deviceId: String, type: SymbologyType, callback: (Result<CommandResponse>) -> Unit)

Callback-based version of enableOnlySymbology for Java interoperability.

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

Toggles a specific symbology on the device based on the enabled flag.

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

Callback-based version of setSymbology for Java interoperability.