Class LivenessDetectionSessionSettings
- java.lang.Object
-
- com.appliedrec.verid.core2.session.VerIDSessionSettings
-
- com.appliedrec.verid.core2.session.LivenessDetectionSessionSettings
-
- All Implemented Interfaces:
android.os.Parcelable
- Direct Known Subclasses:
AuthenticationSessionSettings
public class LivenessDetectionSessionSettings extends VerIDSessionSettings
Liveness detection session settingsLiveness detection sessions ask the user to assume one or more random poses (bearings).
- Since:
- 1.0.0
-
-
Field Summary
Fields Modifier and Type Field Description static android.os.Parcelable.Creator<LivenessDetectionSessionSettings>
CREATOR
static java.util.EnumSet<Bearing>
DEFAULT_BEARINGS
Default set of face bearings
-
Constructor Summary
Constructors Constructor Description LivenessDetectionSessionSettings()
Constructor
-
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.boolean
equals(java.lang.Object o)
java.util.EnumSet<Bearing>
getBearings()
Get the set of bearings the user may be asked to assume during the session.int
hashCode()
void
setBearings(java.util.EnumSet<Bearing> bearings)
Set the set of bearings the user may be asked to assume during the session.void
writeToParcel(android.os.Parcel parcel, int flags)
Flatten this object in to a Parcel.-
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
-
DEFAULT_BEARINGS
public static final java.util.EnumSet<Bearing> DEFAULT_BEARINGS
Default set of face bearings- Since:
- 1.0.0
-
CREATOR
@RestrictTo(LIBRARY_GROUP) public static final android.os.Parcelable.Creator<LivenessDetectionSessionSettings> CREATOR
-
-
Method Detail
-
getBearings
public java.util.EnumSet<Bearing> getBearings()
Get the set of bearings the user may be asked to assume during the session.Note that the user will unlikely be asked to assume all the bearings in the set. The set is simply a pool from which the session will draw a random member.
- Returns:
- Set of bearings
- Since:
- 1.0.0
- See Also:
setBearings(EnumSet)
-
setBearings
public void setBearings(java.util.EnumSet<Bearing> bearings)
Set the set of bearings the user may be asked to assume during the session.Note that the user will unlikely be asked to assume all the bearings in the set. The set is simply a pool from which the session will draw a random member.
- Parameters:
bearings
- Set of bearings- Since:
- 1.0.0
- See Also:
getBearings()
-
writeToParcel
@RestrictTo(LIBRARY_GROUP) public void writeToParcel(android.os.Parcel parcel, int flags)
Description copied from interface:android.os.Parcelable
Flatten this object in to a Parcel.- Specified by:
writeToParcel
in interfaceandroid.os.Parcelable
- Overrides:
writeToParcel
in classVerIDSessionSettings
- Parameters:
parcel
- 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
.
-
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 ofParcelable.writeToParcel(Parcel, int)
, the return value of this method must include theParcelable.CONTENTS_FILE_DESCRIPTOR
bit.- Specified by:
describeContents
in interfaceandroid.os.Parcelable
- Overrides:
describeContents
in classVerIDSessionSettings
- Returns:
- a bitmask indicating the set of special object types marshaled by this Parcelable object instance.
-
equals
@RestrictTo(LIBRARY_GROUP) public boolean equals(java.lang.Object o)
- Overrides:
equals
in classVerIDSessionSettings
-
hashCode
@RestrictTo(LIBRARY_GROUP) public int hashCode()
- Overrides:
hashCode
in classVerIDSessionSettings
-
-