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
Modifier 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 BarcodeVehicleClassInfo
createFromNative
(Date effectiveDate, Date expiryDate, String vehicleClass, String licenceType) This method is called from native code to buildBarcodeVehicleClassInfo
from native object.int
The 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.boolean
isEmpty()
Checks whether data is empty.toString()
void
writeToParcel
(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:
true
if 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 buildBarcodeVehicleClassInfo
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
-