Class AuthenticationSessionSettings

  • All Implemented Interfaces:
    android.os.Parcelable

    public class AuthenticationSessionSettings
    extends LivenessDetectionSessionSettings
    implements android.os.Parcelable
    Authentication session settings
    Since:
    1.0.0
    • Constructor Detail

      • AuthenticationSessionSettings

        public AuthenticationSessionSettings()
        Constructor that sets the user ID to null

        If you use this constructor make sure you set the user ID before you start the session.

        Since:
        1.0.0
        See Also:
        setUserId(String)
      • AuthenticationSessionSettings

        public AuthenticationSessionSettings​(@NonNull
                                             java.lang.String userId)
        Constructor
        Parameters:
        userId - ID of the user to authenticate in the session
        Since:
        1.0.0
      • AuthenticationSessionSettings

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

      • writeToParcel

        @RestrictTo(LIBRARY_GROUP)
        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 LivenessDetectionSessionSettings
        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.
      • setUserId

        public void setUserId​(@NonNull
                              java.lang.String userId)
        Set the ID of the user who will be authenticated in the session.
        Parameters:
        userId - User ID
        Since:
        1.0.0
        See Also:
        getUserId()