Class DependentInfo
java.lang.Object
com.microblink.blinkid.entities.recognizers.blinkid.generic.DependentInfo
- All Implemented Interfaces:
android.os.Parcelable
The dependent info.
-
Nested Class Summary
-
Field Summary
FieldsFields inherited from interface android.os.Parcelable
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE -
Method Summary
Modifier and TypeMethodDescriptionstatic DependentInfocreateFromNative(DateResult dateOfBirth, StringResult sex, StringResult documentNumber, StringResult fullName) This method is called from native code to buildDependentInfofrom native object.intThe date of birth of the dependent.The document number of the dependent.The full name of the dependent.getSex()The sex or gender of the dependent.booleanisEmpty()Checks whether data is empty.toString()voidwriteToParcel(android.os.Parcel dest, int flags)
-
Field Details
-
CREATOR
-
-
Method Details
-
getDateOfBirth
The date of birth of the dependent. -
getSex
The sex or gender of the dependent. -
getDocumentNumber
The document number of the dependent. -
getFullName
The full name of the dependent. -
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 DependentInfo createFromNative(@Nullable DateResult dateOfBirth, @Nullable StringResult sex, @Nullable StringResult documentNumber, @Nullable StringResult fullName) This method is called from native code to buildDependentInfofrom 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
-