code: public void handleDecode(Result rawResult, Bitmap barcode, float scaleFactor) {
      boolean fromLiveScan = barcode != null;
      if (fromLiveScan) {
        // Then not from history, so we have an image to draw on
        drawResultPoints(barcode, scaleFactor, rawResult);
      }
  
      handleDecodeExternally(rawResult, barcode);
    }
docs: A valid barcode has been found, so give an indication of success and show the results.
  
  @param rawResult The contents of the barcode.
  @param scaleFactor amount by which thumbnail was scaled
  @param barcode   A greyscale bitmap of the camera data which was decoded.