Class BarcodeConfig
-
- All Implemented Interfaces:
public class BarcodeConfigConfiguration for scanning barcodes
-
-
Field Summary
Fields Modifier and Type Field Description public BooleanmultiBarcodepublic BooleanparseAAMVApublic BooleanconsecutiveEqualResultspublic BooleandisableAdvancedBarcodepublic 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()If this option is set, allows consecutive barcode results of the same barcode when scanning continuously. voidsetConsecutiveEqualResults(Boolean consecutiveEqualResults)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. 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()
If this option is set, allows consecutive barcode results of the same barcode when scanning continuously.
-
setConsecutiveEqualResults
void setConsecutiveEqualResults(Boolean consecutiveEqualResults)
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.
-
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()
-
-
-
-