Class LicensePlateConfig

  • All Implemented Interfaces:

    
    public class LicensePlateConfig
    
                        

    Configuration for scanning license plates

    • Constructor Detail

      • LicensePlateConfig

        LicensePlateConfig()
    • Method Detail

      • 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.