public enum MediaParamsContentType extends java.lang.Enum<MediaParamsContentType>
| Enum Constant and Description |
|---|
ANSWER
Submit media associated with an answer.
|
QUESTION
Submit media associated with a question.
|
REVIEW
Submit media associated with a review.
|
REVIEW_COMMENT
Submit media associated with a review comment.
|
STORY
Submit media associated with a revstoryiew.
|
STORY_COMMENT
Submit media associated with a story comment.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getTypeString() |
static MediaParamsContentType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MediaParamsContentType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MediaParamsContentType ANSWER
public static final MediaParamsContentType QUESTION
public static final MediaParamsContentType REVIEW
public static final MediaParamsContentType REVIEW_COMMENT
public static final MediaParamsContentType STORY_COMMENT
public static final MediaParamsContentType STORY
public static MediaParamsContentType[] values()
for (MediaParamsContentType c : MediaParamsContentType.values()) System.out.println(c);
public static MediaParamsContentType 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 getTypeString()