Interface BarcodeCallback


  • public interface BarcodeCallback
    Callback that is notified when a barcode is scanned.
    • 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