Class VehicleClassInfo
java.lang.Object
com.microblink.blinkid.entities.recognizers.blinkid.generic.VehicleClassInfo
- All Implemented Interfaces:
android.os.Parcelable
The additional information on vehicle class.
-
Nested Class Summary
-
Field Summary
FieldsFields inherited from interface android.os.Parcelable
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE -
Method Summary
Modifier and TypeMethodDescriptionstatic VehicleClassInfocreateFromNative(DateResult effectiveDate, DateResult expiryDate, StringResult vehicleClass, StringResult licenceType) This method is called from native code to buildVehicleClassInfofrom 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
public static VehicleClassInfo createFromNative(@Nullable DateResult effectiveDate, @Nullable DateResult expiryDate, @Nullable StringResult vehicleClass, @Nullable StringResult licenceType) This method is called from native code to buildVehicleClassInfofrom 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
-