Class DriverLicenseDetailedInfo
- java.lang.Object
-
- com.microblink.documentverification.entities.recognizers.blinkid.generic.DriverLicenseDetailedInfo
-
- All Implemented Interfaces:
android.os.Parcelable
public final class DriverLicenseDetailedInfo extends java.lang.Object implements android.os.ParcelableDriver's license specific data.
-
-
Field Summary
Fields Modifier and Type Field Description static android.os.Parcelable.Creator<DriverLicenseDetailedInfo>CREATOR
-
Constructor Summary
Constructors Modifier Constructor Description protectedDriverLicenseDetailedInfo(android.os.Parcel in)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DriverLicenseDetailedInfocreateFromNative(java.lang.String restrictions, java.lang.String endorsements, java.lang.String vehicleClass, java.lang.String conditions, VehicleClassInfo[] vehicleClassesInfo)This method is called from native code to buildDriverLicenseDetailedInfofrom native object.intdescribeContents()java.lang.StringgetConditions()The driver license conditions.java.lang.StringgetEndorsements()The additional privileges granted to the driver license owner.java.lang.StringgetRestrictions()The restrictions to driving privileges for the driver license owner.java.lang.StringgetVehicleClass()The type of vehicle the driver license owner has privilege to drive.VehicleClassInfo[]getVehicleClassesInfo()The additional information on vehicle class.booleanisEmpty()Checks whether data is empty.voidwriteToParcel(android.os.Parcel dest, int flags)
-
-
-
Field Detail
-
CREATOR
public static final android.os.Parcelable.Creator<DriverLicenseDetailedInfo> CREATOR
-
-
Method Detail
-
getRestrictions
@NonNull public java.lang.String getRestrictions()
The restrictions to driving privileges for the driver license owner.
-
getEndorsements
@NonNull public java.lang.String getEndorsements()
The additional privileges granted to the driver license owner.
-
getVehicleClass
@NonNull public java.lang.String 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
@NonNull public java.lang.String getConditions()
The driver license conditions.
-
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 DriverLicenseDetailedInfo createFromNative(@NonNull java.lang.String restrictions, @NonNull java.lang.String endorsements, @NonNull java.lang.String vehicleClass, @NonNull java.lang.String conditions, @NonNull VehicleClassInfo[] vehicleClassesInfo)
This method is called from native code to buildDriverLicenseDetailedInfofrom 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
-
-