Class VehicleClassInfo
- java.lang.Object
-
- com.microblink.documentverification.entities.recognizers.blinkid.generic.VehicleClassInfo
-
- All Implemented Interfaces:
android.os.Parcelable
public final class VehicleClassInfo extends java.lang.Object implements android.os.ParcelableThe additional information on vehicle class.
-
-
Field Summary
Fields Modifier and Type Field Description static android.os.Parcelable.Creator<VehicleClassInfo>CREATOR
-
Constructor Summary
Constructors Modifier Constructor Description protectedVehicleClassInfo(android.os.Parcel in)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VehicleClassInfocreateFromNative(DateResult effectiveDate, DateResult expiryDate, java.lang.String vehicleClass, java.lang.String licenceType)This method is called from native code to buildVehicleClassInfofrom native object.intdescribeContents()DateResultgetEffectiveDate()The date since licence is effective.DateResultgetExpiryDate()The date of expiry of licence.java.lang.StringgetLicenceType()The type of driver licence.java.lang.StringgetVehicleClass()The type of vehicle the driver license owner has privilege to drive.booleanisEmpty()Checks whether data is empty.voidwriteToParcel(android.os.Parcel dest, int flags)
-
-
-
Field Detail
-
CREATOR
public static final android.os.Parcelable.Creator<VehicleClassInfo> CREATOR
-
-
Method Detail
-
getEffectiveDate
@NonNull public DateResult getEffectiveDate()
The date since licence is effective.
-
getExpiryDate
@NonNull public DateResult getExpiryDate()
The date of expiry of licence.
-
getVehicleClass
@NonNull public java.lang.String getVehicleClass()
The type of vehicle the driver license owner has privilege to drive.
-
getLicenceType
@NonNull public java.lang.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:
trueif data is empty, false otherwise.
-
createFromNative
@NonNull public static VehicleClassInfo createFromNative(@NonNull DateResult effectiveDate, @NonNull DateResult expiryDate, @NonNull java.lang.String vehicleClass, @NonNull java.lang.String licenceType)
This method is called from native code to buildVehicleClassInfofrom native object.
-
describeContents
public int describeContents()
- Specified by:
describeContentsin interfaceandroid.os.Parcelable
-
writeToParcel
public void writeToParcel(@NonNull android.os.Parcel dest, int flags)- Specified by:
writeToParcelin interfaceandroid.os.Parcelable
-
-