public enum NLivenessMode extends Enum<NLivenessMode> implements com.neurotec.lang.NEnum
| Enum Constant and Description |
|---|
ACTIVE
User should perform several actions to prove his liveness.
|
NONE
No liveness check is performed.
|
PASSIVE
User should passively stand still in front of the camera.
|
PASSIVE_AND_ACTIVE
A sequence of passive and active liveness detection modes.
|
| Modifier and Type | Method and Description |
|---|---|
static NLivenessMode |
get(int value)
Gets the NLivenessMode specified by value.
|
int |
getValue()
Gets the value of the current object.
|
static com.neurotec.lang.NType |
nativeTypeOf()
Retrieves the native type for the enclosing class.
|
static NLivenessMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NLivenessMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NLivenessMode NONE
public static final NLivenessMode PASSIVE
public static final NLivenessMode ACTIVE
public static final NLivenessMode PASSIVE_AND_ACTIVE
public static NLivenessMode[] values()
for (NLivenessMode c : NLivenessMode.values()) System.out.println(c);
public static NLivenessMode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic int getValue()
getValue in interface com.neurotec.lang.NEnumpublic static com.neurotec.lang.NType nativeTypeOf()
public static NLivenessMode get(int value)
value - Integer value.Copyright © 2016 Neurotechnology. All rights reserved.