Class BarcodeScannerResult

java.lang.Object
io.scanbot.sdk.barcode.BarcodeScannerResult
All Implemented Interfaces:
AutoCloseable

public class BarcodeScannerResult extends Object implements AutoCloseable
The result of barcode scanning.
  • Constructor Details

    • BarcodeScannerResult

      public BarcodeScannerResult(List<BarcodeItem> barcodes, boolean success)
      Constructs BarcodeScannerResult with the given params.
      Parameters:
      barcodes - List of found barcodes.
      success - True if any barcodes were found.
  • Method Details

    • getBarcodes

      public List<BarcodeItem> getBarcodes()
      Getter for barcodes field. See constructor documentation for more information about the field.
      Returns:
      barcodes
    • getSuccess

      public boolean getSuccess()
      Getter for success field. See constructor documentation for more information about the field.
      Returns:
      success
    • close

      public void close()
      Closes native resources (images) held by the object.
      Specified by:
      close in interface AutoCloseable