VerIDLivenessDetectionSessionSettings

Liveness detection session settings

Package com.appliedrec.ver_id.session

public class VerIDLivenessDetectionSessionSettings

Constructors

VerIDLivenessDetectionSessionSettings

Introduced in version 1.8

public VerIDLivenessDetectionSessionSettings()

Settings constructor

VerIDLivenessDetectionSessionSettings

Introduced in version 1.8

public VerIDLivenessDetectionSessionSettings(JSONObject)

Parameters

jsonObject org.json.JSONObject

Methods

toJSON

Introduced in version 1.8

public toJSON()

Returns

org.json.JSONObject

Throws

org.json.JSONException

Properties

DEFAULT_BEARINGS

Introduced in version 1.8

public static final EnumSet DEFAULT_BEARINGS

segmentStartDelay

Introduced in version 1.8

public long segmentStartDelay

Milliseconds before the session starts detecting liveness for each pose segment. This gives the user time to assume the requested pose.

segmentDuration

Introduced in version 1.8

public long segmentDuration

Minimum duration of the pose segment in milliseconds. The authentication can happen very fast. This ensures the process is clear to the user.

bearings

Introduced in version 1.8

public EnumSet bearings

Bearings the user may be asked to assume in this session. This is set automatically to EnumSet.of(VerID.Bearing.STRAIGHT, VerID.Bearing.LEFT, VerID.Bearing.UP, VerID.Bearing.RIGHT) for sessions with liveness detection.