set Aiming
Toggles the aiming feature for the scanner based on the enabled flag.
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 or disable aiming.
abstract fun setAiming(deviceId: String, enabled: Boolean, callback: (Result<CommandResponse>) -> Unit)
Callback-based version of setAiming for Java interoperability.
Parameters
device Id
The identifier of the target device.
enabled
A boolean indicating whether to enable or disable aiming.
callback
Callback to receive the CommandResponse.