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 BooleanmultiBarcodepublic BooleanparseAAMVApublic BooleanconsecutiveEqualResultspublic BooleandisableAdvancedBarcodepublic BooleanfastProcessModepublic List<BarcodeFormat>barcodeFormats
-
Constructor Summary
Constructors Constructor Description BarcodeConfig()
-
Method Summary
Modifier and Type Method Description BooleangetMultiBarcode()Setting this to 'true' will enable reading multiple barcodes per frame. voidsetMultiBarcode(Boolean multiBarcode)Setting this to 'true' will enable reading multiple barcodes per frame. BooleangetParseAAMVA()If this option is set, barcodes parsed according to the AAMVA standard. voidsetParseAAMVA(Boolean parseAAMVA)If this option is set, barcodes parsed according to the AAMVA standard. BooleangetConsecutiveEqualResults()[DEPRECATED] If this option is set, allows consecutive barcode results of the same barcode when scanning continuously. voidsetConsecutiveEqualResults(Boolean consecutiveEqualResults)[DEPRECATED] If this option is set, allows consecutive barcode results of the same barcode when scanning continuously. BooleangetDisableAdvancedBarcode()Sets whether or not to disable advanced barcode scanning even if the license supports it. voidsetDisableAdvancedBarcode(Boolean disableAdvancedBarcode)Sets whether or not to disable advanced barcode scanning even if the license supports it. BooleangetFastProcessMode()If this option is set, uses faster image processing for barcode scanning. voidsetFastProcessMode(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. voidsetBarcodeFormats(List<BarcodeFormat> barcodeFormats)Set this to filter which barcode formats should be scanned. StringtoString()inthashCode()booleanequals(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()
-
-
-
-