Table of contents
Swift
Objective-C

DSLocalizedBarcodesUnit Class

The DSLocalizedBarcodesUnit class represents a unit that contains localized barcodes unit. It inherits from the DSIntermediateResultUnit class.

Definition

Assembly: DynamsoftBarcodeReader.xcframework

  • Objective-C
  • Swift
  1. @interface DSLocalizedBarcodesUnit: DSIntermediateResultUnit
    
  2. class LocalizedBarcodesUnit : DSIntermediateResultUnit
    

Methods & Attributes

Attributes Type Description
localizedBarcodes NSArray<DSLocalizedBarcodeElement> ** An array of DSLocalizedBarcodeElement. Each DSLocalizedBarcodeElement stores the information of a single localized barcode.

The following attributes are inherited from class DSIntermediateResultUnit.

Attributes Type Description
hashId NSString * The hash ID of the unit.
originalImageHashId NSString * The hash ID of the original image. You can use this ID to get the original image via DSIntermediateResultManager class.
originalImageTag DSImageTag * The image tag of the original image.
type DSIntermediateResultUnitType The type of the intermediate result unit.

The following methods are inherited from class DSIntermediateResultUnit.

Method Description
getTransformMatrix Gets the transformation matrix via DSTransformMatrixType.
clone Creates a copy of the intermediate result unit.

localizedBarcodes

An array of DSLocalizedBarcodeElement. Each DSLocalizedBarcodeElement stores the information of a single localized barcode.

  • Objective-C
  • Swift
  1. @property(nonatomic, nullable, copy) NSArray<DSLocalizedBarcodeElement*>* localizedBarcodes;
    
  2. var localizedBarcodes: [DSLocalizedBarcodeElement]? { get set }
    

Is this page helpful?

YesYes NoNo

In this article: