public enum MediaParamsContentType extends 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 |
|---|---|
String |
getTypeString() |
static MediaParamsContentType |
valueOf(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(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 String getTypeString()
Copyright © 2016. All Rights Reserved.