public static enum PhotoParameters.AnalysisType extends java.lang.Enum<PhotoParameters.AnalysisType>
Enum Constant and Description |
---|
AUDIO
Audio content should be analyzed.
|
FACE_DETECTION
Face detection should be performed for the task contents.
|
KEYWORD_EXTRACTION
The content should be analyzed for keywords.
|
VISUAL
Visual content (photos, videos) should be analyzed.
|
Modifier and Type | Method and Description |
---|---|
static java.util.EnumSet<PhotoParameters.AnalysisType> |
fromAnalysisTypeString(java.util.Collection<java.lang.String> values) |
static PhotoParameters.AnalysisType |
fromAnalysisTypeString(java.lang.String value) |
java.lang.String |
toAnalysisTypeString() |
static PhotoParameters.AnalysisType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PhotoParameters.AnalysisType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PhotoParameters.AnalysisType AUDIO
public static final PhotoParameters.AnalysisType FACE_DETECTION
public static final PhotoParameters.AnalysisType KEYWORD_EXTRACTION
public static final PhotoParameters.AnalysisType VISUAL
public static PhotoParameters.AnalysisType[] values()
for (PhotoParameters.AnalysisType c : PhotoParameters.AnalysisType.values()) System.out.println(c);
public static PhotoParameters.AnalysisType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String toAnalysisTypeString()
public static PhotoParameters.AnalysisType fromAnalysisTypeString(java.lang.String value) throws java.lang.IllegalArgumentException
value
- java.lang.IllegalArgumentException
- on bad valuepublic static java.util.EnumSet<PhotoParameters.AnalysisType> fromAnalysisTypeString(java.util.Collection<java.lang.String> values) throws java.lang.IllegalArgumentException
values
- java.lang.IllegalArgumentException
- on invalid valueCopyright © 2015 Tampere University of Technology, Pori Department.