DecodedBarcodesResult Class
The DecodedBarcodesResult
class represents the result of a barcode reading process. It provides access to information about the decoded barcodes, the source image, and any errors that occurred during the barcode reading process.
Definition
Assembly: DynamsoftBarcodeReader.aar
Namespace: com.dynamsoft.dbr
class DecodedBarcodesResult
Methods
Method | Description |
---|---|
getItems |
Get an array of BarcodeResultItems , which are the basic unit of the captured results. |
getRotationTransformMatrix |
Get the rotation transformation matrix of the original image relative to the rotated image. |
getOriginalImageHashId |
Get the hash id of the source image. You can use this ID to get the source image via IntermediateResultManager class. |
getOriginalImageTag |
Get the tag of the source image. |
getErrorCode |
Get the error code if an error occurs when processing the image. |
getErrorMessage |
Get the error message if an error occurs when processing the image. |
getItems
Get an array of BarcodeResultItem
, which is the basic unit of the captured results.
BarcodeResultItem[] getItems();
Return Value
An array of BarcodeResultItems
.
getRotationTransformMatrix
Get the rotation transformation matrix of the original image relative to the rotated image.
CGAffineTransform getRotationTransformMatrix();
Return Value
The rotation transformation matrix
getOriginalImageHashId
Get the hash id of the source image. You can use this ID to get the source image via the IntermediateResultManager
class.
String getOriginalImageHashId();
Return Value
The hash id of the source image.
getOriginalImageTag
Get the ImageTag
of the source image. The image tag contains info about the image such as the image ID and the image capture distance mode.
ImageTag getOriginalImageTag();
Return Value
The tag of the source image.
getErrorCode
Get the error code of this result should something go wrong. A DecodedBarcodesResult
will carry error information when the license module is missing or the process times out.
int getErrorCode();
getErrorMessage
Get the error message of this result should something go wrong. A DecodedBarcodesResult
will carry error information when the license module is missing or the process times out.
String getErrorMessage();