Class DeepsightConfiguration
-
- All Implemented Interfaces:
-
android.os.Parcelable
public final class DeepsightConfiguration implements Parcelable
Configuration for Deepsight liveness and motion collection, providing the same granularity as the Dashboard configuration options.
The three fields are independent:
enabled: whether Deepsight liveness is active. When
false, modality is ignored and no liveness check runs; motionEnabled is unaffected.modality: the liveness capture mode. Only applied when enabled is
true.motionEnabled: whether motion data is collected. Independent of enabled and modality.
Use DeepsightConfiguration.Builder to construct an instance.
- Since:
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enumDeepsightConfiguration.ModalityMirrors the Dashboard "Deepsight Liveness" modality options.
SINGLE_FRAME: Standard liveness check with a single frame. No depth data, no video.
MULTIMODAL: Depth data is collected; no video liveness recording.
VIDEO_LIVENESS: Depth data and video liveness recording are both enabled.
public final classDeepsightConfiguration.Builder
-
Field Summary
Fields Modifier and Type Field Description private final Booleanenabledprivate final DeepsightConfiguration.Modalitymodalityprivate final BooleanmotionEnabled
-
Method Summary
Modifier and Type Method Description final BooleangetEnabled()final DeepsightConfiguration.ModalitygetModality()final BooleangetMotionEnabled()-
-
Method Detail
-
getEnabled
final Boolean getEnabled()
-
getModality
final DeepsightConfiguration.Modality getModality()
-
getMotionEnabled
final Boolean getMotionEnabled()
-
-
-
-