ActiveLivenessDetectionAction

A typesafe enumeration of the active actions that can be performed during the liveness detection process

import com.sybrin.livenessdetection.enums.ActiveLivenessDetectionAction

Summary

Enum values

​Title

Blink

Adds a blinking action to the detection process.

LookDown

Adds a look down action to the detection process.

LookUp

Adds a look up action to the detection process.

Selfie

Adds a take selfie action to the detection process.

Smile

Adds a smile action to the detection process.

TiltHeadLeft

Adds a tilt head left action to the detection process.

TiltHeadRight

Adds a tilt head right action to the detection process.

TurnHeadLeft

Adds a turn head left action to the detection process.

TurnHeadRight

Adds a turn head right action to the detection process.

Enum values

public static final ActiveLivenessDetectionAction BLink

Adds a blinking action to the detection process.‌

Visual example:

Description

Illustration

The following steps will be followed for this question:

  1. The user is prompted to close both their eyes.

  2. Once the user has closed both their eyes, the phone will vibrate once.

  3. The user will be prompted to open both their eyes

  4. Once the user has opened both their eyes, the phone will vibrate once.

  5. The question will be completed and the user will be prompted with Nice! You got it! while the next question is loaded

​‌

LookDown

public static final ActiveLivenessDetectionAction LookDown

Adds a look down action to the detection process.‌

Visual example:

Description

Illustration

The following steps will be followed for this question:

  1. The user is prompted to look down.

  2. Once the user has looked down, the phone will vibrate once.

  3. The user will be prompted to look at the screen

  4. Once the user has looked at the screen, the phone will vibrate once.

  5. The question will be completed and the user will be prompted with Nice! You got it! while the next question is loaded.

​‌

LookUp

public static final ActiveLivenessDetectionAction LookUp

Adds a look up action to the detection process.‌

Visual example:

Description

Illustration

The following steps will be followed for this question:

  1. The user is prompted to look up.

  2. Once the user has looked up, the phone will vibrate once.

  3. The user will be prompted to look at the screen

  4. Once the user has looked at the screen, the phone will vibrate once.

  5. The question will be completed and the user will be prompted with Nice! You got it! while the next question is loaded.

​‌

Selfie

public static final ActiveLivenessDetectionAction Selfie

Adds a take selfie action to the detection process.‌

Visual example:

Description

Illustration

The following steps will be followed for this question:

  1. The user is prompted that a selfie is being taken.

  2. The user has to keep their face still and in frame for the duration of the 3 second countdown.

  3. Once the countdown finishes a selfie will be captured and the user will be prompted with We're done.

​‌

Smile

public static final ActiveLivenessDetectionAction Smile

Adds a smile action to the detection process.‌

Visual example:

Description

Illustration

The following steps will be followed for this question:

  1. The user is prompted to smile.

  2. Once the user has smiled, the phone will vibrate once.

  3. The user will be prompted to not smile

  4. Once the user has stopped smiling, the phone will vibrate once.

  5. The question will be completed and the user will be prompted with Nice! You got it! while the next question is loaded.

​‌

TiltHeadLeft

public static final ActiveLivenessDetectionAction TiltHeadLeft

Adds a tilt head left action to the detection process.‌

Visual example:

Description

Illustration

The following steps will be followed for this question:

  1. The user is prompted to tilt their head left.

  2. Once the user has tilted their head left, the phone will vibrate once.

  3. The user will be prompted to tilt their head upright

  4. Once the user has tilted their head upright, the phone will vibrate once.

  5. The question will be completed and the user will be prompted with Nice! You got it! while the next question is loaded.

​‌

TiltHeadRight

public static final ActiveLivenessDetectionAction TiltHeadRight

Adds a tilt head right action to the detection process.‌

Visual example:

Description

Illustration

The following steps will be followed for this question:

  1. The user is prompted to tilt their head right.

  2. Once the user has tilted their head right, the phone will vibrate once.

  3. The user will be prompted to tilt their head upright

  4. Once the user has tilted their head upright, the phone will vibrate once.

  5. The question will be completed and the user will be prompted with Nice! You got it! while the next question is loaded.

​‌

TurnHeadLeft

public static final ActiveLivenessDetectionAction TurnHeadLeft

Adds a turn head left action to the detection process.‌

Visual example:

Description

Illustration

The following steps will be followed for this question:

  1. The user is prompted to turn their head left.

  2. Once the user has turned their head left, the phone will vibrate once.

  3. The user will be prompted to turn their head forward

  4. Once the user has turned their head forward, the phone will vibrate once.

  5. The question will be completed and the user will be prompted with Nice! You got it! while the next question is loaded.

​‌

TurnHeadRight

public static final ActiveLivenessDetectionAction TurnHeadRight

Adds a turn head right action to the detection process.‌

Visual example:

Description

Illustration

The following steps will be followed for this question:

  1. The user is prompted to turn their head right.

  2. Once the user has turned their head right, the phone will vibrate once.

  3. The user will be prompted to turn their head forward

  4. Once the user has turned their head forward, the phone will vibrate once.

  5. The question will be completed and the user will be prompted with Nice! You got it! while the next question is loaded.

Last updated