public enum Resolution extends java.lang.Enum<Resolution>
| Enum Constant and Description |
|---|
FHD_HORIZONTAL
1080p landscape (1920x1080)
|
FHD_VERTICAL
1080p portrait (1080x1920)
|
HD_HORIZONTAL
720p landscape (1280x720)
|
HD_VERTICAL
720p portrait (720x1280)
|
SD_HORIZONTAL
480p landscape (640x480)
|
SD_VERTICAL
480p portrait (480x640)
|
| Modifier and Type | Method and Description |
|---|---|
static Resolution |
fromString(java.lang.String resolution) |
java.lang.String |
toString() |
static Resolution |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Resolution[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Resolution SD_HORIZONTAL
public static final Resolution SD_VERTICAL
public static final Resolution HD_HORIZONTAL
public static final Resolution HD_VERTICAL
public static final Resolution FHD_HORIZONTAL
public static final Resolution FHD_VERTICAL
public static Resolution[] values()
for (Resolution c : Resolution.values()) System.out.println(c);
public static Resolution 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 toString()
toString in class java.lang.Enum<Resolution>public static Resolution fromString(java.lang.String resolution)