public enum MediaSize extends Enum<MediaSize>
Java class for Media.Size.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="Media.Size">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="FULL"/>
<enumeration value="SHRUNKEN"/>
<enumeration value="PREVIEW"/>
<enumeration value="VIDEO_THUMBNAIL"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
FULL
Full size of Media.
|
PREVIEW
Preview size of media.
|
SHRUNKEN
Shunken size of media.
|
VIDEO_THUMBNAIL
Video thumbnail size of Media.
|
| Modifier and Type | Method and Description |
|---|---|
static MediaSize |
fromValue(String v) |
String |
value() |
static MediaSize |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MediaSize[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MediaSize FULL
public static final MediaSize SHRUNKEN
public static final MediaSize PREVIEW
public static final MediaSize VIDEO_THUMBNAIL
public static MediaSize[] values()
for (MediaSize c : MediaSize.values()) System.out.println(c);
public static MediaSize 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 value()
Copyright © 2023. All rights reserved.