Dev Center
Swift
Objective-C
Table of contents

DecodedBarcodesResult Class

DecodedBarcodesResult represents a collection of BarcodeResultItems, the basic unit of a decoded barcode result. It provides access to information about the decoded barcodes of an image/frame, the source image/frame, and any errors that occurred during the barcode reading process.

Definition

Assembly: DynamsoftBarcodeReader.aar

Namespace: com.dynamsoft.dbr

class DecodedBarcodesResult

Methods

Method Description
getItems Returns an array of BarcodeResultItem, which is the basic unit of the captured results.
getRotationTransformMatrix Returns the rotation transformation matrix of the original image relative to the rotated image.
getOriginalImageHashId Returns the hash ID of the source image.
getOriginalImageTag Returns the ImageTag of the source image.
getErrorCode Returns the error code should something go wrong during the barcode recognition process.
getErrorMessage Returns the error message associated with the error code should something go wrong during the barcode recognition process.

getItems

Returns an array of BarcodeResultItem, which is the basic unit of the captured results.

BarcodeResultItem[] getItems();

Return Value

An array of BarcodeResultItems.

getRotationTransformMatrix

Returns the rotation transformation matrix of the original image relative to the rotated image.

Matrix getRotationTransformMatrix();

Return Value

A Matrix object representing the rotation transformation matrix

getOriginalImageHashId

Returns the hash ID of the original image. You can use this ID to get the original image via the IntermediateResultManager class.

String getOriginalImageHashId();

Return Value

The hash id of the source image.

getOriginalImageTag

Returns 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 ImageTag of the source image.

getErrorCode

Returns the error code should something go wrong during the barcode recognition process. For the full list of possible errors, please visit ErrorCode.

int getErrorCode();

Return Value

An integer representing a EnumErrorCode.

getErrorMessage

Returns the error message associated with the error code should something go wrong during the barcode recognition process. For the full list of possible errors, please visit ErrorCode.

String getErrorMessage();

Return Value

A string representing the message of a EnumErrorCode.

This page is compatible for:

Version 7.5.0

Is this page helpful?

YesYes NoNo

In this article:

latest version

    • Latest version
    • Version 10.x
      • Version 10.2.10
      • Version 10.0.21
      • Version 10.0.20
      • Version 10.2.10
      • Version 10.0.21
      • Version 10.0.20
    • Version 9.x
      • Version 9.6.40
      • Version 9.6.20
      • Version 9.6.11
      • Version 9.6.10
      • Version 9.6.0
      • Version 9.4.0
      • Version 9.2.11
      • Version 9.2.10
      • Version 9.0.2
      • Version 9.0.1
      • Version 9.0.0
      • Version 9.6.40
      • Version 9.6.20
      • Version 9.6.10
      • Version 9.6.0
      • Version 9.4.0
      • Version 9.2.13
      • Version 9.2.10
      • Version 9.0.2
      • Version 9.0.1
      • Version 9.0.0
    • Version 8.x
      • Version 8.9.3
      • Version 8.9.1
      • Version 8.9.0
      • Version 8.8.0
      • Version 8.6.0
      • Version 8.4.0
      • Version 8.2.1
      • Version 8.2.0
      • Version 8.1.2
      • Version 8.1.0
      • Version 8.0.0
      • Version 8.9.3
      • Version 8.9.1
      • Version 8.9.0
      • Version 8.8.0
      • Version 8.6.0
      • Version 8.4.0
      • Version 8.2.1
      • Version 8.2.0
      • Version 8.1.2
      • Version 8.1.0
      • Version 8.0.0
    • Version 7.x
      • Version 7.6.0
      • Version 7.5.0
      • Version 7.6.0
      • Version 7.5.0
    Change +