set Transmit AI
Sets the transmission of the AI (Application Identifier) for GS1 Databar symbology.
Return
A CommandResponse indicating the success or failure of the operation.
Parameters
device Id
The identifier of the target device.
enabled
A boolean indicating whether to enable (true
) or disable (false
) the transmission of the AI.
abstract fun setTransmitAI(deviceId: String, enabled: Boolean, callback: (Result<CommandResponse>) -> Unit)
Callback-based version of setTransmitAI for Java interoperability.
Parameters
device Id
The identifier of the target device.
enabled
A boolean indicating whether to enable or disable the transmission of the AI.
callback
Callback to receive CommandResponse.