Class DriverLicenseDetailedInfo

java.lang.Object
com.microblink.blinkid.entities.recognizers.blinkid.generic.DriverLicenseDetailedInfo
All Implemented Interfaces:
android.os.Parcelable

public final class DriverLicenseDetailedInfo extends Object implements android.os.Parcelable
Driver's license specific data.
  • Field Details

  • Method Details

    • getRestrictions

      @Nullable public StringResult getRestrictions()
      The restrictions to driving privileges for the driver license owner.
    • getEndorsements

      @Nullable public StringResult getEndorsements()
      The additional privileges granted to the driver license owner.
    • getVehicleClass

      @Nullable public StringResult getVehicleClass()
      The type of vehicle the driver license owner has privilege to drive.
    • getVehicleClassesInfo

      @NonNull public VehicleClassInfo[] getVehicleClassesInfo()
      The additional information on vehicle class.
    • getConditions

      @Nullable public StringResult getConditions()
      The driver license conditions.
    • isEmpty

      public boolean isEmpty()
      Checks whether data is empty. Data is empty if all fields are empty.
      Returns:
      true if data is empty, false otherwise.
    • toString

      @NonNull public String toString()
      Overrides:
      toString in class Object
    • createFromNative

      public static DriverLicenseDetailedInfo createFromNative(@Nullable StringResult restrictions, @Nullable StringResult endorsements, @Nullable StringResult vehicleClass, @Nullable StringResult conditions, VehicleClassInfo[] vehicleClassesInfo)
      This method is called from native code to build DriverLicenseDetailedInfo from native object.
    • describeContents

      public int describeContents()
      Specified by:
      describeContents in interface android.os.Parcelable
    • writeToParcel

      public void writeToParcel(@NonNull android.os.Parcel dest, int flags)
      Specified by:
      writeToParcel in interface android.os.Parcelable