Enum VideoQueryScenario
- java.lang.Object
-
- java.lang.Enum<VideoQueryScenario>
-
- com.microsoft.azure.cognitiveservices.search.videosearch.models.VideoQueryScenario
-
- All Implemented Interfaces:
Serializable,Comparable<VideoQueryScenario>
public enum VideoQueryScenario extends Enum<VideoQueryScenario>
Defines values for VideoQueryScenario.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description LISTEnum value List.SINGLE_DOMINANT_VIDEOEnum value SingleDominantVideo.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VideoQueryScenariofromString(String value)Parses a serialized value to a VideoQueryScenario instance.StringtoString()static VideoQueryScenariovalueOf(String name)Returns the enum constant of this type with the specified name.static VideoQueryScenario[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LIST
public static final VideoQueryScenario LIST
Enum value List.
-
SINGLE_DOMINANT_VIDEO
public static final VideoQueryScenario SINGLE_DOMINANT_VIDEO
Enum value SingleDominantVideo.
-
-
Method Detail
-
values
public static VideoQueryScenario[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (VideoQueryScenario c : VideoQueryScenario.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static VideoQueryScenario valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
fromString
public static VideoQueryScenario fromString(String value)
Parses a serialized value to a VideoQueryScenario instance.- Parameters:
value- the serialized value to parse.- Returns:
- the parsed VideoQueryScenario object, or null if unable to parse.
-
toString
public String toString()
- Overrides:
toStringin classEnum<VideoQueryScenario>
-
-