public static enum MediaConstants.Medium extends java.lang.Enum<MediaConstants.Medium>
Enum Constant and Description |
---|
AUDIO |
DOCUMENT |
EXECUTABLE |
IMAGE |
VIDEO |
Modifier and Type | Method and Description |
---|---|
static MediaConstants.Medium |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MediaConstants.Medium[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MediaConstants.Medium IMAGE
public static final MediaConstants.Medium AUDIO
public static final MediaConstants.Medium VIDEO
public static final MediaConstants.Medium DOCUMENT
public static final MediaConstants.Medium EXECUTABLE
public static MediaConstants.Medium[] values()
for (MediaConstants.Medium c : MediaConstants.Medium.values()) System.out.println(c);
public static MediaConstants.Medium 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 nullCopyright © 2010 - 2020 Adobe. All Rights Reserved