public enum ImageDetail extends Enum<ImageDetail>
| Enum Constant and Description |
|---|
CELEBRITIES
Enum value celebrities.
|
LANDMARKS
Enum value landmarks.
|
| Modifier and Type | Method and Description |
|---|---|
static ImageDetail |
fromString(String value)
Parses a serialized value to a ImageDetail instance.
|
String |
toString() |
static ImageDetail |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ImageDetail[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ImageDetail CELEBRITIES
public static final ImageDetail LANDMARKS
public static ImageDetail[] values()
public static ImageDetail 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 static ImageDetail fromString(String value)
value - the serialized value to parse.public String toString()
toString in class Enum<ImageDetail>Copyright © 2020 Microsoft Corporation. All rights reserved.