Package com.journeyapps.barcodescanner
Interface BarcodeCallback
-
public interface BarcodeCallbackCallback that is notified when a barcode is scanned.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description voidbarcodeResult(BarcodeResult result)Barcode was successfully scanned.default voidpossibleResultPoints(List<com.google.zxing.ResultPoint> resultPoints)ResultPoints are detected.
-
-
-
Method Detail
-
barcodeResult
void barcodeResult(BarcodeResult result)
Barcode was successfully scanned.- Parameters:
result- the result
-
possibleResultPoints
default void possibleResultPoints(List<com.google.zxing.ResultPoint> resultPoints)
ResultPoints are detected. This may be called whether or not the scanning was successful. This is mainly useful to give some feedback to the user while scanning. Do not depend on this being called at any specific point in the decode cycle. This is a default method and can be omitted by the implementing class.- Parameters:
resultPoints- points potentially identifying a barcode
-
-