title: How to stop BarcodeDetector
body: <p>How do I stop the barcode Scanner after scan?</p>
  
  <p><strong>barcodeDetector</strong></p>
  
  <pre><code>    barcodeDetector = new BarcodeDetector.Builder(this)
              .setBarcodeFormats(Barcode.QR_CODE)
              .build();
          }
  </code></pre>