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.
public enum
LicensePlateConfig.VehicleInspectionSticker
Select if the visual inspection sticker should be scanned. If OPTIONAL, the visual inspection sticker will only be returned if found successfully. If MANDATORY the scan will only return if found successfully. Not available on africa and unitedstates.
-
Field Summary
Fields Modifier and Type Field Description public LicensePlateConfig.ScanMode
scanMode
public Integer
minConfidence
public String
validationRegex
public LicensePlateConfig.VehicleInspectionSticker
vehicleInspectionSticker
-
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. LicensePlateConfig.VehicleInspectionSticker
getVehicleInspectionSticker()
Select if the visual inspection sticker should be scanned. void
setVehicleInspectionSticker(LicensePlateConfig.VehicleInspectionSticker vehicleInspectionSticker)
Select if the visual inspection sticker should be scanned. 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.
-
getVehicleInspectionSticker
LicensePlateConfig.VehicleInspectionSticker getVehicleInspectionSticker()
Select if the visual inspection sticker should be scanned. If OPTIONAL, the visual inspection sticker will only be returned if found successfully. If MANDATORY the scan will only return if found successfully. Not available on africa and unitedstates.
-
setVehicleInspectionSticker
void setVehicleInspectionSticker(LicensePlateConfig.VehicleInspectionSticker vehicleInspectionSticker)
Select if the visual inspection sticker should be scanned. If OPTIONAL, the visual inspection sticker will only be returned if found successfully. If MANDATORY the scan will only return if found successfully. Not available on africa and unitedstates.
-
hashCode
int hashCode()
-
-
-
-