Package io.scanbot.barcodescanner.model
Class BarcodeItem
-
- All Implemented Interfaces:
public final class BarcodeItem
Decoded bar code information.
-
-
Field Summary
Fields Modifier and Type Field Description private final BarcodeType
type
private final Map<BarcodeMetadataKey, String>
metadata
private final String
rawString
private final GenericDocument
parsedDocument
private final ByteArray
rawBytes
private final Bitmap
image
private final List<Point>
pointsList
-
Method Summary
Modifier and Type Method Description final BarcodeType
getType()
Barcode type. final Map<BarcodeMetadataKey, String>
getMetadata()
Additional metadata of the barcode. final String
getRawString()
Raw recognized string. final GenericDocument
getParsedDocument()
Parsed known document format. final ByteArray
getRawBytes()
Barcode data representation as a byte array. final Bitmap
getImage()
Detected barcode image. final List<Point>
getPointsList()
Polygon's points. -
-
Method Detail
-
getType
final BarcodeType getType()
Barcode type.
-
getMetadata
final Map<BarcodeMetadataKey, String> getMetadata()
Additional metadata of the barcode.
-
getRawString
final String getRawString()
Raw recognized string.
-
getParsedDocument
final GenericDocument getParsedDocument()
Parsed known document format.
-
getRawBytes
final ByteArray getRawBytes()
Barcode data representation as a byte array.
-
getPointsList
final List<Point> getPointsList()
Polygon's points.
-
-
-
-