Class LicensePlateConfig
-
- All Implemented Interfaces:
public class LicensePlateConfig
Configuration for scanning license plates
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enum
LicensePlateConfig.ScanMode
Specifies a country or location of which license plates shall be scanned.
-
Field Summary
Fields Modifier and Type Field Description public LicensePlateConfig.ScanMode
scanMode
public Integer
minConfidence
public String
validationRegex
-
Constructor Summary
Constructors Constructor Description LicensePlateConfig()
-
Method Summary
Modifier and Type Method Description LicensePlateConfig.ScanMode
getScanMode()
Specifies a country or location of which license plates shall be scanned. void
setScanMode(LicensePlateConfig.ScanMode scanMode)
Specifies a country or location of which license plates shall be scanned. Integer
getMinConfidence()
Sets a minimum confidence which has to be reached in order to trigger a scan result. void
setMinConfidence(Integer minConfidence)
Sets a minimum confidence which has to be reached in order to trigger a scan result. String
getValidationRegex()
Sets a regular expression per country. void
setValidationRegex(String validationRegex)
Sets a regular expression per country. String
toString()
int
hashCode()
boolean
equals(Object other)
-
-
Method Detail
-
getScanMode
LicensePlateConfig.ScanMode getScanMode()
Specifies a country or location of which license plates shall be scanned.
-
setScanMode
void setScanMode(LicensePlateConfig.ScanMode scanMode)
Specifies a country or location of which license plates shall be scanned.
-
getMinConfidence
Integer getMinConfidence()
Sets a minimum confidence which has to be reached in order to trigger a scan result.
-
setMinConfidence
void setMinConfidence(Integer minConfidence)
Sets a minimum confidence which has to be reached in order to trigger a scan result.
-
getValidationRegex
String getValidationRegex()
Sets a regular expression per country. Expected format: "'country_code':^regex$, 'other_country_code':^other_regex$". The country code needs to be provided in the international vehicle registration code format that is visible on the license plate (for example 'A' for Austria). Note: not available for the scanModes unitedstates and africa.
-
setValidationRegex
void setValidationRegex(String validationRegex)
Sets a regular expression per country. Expected format: "'country_code':^regex$, 'other_country_code':^other_regex$". The country code needs to be provided in the international vehicle registration code format that is visible on the license plate (for example 'A' for Austria). Note: not available for the scanModes unitedstates and africa.
-
hashCode
int hashCode()
-
-
-
-