Class BarcodeRecognizerConfiguration

    • Method Detail

      • getBarcodesRegexFilter

         final String getBarcodesRegexFilter()

        Regular expression filter for barcode text. If the barcode text does not match the regular expression, it will not be scanned. The default is an empty string (setting is turned off). This option overrides barcodesExtensionFilter option. Default is ""

      • setBarcodesRegexFilter

         final Unit setBarcodesRegexFilter(String barcodesRegexFilter)

        Regular expression filter for barcode text. If the barcode text does not match the regular expression, it will not be scanned. The default is an empty string (setting is turned off). This option overrides barcodesExtensionFilter option. Default is ""

      • getMinimumTextLength

         final Integer getMinimumTextLength()

        Optional minimum required text length of the detected barcode. The default is 0 (setting is turned off). NOTE - This feature works on ITF barcodes only. Default is 0

      • setMinimumTextLength

         final Unit setMinimumTextLength(Integer minimumTextLength)

        Optional minimum required text length of the detected barcode. The default is 0 (setting is turned off). NOTE - This feature works on ITF barcodes only. Default is 0

      • getMaximumTextLength

         final Integer getMaximumTextLength()

        Optional maximum text length of the detected barcode. The default is 0 (setting is turned off). NOTE - This feature works on ITF barcodes only. Default is 0

      • setMaximumTextLength

         final Unit setMaximumTextLength(Integer maximumTextLength)

        Optional maximum text length of the detected barcode. The default is 0 (setting is turned off). NOTE - This feature works on ITF barcodes only. Default is 0

      • getMinimum1DBarcodesQuietZone

         final Integer getMinimum1DBarcodesQuietZone()

        Optional minimum required quiet zone on the barcode. Measured in modules (the smallest bar size on a barcode). The default is 10. NOTE - This feature works on ITF barcodes only. Default is 10

      • setMinimum1DBarcodesQuietZone

         final Unit setMinimum1DBarcodesQuietZone(Integer minimum1DBarcodesQuietZone)

        Optional minimum required quiet zone on the barcode. Measured in modules (the smallest bar size on a barcode). The default is 10. NOTE - This feature works on ITF barcodes only. Default is 10

      • getStripCheckDigits

         final Boolean getStripCheckDigits()

        If true, check digits for UPC, EAN and MSI Plessey codes are removed from the result. Has no effect if both single and double digit MSI Plessey checksums are enabled. The default is false. Default is false

      • setStripCheckDigits

         final Unit setStripCheckDigits(Boolean stripCheckDigits)

        If true, check digits for UPC, EAN and MSI Plessey codes are removed from the result. Has no effect if both single and double digit MSI Plessey checksums are enabled. The default is false. Default is false

      • getLowPowerMode

         final Boolean getLowPowerMode()

        If true, enables a mode that slightly decreases scanning quality and energy consumption. Increases scanning speed. If false, the mode is disabled. The default is false. Android only. Default is false

      • setLowPowerMode

         final Unit setLowPowerMode(Boolean lowPowerMode)

        If true, enables a mode that slightly decreases scanning quality and energy consumption. Increases scanning speed. If false, the mode is disabled. The default is false. Android only. Default is false