Class BarcodeDriverLicenseDetailedInfo
java.lang.Object
com.microblink.blinkid.entities.recognizers.blinkid.generic.barcode.BarcodeDriverLicenseDetailedInfo
- All Implemented Interfaces:
android.os.Parcelable
Driver's license specific data extracted from barcode.
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final android.os.Parcelable.Creator<BarcodeDriverLicenseDetailedInfo>
Fields inherited from interface android.os.Parcelable
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
-
Method Summary
Modifier and TypeMethodDescriptioncreateFromNative
(String restrictions, String endorsements, String vehicleClass, String conditions, BarcodeVehicleClassInfo[] vehicleClassesInfo) This method is called from native code to buildBarcodeDriverLicenseDetailedInfo
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
@NonNull public static BarcodeDriverLicenseDetailedInfo createFromNative(@NonNull String restrictions, @NonNull String endorsements, @NonNull String vehicleClass, @NonNull String conditions, @NonNull BarcodeVehicleClassInfo[] vehicleClassesInfo) This method is called from native code to buildBarcodeDriverLicenseDetailedInfo
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
-