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)
protected
RecognizableSubject(android.os.Parcel in)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
describeContents()
Describe the kinds of special objects contained in this Parcelable instance's marshaled representation.byte[]
getRecognitionData()
RecognizableType
getType()
int
getVersion()
void
writeToParcel(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:
getRecognitionData
in interfaceIRecognizable
- Returns:
- Face recognition data
- Since:
- 1.0.0
-
getVersion
public int getVersion()
- Specified by:
getVersion
in interfaceIRecognizable
- Returns:
- Version used to determine compatibility
- Since:
- 1.0.0
-
getType
public RecognizableType getType()
- Specified by:
getType
in interfaceIRecognizable
- Returns:
RecognizableType.SUBJECT
- Since:
- 1.0.0
-
describeContents
public int describeContents()
Description copied from interface:android.os.Parcelable
Describe 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_DESCRIPTOR
bit.- Specified by:
describeContents
in 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.Parcelable
Flatten this object in to a Parcel.- Specified by:
writeToParcel
in 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
.
-
-