enableOnlySymbology

abstract suspend fun enableOnlySymbology(deviceId: String, type: SymbologyType): CommandResponse

Enables a specific symbology on the device.

Return

A CommandResponse indicating the success or failure of the operation.

Parameters

deviceId

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

type

The symbology to enable exclusively.


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

Callback-based version of enableOnlySymbology for Java interoperability.

Parameters

deviceId

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

type

The symbology to enable exclusively.

callback

Callback to receive the CommandResponse.