Class BarcodeVehicleClassInfo
java.lang.Object
com.microblink.blinkid.entities.recognizers.blinkid.generic.barcode.BarcodeVehicleClassInfo
- All Implemented Interfaces:
android.os.Parcelable
The additional information on vehicle class extracted from barcode.
-
Nested Class Summary
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final android.os.Parcelable.Creator<BarcodeVehicleClassInfo>Fields inherited from interface android.os.Parcelable
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE -
Method Summary
Modifier and TypeMethodDescriptionstatic BarcodeVehicleClassInfocreateFromNative(Date effectiveDate, Date expiryDate, String vehicleClass, String licenceType) This method is called from native code to buildBarcodeVehicleClassInfofrom native object.intThe date since licence is effective.The date of expiry of licence.The type of driver licence.The type of vehicle the driver license owner has privilege to drive.booleanisEmpty()Checks whether data is empty.toString()voidwriteToParcel(android.os.Parcel dest, int flags)
-
Field Details
-
CREATOR
-
-
Method Details
-
getEffectiveDate
The date since licence is effective. -
getExpiryDate
The date of expiry of licence. -
getVehicleClass
The type of vehicle the driver license owner has privilege to drive. -
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.
-
toString
-
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 buildBarcodeVehicleClassInfofrom 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
-