Class DriverLicenseDetailedInfo
java.lang.Object
com.microblink.blinkid.entities.recognizers.blinkid.generic.DriverLicenseDetailedInfo
- All Implemented Interfaces:
android.os.Parcelable
Driver's license specific data.
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final android.os.Parcelable.Creator<DriverLicenseDetailedInfo>
Fields inherited from interface android.os.Parcelable
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
-
Method Summary
Modifier and TypeMethodDescriptionstatic DriverLicenseDetailedInfo
createFromNative
(StringResult restrictions, StringResult endorsements, StringResult vehicleClass, StringResult conditions, VehicleClassInfo[] vehicleClassesInfo) This method is called from native code to buildDriverLicenseDetailedInfo
from native object.int
The driver license conditions.The additional privileges granted to the driver license owner.The restrictions to driving privileges for the driver license owner.The type of vehicle the driver license owner has privilege to drive.The additional information on vehicle class.boolean
isEmpty()
Checks whether data is empty.toString()
void
writeToParcel
(android.os.Parcel dest, int flags)
-
Field Details
-
CREATOR
-
-
Method Details
-
getRestrictions
The restrictions to driving privileges for the driver license owner. -
getEndorsements
The additional privileges granted to the driver license owner. -
getVehicleClass
The type of vehicle the driver license owner has privilege to drive. -
getVehicleClassesInfo
The additional information on vehicle class. -
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
-
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 buildDriverLicenseDetailedInfo
from native object. -
describeContents
public int describeContents()- Specified by:
describeContents
in interfaceandroid.os.Parcelable
-
writeToParcel
public void writeToParcel(@NonNull android.os.Parcel dest, int flags) - Specified by:
writeToParcel
in interfaceandroid.os.Parcelable
-