Package com.appliedrec.verid.core2
Class RecognizableSubject
- java.lang.Object
-
- com.appliedrec.verid.core2.RecognizableSubject
-
- All Implemented Interfaces:
android.os.Parcelable,IRecognizable
public class RecognizableSubject extends java.lang.Object implements IRecognizable, android.os.Parcelable
Subject that contains one or more faces that can be used for face recognition- Since:
- 1.0.0
-
-
Field Summary
Fields Modifier and Type Field Description static android.os.Parcelable.Creator<RecognizableSubject>CREATOR
-
Constructor Summary
Constructors Modifier Constructor Description RecognizableSubject(byte[] data, int version)protectedRecognizableSubject(android.os.Parcel in)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intdescribeContents()Describe the kinds of special objects contained in this Parcelable instance's marshaled representation.byte[]getRecognitionData()RecognizableTypegetType()intgetVersion()voidwriteToParcel(android.os.Parcel dest, int flags)Flatten this object in to a Parcel.
-
-
-
Field Detail
-
CREATOR
public static final android.os.Parcelable.Creator<RecognizableSubject> CREATOR
-
-
Method Detail
-
getRecognitionData
public byte[] getRecognitionData()
- Specified by:
getRecognitionDatain interfaceIRecognizable- Returns:
- Face recognition data
- Since:
- 1.0.0
-
getVersion
public int getVersion()
- Specified by:
getVersionin interfaceIRecognizable- Returns:
- Version used to determine compatibility
- Since:
- 1.0.0
-
getType
public RecognizableType getType()
- Specified by:
getTypein interfaceIRecognizable- Returns:
RecognizableType.SUBJECT- Since:
- 1.0.0
-
describeContents
public int describeContents()
Description copied from interface:android.os.ParcelableDescribe the kinds of special objects contained in this Parcelable instance's marshaled representation. For example, if the object will include a file descriptor in the output ofParcelable.writeToParcel(Parcel, int), the return value of this method must include theParcelable.CONTENTS_FILE_DESCRIPTORbit.- Specified by:
describeContentsin interfaceandroid.os.Parcelable- Returns:
- a bitmask indicating the set of special object types marshaled by this Parcelable object instance.
-
writeToParcel
public void writeToParcel(android.os.Parcel dest, int flags)Description copied from interface:android.os.ParcelableFlatten this object in to a Parcel.- Specified by:
writeToParcelin interfaceandroid.os.Parcelable- Parameters:
dest- The Parcel in which the object should be written.flags- Additional flags about how the object should be written. May be 0 orParcelable.PARCELABLE_WRITE_RETURN_VALUE.
-
-