Closed rajubd49 closed 4 years ago
Hello! Thank you for your contribution.
This was designed to scan exactly one thing. If we're to change it, I'd at least like an enum of once
and oncePerCode
, and continuous
, with the default being once
. This would mean:
once
scans exactly one code and closes.oncePerCode
scans a code, adds it to a Set
of all detected codes, but carries on scanning. It won't trigger the delegate if a code that was already found exists in its set of detected codes.continuous
will continue finding all codes constantly, even ones that have been found already.Nice, I did not think this way. It would be helpful if you could update the repo with this feature.
Restarting scanner #9 fix