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