public static enum FaceImageInfo.EyeColor extends Enum<FaceImageInfo.EyeColor>
Enum Constant and Description |
---|
BLACK |
BLUE |
BROWN |
GRAY |
GREEN |
MULTI_COLORED |
PINK |
UNKNOWN |
UNSPECIFIED |
Modifier and Type | Method and Description |
---|---|
abstract int |
toInt() |
static FaceImageInfo.EyeColor |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FaceImageInfo.EyeColor[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FaceImageInfo.EyeColor UNSPECIFIED
public static final FaceImageInfo.EyeColor BLACK
public static final FaceImageInfo.EyeColor BLUE
public static final FaceImageInfo.EyeColor BROWN
public static final FaceImageInfo.EyeColor GRAY
public static final FaceImageInfo.EyeColor GREEN
public static final FaceImageInfo.EyeColor MULTI_COLORED
public static final FaceImageInfo.EyeColor PINK
public static final FaceImageInfo.EyeColor UNKNOWN
public static FaceImageInfo.EyeColor[] values()
for (FaceImageInfo.EyeColor c : FaceImageInfo.EyeColor.values()) System.out.println(c);
public static FaceImageInfo.EyeColor 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 abstract int toInt()
Copyright © 2016. All rights reserved.