public enum EmbedType extends Enum<EmbedType>
| Enum Constant and Description |
|---|
IMAGE
A direct link to a public image
|
LINK
A link to a plain web page
|
RICH
A link to a service provider that can be displayed inline, but is not
video (such as SlideShare)
|
UNRESOLVED
An invalid or inaccessible link
|
VIDEO
A link to a video service provider such as YouTube
|
| Modifier and Type | Method and Description |
|---|---|
static EmbedType |
getByName(String value) |
String |
toString() |
static EmbedType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EmbedType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EmbedType IMAGE
public static final EmbedType VIDEO
public static final EmbedType RICH
public static final EmbedType LINK
public static final EmbedType UNRESOLVED
public static EmbedType[] values()
for (EmbedType c : EmbedType.values()) System.out.println(c);
public static EmbedType 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 nullCopyright © 2014. All Rights Reserved.