Deprecation warning
Please note that this is outdated documentation for an older release of the Scandit Barcode Scanner SDK.
We are deprecating the 5.x API on all platforms (except Linux). Release 5.19 in April 2021 will be our final. Applications running 5.x will continue to work, and we will continue to release critical bug fixes and security patches only, for one year. We encourage you to migrate to 6.x and take advantage of our latest / advanced features and improved performance.
You'll find the updated documentation at: Data Capture SDK Documentation for Android
ScanditSDKCode Interface Reference
Public Member Functions | |
String | getSymbologyString () |
String | getData () |
byte[] | getRawByteData () |
Detailed Description
Interface implemented by barcode objects.
Member Function Documentation
String getSymbologyString | ( | ) |
- Returns
- The symbology string of the barcode. Returns one of the following strings: "EAN8", "EAN13", "UPC12", "UPCE", "CODE11", "CODE128", "GS1-128", "CODE25", "CODE39", "CODE93", "ITF", "MSI", "QR", "GS1-QR", "DATAMATRIX" "GS1-DATAMATRIX", "MSI", "PDF417", "MICROPDF417", "GS1-DATABAR", "GS1-DATABAR-EXPANDED", "GS1-DATABAR-LIMITED", "CODABAR", "AZTEC" "MAXICODE", "TWO-DIGIT-ADD-ON", "FIVE-DIGIT-ADD-ON" or "UNKNOWN".
String getData | ( | ) |
- Returns
- Returns the data contained in the barcode, e.g. the 13 digit number of a EAN13 code. For some types of barcodes (DATAMATRIX, AZTEC, PDF417), the data string may contain non-printable characters and may need to be filtered prior to displaying it in text form.
byte [] getRawByteData | ( | ) |
- Returns
- The raw byte data contained in the barcode. Use this method in case you are encoding binary data in barcodes that can not be interpreted as UTF-8 strings.
The documentation for this interface was generated from the following file:
- ScanditSDKCode.java