Hi,
I want to start and stop a continuos read by button press.
I have set AimType to ScannerConfig.AimType.CONTINUOUS_READ and TriggerType to Scanner.TriggerType.SOFT_ONCE. With the next scanner.read() the continuous reading starts. But how can I cancel the read? Calling scanner.cancelRead() seems to have no effect in continuous read mode.
How to cancel a continuous read |
1 Replies
The documentation for Continuous Read is here: ScannerConfig.AimType (app API) but only talks about not re-submitting the read. I suggest trying scanner disable which should forcibly cancel the current read, though you would need to call enable() after before submitting another read: Scanner (app API) . I suspect the continuous read feature was designed primarily for use with the hardware trigger.