public enum Resolution extends java.lang.Enum<Resolution>
| Enum Constant and Description |
|---|
HD |
NORMAL |
SMALL |
VERY_SMALL |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDescription() |
static java.util.List<Resolution> |
getFromBestToLowest() |
static Resolution |
getHighestResolution() |
static Resolution |
getLowestResolution() |
static Resolution |
getNextHigherResolution(Resolution startingResolution) |
static Resolution |
getNextLowerResolution(Resolution startingResolution) |
static Resolution |
getResolutionFromArdAudioVideoOrdinalsByProfileName(java.lang.String profileName)
Derzeit sind folgende ARD AudioVideo Ordinals bekannt:
HD = 1280 width x 720 height Premium = 969 width x 540 height Large = 640 width x 360 height Standard = 512 width x 288 height Mobile = 480 width x 270 height Mobile_S = 320 width x 180 height |
static Resolution |
getResolutionFromWidth(int width)
The following width size limits are relevant:
HD = >= 1280 width Normal = >= 969 width Small = >= 640 width Very Small = < 640 width |
int |
getResolutionSize() |
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 HD
public static final Resolution NORMAL
public static final Resolution SMALL
public static final Resolution VERY_SMALL
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 static java.util.List<Resolution> getFromBestToLowest()
public static Resolution getHighestResolution()
public static Resolution getLowestResolution()
public static Resolution getNextHigherResolution(Resolution startingResolution)
public static Resolution getNextLowerResolution(Resolution startingResolution)
public static Resolution getResolutionFromArdAudioVideoOrdinalsByProfileName(java.lang.String profileName)
profileName - public static Resolution getResolutionFromWidth(int width)
profileName - public java.lang.String getDescription()
public int getResolutionSize()