Class RecognizableFace

  • All Implemented Interfaces:
    android.os.Parcelable, IRecognizable

    public class RecognizableFace
    extends Face
    implements IRecognizable
    Face that can be used for face recognition
    Since:
    1.0.0
    • Field Detail

      • CREATOR

        public static final android.os.Parcelable.Creator<RecognizableFace> CREATOR
    • Constructor Detail

      • RecognizableFace

        public RecognizableFace​(Face face,
                                byte[] recognitionData)
      • RecognizableFace

        protected RecognizableFace​(android.os.Parcel in)
    • Method Detail

      • getRecognitionData

        public byte[] getRecognitionData()
        Specified by:
        getRecognitionData in interface IRecognizable
        Returns:
        Face recognition data
        Since:
        1.0.0
      • getVersion

        public int getVersion()
        Specified by:
        getVersion in interface IRecognizable
        Returns:
        Version used to determine compatibility
        Since:
        1.0.0
      • 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 interface android.os.Parcelable
        Overrides:
        writeToParcel in class Face
        Parameters:
        dest - The Parcel in which the object should be written.
        flags - Additional flags about how the object should be written. May be 0 or Parcelable.PARCELABLE_WRITE_RETURN_VALUE.