Package io.scanbot.sdk.barcode
Class BarcodeScannerResult
java.lang.Object
io.scanbot.sdk.barcode.BarcodeScannerResult
- All Implemented Interfaces:
AutoCloseable
The result of barcode scanning.
-
Constructor Summary
ConstructorsConstructorDescriptionBarcodeScannerResult(List<BarcodeItem> barcodes, boolean success) Constructs BarcodeScannerResult with the given params. -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Closes native resources (images) held by the object.Getter for barcodes field.booleanGetter for success field.
-
Constructor Details
-
BarcodeScannerResult
Constructs BarcodeScannerResult with the given params.- Parameters:
barcodes- List of found barcodes.success- True if any barcodes were found.
-
-
Method Details
-
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:
closein interfaceAutoCloseable
-