Class LicensePlateConfig
-
- All Implemented Interfaces:
-
java.io.Serializable
public class LicensePlateConfig implements Serializable
Configuration for scanning license plates
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enumLicensePlateConfig.ScanModeSpecifies a country or location of which license plates shall be scanned.
public enumLicensePlateConfig.VehicleInspectionStickerSelect 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.ScanModescanModepublic IntegerminConfidencepublic StringvalidationRegexpublic LicensePlateConfig.VehicleInspectionStickervehicleInspectionSticker
-
Constructor Summary
Constructors Constructor Description LicensePlateConfig()
-
Method Summary
Modifier and Type Method Description LicensePlateConfig.ScanModegetScanMode()Specifies a country or location of which license plates shall be scanned. voidsetScanMode(LicensePlateConfig.ScanMode scanMode)Specifies a country or location of which license plates shall be scanned. IntegergetMinConfidence()Sets a minimum confidence which has to be reached in order to trigger a scan result. voidsetMinConfidence(Integer minConfidence)Sets a minimum confidence which has to be reached in order to trigger a scan result. StringgetValidationRegex()Sets a regular expression per country. voidsetValidationRegex(String validationRegex)Sets a regular expression per country. LicensePlateConfig.VehicleInspectionStickergetVehicleInspectionSticker()Select if the visual inspection sticker should be scanned. voidsetVehicleInspectionSticker(LicensePlateConfig.VehicleInspectionSticker vehicleInspectionSticker)Select if the visual inspection sticker should be scanned. StringtoString()inthashCode()booleanequals(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()
-
-
-
-