setAToXConversion

abstract suspend fun setAToXConversion(deviceId: String, enabled: Boolean): CommandResponse

Sets the A to X conversion for UK Plessey symbology.

Return

A CommandResponse indicating the success or failure of the operation.

Parameters

deviceId

The identifier of the target device.

enabled

A boolean indicating whether to enable (true) or disable (false) the A to X conversion.


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

Callback-based version of setAToXConversion for Java interoperability.

Parameters

deviceId

The identifier of the target device.

enabled

A boolean indicating whether to enable or disable the A to X conversion.

callback

Callback to receive CommandResponse.