Closed GeorgeArgyrakis closed 7 years ago
The easiest way to add the ViewFinder
and enforce that behavior for SINGLE_AUTO
mode without altering the library or it's default behavior would be: to extend the BarcodeCaptureFragment
and then override onCreateView
to add the ViewFinder
to view and override onBarcodeDetected
and onTap
for checking.
Tweak SINGLE_AUTO to actually scan (return a barcode) only when center point of screen resides inside barcode's bounding box.