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

public final class VehicleClassInfo extends Object implements android.os.Parcelable
The additional information on vehicle class.
  • Field Details

    • CREATOR

      public static final android.os.Parcelable.Creator<VehicleClassInfo> CREATOR
  • Method Details

    • getEffectiveDate

      @Nullable public DateResult getEffectiveDate()
      The date since licence is effective.
    • getExpiryDate

      @Nullable public DateResult getExpiryDate()
      The date of expiry of licence.
    • getVehicleClass

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

      @Nullable public StringResult getLicenceType()
      The type of driver licence.
    • 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 VehicleClassInfo createFromNative(@Nullable DateResult effectiveDate, @Nullable DateResult expiryDate, @Nullable StringResult vehicleClass, @Nullable StringResult licenceType)
      This method is called from native code to build VehicleClassInfo 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