Package io.scanbot.sdk.barcode
Class BarcodeDocumentParserResult
java.lang.Object
io.scanbot.sdk.barcode.BarcodeDocumentParserResult
- All Implemented Interfaces:
AutoCloseable
The result of barcode document parsing.
-
Constructor Summary
ConstructorsConstructorDescriptionBarcodeDocumentParserResult(boolean success, GenericDocument parsedDocument) Constructs BarcodeDocumentParserResult with the given params. -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Closes native resources (images) held by the object.Getter for parsedDocument field.booleanGetter for success field.
-
Constructor Details
-
BarcodeDocumentParserResult
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
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:
closein interfaceAutoCloseable
-