package com.journeyapps.barcodescanner;

import com.google.zxing.ResultPoint;

import java.util.List;

/**
 * Callback that is notified when a barcode is scanned.
 */
public interface BarcodeCallback {
    /**
     * Barcode was successfully scanned.
     *
     * @param result the result
     */
    void barcodeResult(BarcodeResult result);

    /**
     * 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.
     *
     * @param resultPoints points potentially identifying a barcode
     */
    void possibleResultPoints(List<ResultPoint> resultPoints);
}

@@ -620,32 +620,117 @@
 e cycle.%0A     *%0A
+     * This is a default method and can be omitted by the implementing class.%0A     *%0A
      * @param re
@@ -789,24 +789,32 @@
      */%0A    
+default 
 void possibl
@@ -858,12 +858,19 @@
 tPoints)
-;
+ %7B%0A    %7D
 %0A%7D%0A

Use default annotation for optional interface method