public static enum FaceAuthSettings.FaceAuthLivenessMode extends Enum<FaceAuthSettings.FaceAuthLivenessMode>
Enum Constant and Description |
---|
IMAGE
Image mode to be used in enrollment and verification with one or
several photos.
|
LIVENESS_PASSIVE
Liveness mode to be used in enrollment and verification operations to
determine if the captured face is alive or not.
|
Modifier and Type | Method and Description |
---|---|
int |
getMode() |
static FaceAuthSettings.FaceAuthLivenessMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FaceAuthSettings.FaceAuthLivenessMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FaceAuthSettings.FaceAuthLivenessMode IMAGE
public static final FaceAuthSettings.FaceAuthLivenessMode LIVENESS_PASSIVE
public static FaceAuthSettings.FaceAuthLivenessMode[] values()
for (FaceAuthSettings.FaceAuthLivenessMode c : FaceAuthSettings.FaceAuthLivenessMode.values()) System.out.println(c);
public static FaceAuthSettings.FaceAuthLivenessMode 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 getMode()