Class OdometerConfig

  • All Implemented Interfaces:

    
    public class OdometerConfig
    
                        

    Configuration for scanning odometers

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
      OdometerConfig()
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      Integer getMinConfidence() Sets a minimum confidence which has to be reached in order to trigger a scan result.The value has to be between 0 and 100.
      void setMinConfidence(Integer minConfidence) Sets a minimum confidence which has to be reached in order to trigger a scan result.The value has to be between 0 and 100.
      String getValidationRegex() Sets a regular expression which the scanned text needs to match in order to trigger a scan result.
      void setValidationRegex(String validationRegex) Sets a regular expression which the scanned text needs to match in order to trigger a scan result.
      String toString()
      int hashCode()
      boolean equals(Object other)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • OdometerConfig

        OdometerConfig()
    • Method Detail

      • getMinConfidence

         Integer getMinConfidence()

        Sets a minimum confidence which has to be reached in order to trigger a scan result.The value has to be between 0 and 100. Defaults to 60.

      • setMinConfidence

         void setMinConfidence(Integer minConfidence)

        Sets a minimum confidence which has to be reached in order to trigger a scan result.The value has to be between 0 and 100. Defaults to 60.

      • getValidationRegex

         String getValidationRegex()

        Sets a regular expression which the scanned text needs to match in order to trigger a scan result.

      • setValidationRegex

         void setValidationRegex(String validationRegex)

        Sets a regular expression which the scanned text needs to match in order to trigger a scan result.