Class BarcodeDocumentParserResult

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

public class BarcodeDocumentParserResult extends Object implements AutoCloseable
The result of barcode document parsing.
  • Constructor Details

    • BarcodeDocumentParserResult

      public BarcodeDocumentParserResult(boolean success, GenericDocument parsedDocument)
      Constructs BarcodeDocumentParserResult with the given params.
      Parameters:
      success - True if any document was parsed.
      parsedDocument - In case of success, the parsed document.
  • Method Details

    • getSuccess

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

      public GenericDocument getParsedDocument()
      Getter for parsedDocument field. See constructor documentation for more information about the field.
      Returns:
      parsedDocument
    • close

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