Class iTextResult
Stores the text result data.
- Objective-C
- Swift
@interface iTextResult : NSObjectclass iTextResult : NSObject
| Attribute | Description |
|---|---|
barcodeFormat |
Barcode type in BarcodeFormat group 1. |
barcodeFormat_2 |
Barcode type in BarcodeFormat group 2. |
barcodeFormatString |
Barcode type as string. |
barcodeText |
The barcode text, ends by ‘\0’. |
barcodeBytes |
The barcode content in a byte array. |
localizationResult |
The corresponding localization result. |
detailedResult |
One of the following: iQRCodeDetails, iPDF417Details, iDataMatrixDetails, iAztecDetails, iOneDCodeDetails. |
extendedResults |
The extended result array. |
exception |
The exception message. |
isDPM |
This attribute stands for whether the result is a DPM result. |
isMirrored |
This attribute stands for whether the barcode is mirrored. |
barcodeFormat
Barcode type in BarcodeFormat group 1.
- Objective-C
- Swift
@property (nonatomic, assign) EnumBarcodeFormat barcodeFormat;var barcodeFormat: EnumBarcodeFormat { get set }
barcodeFormat_2
Barcode type in BarcodeFormat group 2.
- Objective-C
- Swift
@property (nonatomic, assign) EnumBarcodeFormat2 barcodeFormat_2;var barcodeFormat_2: EnumBarcodeFormat2 { get set }
barcodeFormatString
Barcode type as string.
- Objective-C
- Swift
@property (nonatomic, nullable) NSString* barcodeFormatString;var barcodeFormatString: String? { get set }
barcodeText
The barcode text, ends by ‘\0’.
- Objective-C
- Swift
@property (nonatomic, nullable) NSString* barcodeText;var barcodeText: String? { get set }
barcodeBytes
The barcode content in a byte array.
- Objective-C
- Swift
@property (nonatomic, nullable) NSData* barcodeBytes;var barcodeBytes: Data? { get set }
localizationResult
The corresponding localization result.
- Objective-C
- Swift
@property (nonatomic, nullable) iLocalizationResult* localizationResult;var localizationResult: iLocalizationResult? { get set }
detailedResult
One of the following: iQRCodeDetails, iPDF417Details, iDataMatrixDetails, iAztecDetails, iOneDCodeDetails.
- Objective-C
- Swift
@property (nonatomic, nullable) NSObject* detailedResult;var detailedResult: NSObject? { get set }
extendedResults
The extended result array.
- Objective-C
- Swift
@property (nonatomic, nullable) NSArray<iExtendedResult*>* extendedResults;var extendedResults: [iExtendedResult]? { get set }
exception
The exception message.
- Objective-C
- Swift
@property (nonatomic, nullable) NSString* exception;var exception: String? { get set }
isDPM
This attribute stands for whether the result is a DPM result.
- Objective-C
- Swift
@property (nonatomic, assign) NSInteger isDPM;var isDPM: Int { get set }
isMirrored
This attribute stands for whether the barcode is mirrored.
- Objective-C
- Swift
@property (nonatomic, assign) NSInteger isMirrored;var isMirrored: Int { get set }