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
Fields inherited from interface android.os.Parcelable
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
-
Method Summary
Modifier and TypeMethodDescriptionstatic VehicleClassInfo
createFromNative
(DateResult effectiveDate, DateResult expiryDate, StringResult vehicleClass, StringResult licenceType) This method is called from native code to buildVehicleClassInfo
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
public static VehicleClassInfo createFromNative(@Nullable DateResult effectiveDate, @Nullable DateResult expiryDate, @Nullable StringResult vehicleClass, @Nullable StringResult licenceType) This method is called from native code to buildVehicleClassInfo
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
-