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 React Native
Classes | |
enum | CompositeFlag |
enum | Symbology |
Public Attributes | |
String | data |
int[] | rawData |
Symbology | symbology |
CompositeFlag | compositeFlag |
boolean | isRecognized |
Quadrilateral | location |
Quadrilateral | predictedLocation |
Quadrilateral | convertedPredictedLocation |
Quadrilateral | convertedLocation |
boolean | shouldAnimateFromPreviousToNextState |
boolean | deltaTimeForPrediction |
Detailed Description
Represents a recognized/localized barcode/2D code.
The Barcode class represents a barcode, or 2D code that has been localized or recognized by the barcode recognition engine.
Class Documentation
enum Scandit::Barcode::CompositeFlag |
Composite flags for barcodes/2D codes.
enum Scandit::Barcode::Symbology |
An enumeration of all supported barcode symbologies.
Member Data Documentation
String data |
The data contained in the barcode/2D code, for example the 13 digit number of an EAN13 code.
For some types of barcodes/2D codes (for example DATAMATRIX, AZTEC, PDF417), the data string may contain non-printable characters and nul-bytes in the middle of the string. Use rawData if your application scans these types of codes and you are expecting binary/non-printable data.
int [] rawData |
The data contained in the barcode/2D code, for example the 13 digit number of an EAN13 code.
The data is stored as an array of integers, where each item in the array corresponds to the char code. Use this property instead of data if your application expects to scan codes containing binary data that can not be represented as UTF-8 strings.
Symbology symbology |
the symbology of a recognized barcode.
CompositeFlag compositeFlag |
The composite flag of the barcode.
For codes that have been localized but not recognized, CompositeFlag.UNKNOWN is returned.
boolean isRecognized |
Specifies if the barcode has been recognized or not.
Quadrilateral location |
The location of the barcode in the frame.
Quadrilateral predictedLocation |
The predicted location of the barcode in the frame.
(Only available for tracked codes if MatrixScan is enabled.)
Quadrilateral convertedPredictedLocation |
The converted predicted location of the barcode in the coordinate system of the picker.
(Only available for tracked codes if MatrixScan is enabled.)
Quadrilateral convertedLocation |
The converted location of the barcode in the coordinate system of the picker.
(Only available for tracked codes if MatrixScan is enabled.)
boolean shouldAnimateFromPreviousToNextState |
If the barcode should animate to the next state, used for visualizing tracked codes.
(Only available for tracked codes if MatrixScan is enabled.)
boolean deltaTimeForPrediction |
The predicted time until the predicted location, used for visualizing tracked codes.
(Only available for tracked codes if MatrixScan is enabled.)