setSymbology

abstract suspend fun setSymbology(deviceId: String, type: SymbologyType, enabled: Boolean): CommandResponse

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

Return

A CommandResponse indicating the success or failure of the operation.

Parameters

deviceId

The ID of the device where the symbology should be enabled or disabled.

type

The symbology to enable or disable.

enabled

A boolean flag indicating whether to enable (true) or disable (false) the symbology.


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

Callback-based version of setSymbology for Java interoperability.

Parameters

deviceId

The ID of the device where the symbology should be enabled or disabled.

type

The symbology to enable or disable.

enabled

A boolean flag indicating whether to enable (true) or disable (false) the symbology.

callback

Callback to receive the CommandResponse.