public static enum BingImageDataset.ImageDataSourceQuery.ImageContent extends Enum<BingImageDataset.ImageDataSourceQuery.ImageContent>
Enum Constant and Description |
---|
Face
Return images that show only a person's face
|
Portrait
Return images that show only a person's head and shoulders
|
Modifier and Type | Method and Description |
---|---|
static BingImageDataset.ImageDataSourceQuery.ImageContent |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BingImageDataset.ImageDataSourceQuery.ImageContent[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BingImageDataset.ImageDataSourceQuery.ImageContent Face
public static final BingImageDataset.ImageDataSourceQuery.ImageContent Portrait
public static BingImageDataset.ImageDataSourceQuery.ImageContent[] values()
for (BingImageDataset.ImageDataSourceQuery.ImageContent c : BingImageDataset.ImageDataSourceQuery.ImageContent.values()) System.out.println(c);
public static BingImageDataset.ImageDataSourceQuery.ImageContent 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 null