Class AuthenticationSessionSettings
- java.lang.Object
-
- com.appliedrec.verid.core2.session.VerIDSessionSettings
-
- com.appliedrec.verid.core2.session.LivenessDetectionSessionSettings
-
- com.appliedrec.verid.core2.session.AuthenticationSessionSettings
-
- All Implemented Interfaces:
android.os.Parcelable
public class AuthenticationSessionSettings extends LivenessDetectionSessionSettings implements android.os.Parcelable
Authentication session settings- Since:
- 1.0.0
-
-
Field Summary
Fields Modifier and Type Field Description static android.os.Parcelable.Creator<AuthenticationSessionSettings>CREATOR-
Fields inherited from class com.appliedrec.verid.core2.session.LivenessDetectionSessionSettings
DEFAULT_BEARINGS
-
-
Constructor Summary
Constructors Modifier Constructor Description AuthenticationSessionSettings()Constructor that sets the user ID to nullprotectedAuthenticationSessionSettings(android.os.Parcel in)AuthenticationSessionSettings(java.lang.String userId)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)java.lang.StringgetUserId()Get the ID of the user who will be authenticated in the session.inthashCode()voidsetUserId(java.lang.String userId)Set the ID of the user who will be authenticated in the session.voidwriteToParcel(android.os.Parcel dest, int flags)Flatten this object in to a Parcel.-
Methods inherited from class com.appliedrec.verid.core2.session.LivenessDetectionSessionSettings
describeContents, getBearings, setBearings
-
Methods inherited from class com.appliedrec.verid.core2.session.VerIDSessionSettings
getExpectedFaceExtents, getFaceCaptureCount, getFaceCaptureFaceCount, getMaxDuration, getMoireDetectionConfidenceThreshold, getPauseDuration, getPitchThreshold, getSpoofDeviceDetectionConfidenceThreshold, getYawThreshold, isFaceCoveringDetectionEnabled, isMoireDetectionEnabled, isPassiveLivenessDetectionEnabled, isSessionDiagnosticsEnabled, isSpoofDeviceDetectionEnabled, setExpectedFaceExtents, setFaceCaptureCount, setFaceCaptureFaceCount, setFaceCoveringDetectionEnabled, setMaxDuration, setMoireDetectionConfidenceThreshold, setMoireDetectionEnabled, setPassiveLivenessDetectionEnabled, setPauseDuration, setPitchThreshold, setSessionDiagnosticsEnabled, setSpoofDeviceDetectionConfidenceThreshold, setSpoofDeviceDetectionEnabled, setYawThreshold
-
-
-
-
Field Detail
-
CREATOR
@RestrictTo(LIBRARY_GROUP) public static final android.os.Parcelable.Creator<AuthenticationSessionSettings> CREATOR
-
-
Constructor Detail
-
AuthenticationSessionSettings
public AuthenticationSessionSettings()
Constructor that sets the user ID to nullIf you use this constructor make sure you
set the user IDbefore 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.ParcelableFlatten this object in to a Parcel.- Specified by:
writeToParcelin interfaceandroid.os.Parcelable- Overrides:
writeToParcelin classLivenessDetectionSessionSettings- 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.
-
getUserId
public java.lang.String getUserId()
Get the ID of the user who will be authenticated in the session.- Returns:
- User ID
- Since:
- 1.0.0
- See Also:
setUserId(String),AuthenticationSessionSettings(String)
-
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()
-
equals
@RestrictTo(LIBRARY_GROUP) public boolean equals(java.lang.Object o)
- Overrides:
equalsin classLivenessDetectionSessionSettings
-
hashCode
@RestrictTo(LIBRARY_GROUP) public int hashCode()
- Overrides:
hashCodein classLivenessDetectionSessionSettings
-
-