DSExtendedBarcodeResult
DSExtendedBarcodeResult
extends the DSDecodedBarcodeElement
class and represents extended information about a barcode result.
Definition
Assembly: DynamsoftBarcodeReader.xcframework
- Objective-C
- Swift
@interface DSExtendedBarcodeResult: DSDecodedBarcodeElement
class ExtendedBarcodeResult: DecodedBarcodeElement
Methods
Methods | Description |
---|---|
getExtendedBarcodeResultType |
Returns the type of the extended barcode result. |
getDeformation |
Returns the deformation level of the barcode zone. |
getClarity |
Returns the clarity score of the barcode zone. |
getSamplingImage |
Returns the sampling image of the barcode zone. |
The following methods are inherited from class DecodedBarcodeElement
.
Methods | Description |
---|---|
init |
Initialize a new DSDecodedBarcodeElement object. |
getText |
Returns the text of the decoded barcode. |
setText |
Set the text of the decoded barcode. |
getBytes |
Returns the raw bytes of the decoded barcode. |
setBytes |
Set the raw bytes of the decoded barcode. |
getFormat |
Returns the format of the decoded barcode. |
setFormat |
Set the format of the decoded barcode. |
getConfidence |
Returns the confidence score of the decoded barcode. |
setConfidence |
Set the confidence of the decoded barcode. |
getFormatString |
Returns the format string of the decoded barcode. |
getAngle |
Returns the orientation angle of the decoded barcode. |
getModuleSize |
Returns the module size of the decoded barcode. |
getDetails |
Returns the DSBarcodeDetails of the decoded barcode. |
getExtendedBarcodeResults |
Returns the extended barcode results of the decoded barcode. |
isDPM |
Specifies if the decoded barcode is a DPM code or not. |
isMirrored |
Specifies if the decoded barcode is mirrored or not. |
The following attributes are inherited from class DSRegionObjectElement
.
Method | Description |
---|---|
getLocation |
Gets the location of the region object, represented as a quadrilateral. |
setLocation |
Sets the location of the region object. |
getReferencedElement |
Gets the referenced element that supports the capturing of this element. |
getRegionObjectElementType |
Gets the type of the region object element, defined by the enumeration DSRegionObjectElementType . |
getExtendedBarcodeResultType
Returns the type of the extended barcode result as a DSExtendedBarcodeResultType
enumeration item.
- Objective-C
- Swift
@property(nonatomic, assign, readonly) DSExtendedBarcodeResultType extendedBarcodeResultType;
var extendedBarcodeResultType: ExtendedBarcodeResultType { get }
Return Value
A DSExtendedBarcodeResultType
item representing the extended barcode result type.
getDeformation
Returns the degree of deformation or distortion of the decoded barcode.
- Objective-C
- Swift
@property(nonatomic, assign, readonly) NSInteger deformation;
var deformation: Int { get }
Return Value
An integer representing the deformation level of the barcode zone.
getClarity
Returns the clarity/quality level of the decoded barcode.
- Objective-C
- Swift
@property(nonatomic, assign, readonly) NSInteger clarity;
var clarity: Int { get }
Return Value
An integer representing the clarity/quality level of the barcode zone.
getSamplingImage
Returns the sampling image of the decoded barcode as a DSImageData
object.
- Objective-C
- Swift
@property(nonatomic, nullable, readonly) DSImageData *samplingImage;
var samplingImage: ImageData? { get }
Return Value
A DSImageData
object representing the sampling image of the barcode zone.