sdt.brc.android
Interface OnRecognitionListener
public interface OnRecognitionListener
Interface for receiving events about new recognized barcodes.
onRecognitionResults
void onRecognitionResults(List<BarcodeReaderResult> results,
YuvImage srcImage)
- This method will be invoked when recognition completes and one
or several barcodes has been recognized.
- Parameters:
results
- The collection of Recognition results.srcImage
- The image on which the barcode has been detected. The barcode boundary values
BarcodeReaderResult.left
, BarcodeReaderResult.top
, BarcodeReaderResult.right
and BarcodeReaderResult.bottom
are relative to the left top corner of this image.