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: Callback<CommandResponse>)

Callback-based version of enableOnlySymbology for Java interoperability.

Link copied to clipboard
abstract fun isSymbologyEnabled(deviceId: String, type: SymbologyType): Boolean

Returns whether the provided symbology is currently enabled in the SDK's scanner settings state.

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: Callback<CommandResponse>)

Callback-based version of setSymbology for Java interoperability.