Class BarcodeConfig
-
- All Implemented Interfaces:
-
java.io.Serializable
public class BarcodeConfig implements Serializable
Configuration for scanning barcodes
-
-
Field Summary
Fields Modifier and Type Field Description public Boolean
multiBarcode
public Boolean
parseAAMVA
public Boolean
consecutiveEqualResults
public Boolean
disableAdvancedBarcode
public Boolean
fastProcessMode
public List<BarcodeFormat>
barcodeFormats
-
Constructor Summary
Constructors Constructor Description BarcodeConfig()
-
Method Summary
Modifier and Type Method Description Boolean
getMultiBarcode()
Setting this to 'true' will enable reading multiple barcodes per frame. void
setMultiBarcode(Boolean multiBarcode)
Setting this to 'true' will enable reading multiple barcodes per frame. Boolean
getParseAAMVA()
If this option is set, barcodes parsed according to the AAMVA standard. void
setParseAAMVA(Boolean parseAAMVA)
If this option is set, barcodes parsed according to the AAMVA standard. Boolean
getConsecutiveEqualResults()
[DEPRECATED] If this option is set, allows consecutive barcode results of the same barcode when scanning continuously. void
setConsecutiveEqualResults(Boolean consecutiveEqualResults)
[DEPRECATED] If this option is set, allows consecutive barcode results of the same barcode when scanning continuously. Boolean
getDisableAdvancedBarcode()
Sets whether or not to disable advanced barcode scanning even if the license supports it. void
setDisableAdvancedBarcode(Boolean disableAdvancedBarcode)
Sets whether or not to disable advanced barcode scanning even if the license supports it. Boolean
getFastProcessMode()
If this option is set, uses faster image processing for barcode scanning. void
setFastProcessMode(Boolean fastProcessMode)
If this option is set, uses faster image processing for barcode scanning. List<BarcodeFormat>
getBarcodeFormats()
Set this to filter which barcode formats should be scanned. void
setBarcodeFormats(List<BarcodeFormat> barcodeFormats)
Set this to filter which barcode formats should be scanned. String
toString()
int
hashCode()
boolean
equals(Object other)
-
-
Method Detail
-
getMultiBarcode
Boolean getMultiBarcode()
Setting this to 'true' will enable reading multiple barcodes per frame.
-
setMultiBarcode
void setMultiBarcode(Boolean multiBarcode)
Setting this to 'true' will enable reading multiple barcodes per frame.
-
getParseAAMVA
Boolean getParseAAMVA()
If this option is set, barcodes parsed according to the AAMVA standard. This only works for PDF417 codes on driving licenses.
-
setParseAAMVA
void setParseAAMVA(Boolean parseAAMVA)
If this option is set, barcodes parsed according to the AAMVA standard. This only works for PDF417 codes on driving licenses.
-
getConsecutiveEqualResults
Boolean getConsecutiveEqualResults()
[DEPRECATED] If this option is set, allows consecutive barcode results of the same barcode when scanning continuously.
-
setConsecutiveEqualResults
void setConsecutiveEqualResults(Boolean consecutiveEqualResults)
[DEPRECATED] If this option is set, allows consecutive barcode results of the same barcode when scanning continuously.
-
getDisableAdvancedBarcode
Boolean getDisableAdvancedBarcode()
Sets whether or not to disable advanced barcode scanning even if the license supports it.
-
setDisableAdvancedBarcode
void setDisableAdvancedBarcode(Boolean disableAdvancedBarcode)
Sets whether or not to disable advanced barcode scanning even if the license supports it.
-
getFastProcessMode
Boolean getFastProcessMode()
If this option is set, uses faster image processing for barcode scanning. Note: fastProcessMode is not available during composite scanning.
-
setFastProcessMode
void setFastProcessMode(Boolean fastProcessMode)
If this option is set, uses faster image processing for barcode scanning. Note: fastProcessMode is not available during composite scanning.
-
getBarcodeFormats
List<BarcodeFormat> getBarcodeFormats()
Set this to filter which barcode formats should be scanned. Setting 'ALL' will enable scanning all supported formats. (Required)
-
setBarcodeFormats
void setBarcodeFormats(List<BarcodeFormat> barcodeFormats)
Set this to filter which barcode formats should be scanned. Setting 'ALL' will enable scanning all supported formats. (Required)
-
hashCode
int hashCode()
-
-
-
-