public enum NLivenessAction extends Enum<NLivenessAction> implements com.neurotec.lang.NEnum
| Enum Constant and Description |
|---|
BLINK
The user should blink at least once.
|
KEEP_STILL
The user should keep as still as possible.
|
ROTATE_YAW
The user should rotate his face according to instructions.
|
| Modifier and Type | Method and Description |
|---|---|
static NLivenessAction |
get(int value)
Gets NLivenessAction specified by value.
|
static EnumSet<NLivenessAction> |
getSet(int value)
Gets the enumeration set 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 NLivenessAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NLivenessAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NLivenessAction KEEP_STILL
public static final NLivenessAction BLINK
public static final NLivenessAction ROTATE_YAW
public static NLivenessAction[] values()
for (NLivenessAction c : NLivenessAction.values()) System.out.println(c);
public static NLivenessAction 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 NLivenessAction get(int value)
value - Integer value.public static EnumSet<NLivenessAction> getSet(int value)
value - Integer value.Copyright © 2016 Neurotechnology. All rights reserved.