Modules.Barcode.BarcodeParseDict
Simple object passed to Modules.Barcode.parse to parse a Ti.Blob image for barcodes.
Properties #
acceptedFormats#
Type: Array<Number>
An optional array of int constants detailing which barcode formats are accepted. Defaults to all formats.
Check out the "Barcode Format Constants" section below to see the available int constants.
allowedEANExtensions#
Type: Array<Number>
An optional int[] that specifies allowed extension lengths for EAN or UPC barcodes.
https://zxing.github.io/zxing/apidocs/
allowedLengths#
Type: Array<Number>
An optional int[] that specifies allowed lengths of encoded data -- reject anything else.
https://zxing.github.io/zxing/apidocs/
assumeCode39CheckDigit#
Type: Boolean
An optional boolean which if true, will assume Code 39 codes employ a check digit.
https://zxing.github.io/zxing/apidocs/
Please note that this hint only applies to CODE_39 format barcodes.
assumeGS1#
Type: Boolean
An optional boolean to assume the barcode is being processed as a GS1 barcode, and modify behavior as needed.
https://zxing.github.io/zxing/apidocs/
Please note that this hint only applies to CODE_128 format barcodes.
characterSet#
Type: String
An optional string that specifies what character encoding to use when decoding, where applicable
https://zxing.github.io/zxing/apidocs/
pureBarcode#
Type: Boolean
An optional boolean to assume the image is a pure monochrome image of a barcode.
https://zxing.github.io/zxing/apidocs/
returnCodabarStartEnd#
Type: Boolean
An optional boolean which if true, will return the start and end digits in a Codabar barcode instead of stripping them.
https://zxing.github.io/zxing/apidocs/
Please note that this hint only applies to CODABAR format barcodes.
tryHarder#
Type: Boolean
An optional boolean to spend more time to try to find a barcode; optimize for accuracy, not speed.
https://zxing.github.io/zxing/apidocs/