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

public final class BarcodeVehicleClassInfo extends Object implements android.os.Parcelable
The additional information on vehicle class extracted from barcode.
  • Field Details

  • Method Details

    • getEffectiveDate

      @NonNull public Date getEffectiveDate()
      The date since licence is effective.
    • getExpiryDate

      @NonNull public Date getExpiryDate()
      The date of expiry of licence.
    • getVehicleClass

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

      @NonNull public String 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

      @NonNull public static BarcodeVehicleClassInfo createFromNative(@NonNull Date effectiveDate, @NonNull Date expiryDate, @NonNull String vehicleClass, @NonNull String licenceType)
      This method is called from native code to build BarcodeVehicleClassInfo 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