layout | title | description | keywords | needAutoGenerateSidebar | needGenerateH3Content | noTitleIndex | permalink |
---|---|---|---|---|---|---|---|
default-layout |
TextResult Class - Dynamsoft Barcode Reader Android API Reference |
This page shows the TextResult Class of Dynamsoft Barcode Reader for Android SDK. |
TextResult, class, api reference, android |
true |
true |
true |
/programming/android/api-reference/auxiliary-TextResult-v9.2.10.html |
Stores the text result.
class com.dynamsoft.dbr.TextResult;
Attribute | Type | Descriptions |
---|---|---|
barcodeFormat |
int | Barcode type in BarcodeFormat group 1. |
barcodeFormatString |
String | Barcode type in BarcodeFormat group 1 as string. |
barcodeFormat_2 |
int | Barcode type in BarcodeFormat group 2. |
barcodeFormatString_2 |
String | Barcode type in BarcodeFormat group 2 as string. |
barcodeText |
String | The barcode text, ends by '\0'. |
barcodeBytes |
byte[] | The barcode content in a byte array. |
localizationResult |
LocalizationResult * |
The corresponding localization result. |
detailedResult |
Object | One of the following: QRCodeDetails , PDF417Details , DataMatrixDetails , AztecDetails , OneDCodeDetails . |
results |
ExtendedResult [] |
The extended result array. |
exception |
String | The exception message. |
isMirrored |
int | This attribute stands for whether the barcode is mirrored. |
isDPM |
int | This attribute stands for whether the barcode is recognized by DPM mode. |
Barcode type in BarcodeFormat group 1.
int barcodeFormat
Value Range
One of the [EnumBarcodeFormat
]({{ site.mobile_enum }}barcode-format.html?lang=android) Enumeration value.
See Also
[EnumBarcodeFormat
]({{ site.mobile_enum }}barcode-format.html?lang=android), [EnumBarcodeFormat_2
]({{ site.mobile_enum }}barcode-format2.html?lang=android)
Barcode type in BarcodeFormat group 1 as string.
String barcodeFormatString
Value Range
One of the barcode type in [EnumBarcodeFormat
]({{ site.mobile_enum }}barcode-format.html?lang=android).
See Also
[EnumBarcodeFormat
]({{ site.mobile_enum }}barcode-format.html?lang=android), [EnumBarcodeFormat_2
]({{ site.mobile_enum }}barcode-format2.html?lang=android)
Barcode type in BarcodeFormat group 2.
int barcodeFormat_2
Value Range
One of the [EnumBarcodeFormat_2
]({{ site.mobile_enum }}barcode-format2.html?lang=android) Enumeration items
See Also
[EnumBarcodeFormat
]({{ site.mobile_enum }}barcode-format.html?lang=android), [EnumBarcodeFormat_2
]({{ site.mobile_enum }}barcode-format2.html?lang=android)
Barcode type in BarcodeFormat group 2 as string.
String barcodeFormatString_2
Value Range
One of the barcode type in [EnumBarcodeFormat_2
]({{ site.mobile_enum }}barcode-format2.html?lang=android).
See Also
[EnumBarcodeFormat
]({{ site.mobile_enum }}barcode-format.html?lang=android), [EnumBarcodeFormat_2
]({{ site.mobile_enum }}barcode-format2.html?lang=android)
The text barcode decoding result. Ends by '\0'.
String barcodeText
The barcode content in a byte array.
byte[] barcodeBytes
The corresponding localization result.
LocalizationResult localizationResult
One of the following: QRCodeDetails
, PDF417Details
, DataMatrixDetails
, AztecDetails
, OneDCodeDetails
.
Object detailedResult
The extended result array.
ExtendedResult[] results
The exception message.
String exception
This attribute stands for whether the barcode is mirrored.
int isMirrored
This attribute stands for whether the barcode is recognized by DPM mode.
int isMirrored