Class VerIDSessionResult

  • All Implemented Interfaces:
    android.os.Parcelable
    Direct Known Subclasses:
    AuthenticationSessionResult

    public class VerIDSessionResult
    extends java.lang.Object
    implements android.os.Parcelable
    Session result
    Since:
    1.0.0
    • Field Detail

      • CREATOR

        @RestrictTo(LIBRARY_GROUP)
        public static final android.os.Parcelable.Creator<VerIDSessionResult> CREATOR
    • Method Detail

      • getFaceCaptures

        @NonNull
        public FaceCapture[] getFaceCaptures()
      • getFaceCaptures

        @NonNull
        public FaceCapture[] getFaceCaptures​(@NonNull
                                             Bearing bearing)
      • getFirstFaceCapture

        @NonNull
        public java.util.Optional<FaceCapture> getFirstFaceCapture​(@NonNull
                                                                   Bearing bearing)
      • getError

        @NonNull
        public java.util.Optional<VerIDSessionException> getError()
        Returns:
        Error or null if the result is successful
        Since:
        1.0.0
      • getVideoUri

        @NonNull
        public java.util.Optional<android.net.Uri> getVideoUri()
      • setVideoUri

        public void setVideoUri​(@Nullable
                                android.net.Uri videoUri)
      • getSessionStartTime

        @NonNull
        public java.util.Date getSessionStartTime()
      • getSessionDuration

        public long getSessionDuration​(java.util.concurrent.TimeUnit timeUnit)
      • getSessionDiagnostics

        public java.util.Optional<SessionDiagnostics> getSessionDiagnostics()
      • addFaceCapture

        public final void addFaceCapture​(FaceCapture faceCapture)
      • describeContents

        @RestrictTo(LIBRARY_GROUP)
        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 of Parcelable.writeToParcel(Parcel, int), the return value of this method must include the Parcelable.CONTENTS_FILE_DESCRIPTOR bit.
        Specified by:
        describeContents in interface android.os.Parcelable
        Returns:
        a bitmask indicating the set of special object types marshaled by this Parcelable object instance.
      • writeToParcel

        @RestrictTo(LIBRARY_GROUP)
        public void writeToParcel​(android.os.Parcel parcel,
                                  int i)
        Description copied from interface: android.os.Parcelable
        Flatten this object in to a Parcel.
        Specified by:
        writeToParcel in interface android.os.Parcelable
        Parameters:
        parcel - The Parcel in which the object should be written.
        i - Additional flags about how the object should be written. May be 0 or Parcelable.PARCELABLE_WRITE_RETURN_VALUE.
      • equals

        @RestrictTo(LIBRARY_GROUP)
        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        @RestrictTo(LIBRARY_GROUP)
        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • getSpoofConfidenceScore

        public java.util.Optional<java.lang.Float> getSpoofConfidenceScore()