|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<PlaybackQuality>
com.bramosystems.oss.player.youtube.client.PlaybackQuality
public enum PlaybackQuality
An enum of YouTube video playback qualities.
The playback quality usually correspond to the size of the video player. For example, if a page displays a 640px by 360px video player, a medium quality video will look better than a large quality video.
YouTubePlayer.setPlaybackQuality(PlaybackQuality)
Enum Constant Summary | |
---|---|
Default
Instructs YouTube to select the most appropriate playback quality, which will vary for different users, videos, systems and other playback conditions. |
|
hd1080
Quality level for minimum player height of 1080px i.e. |
|
hd720
Quality level for minimum player resolution of 1280px by 720px. |
|
highres
Quality level for player resolution greater than 1920px by 1080px |
|
large
Quality level for minimum player resolution of 854px by 480px. |
|
medium
Quality level for minimum player resolution of 640px by 360px. |
|
small
Quality level for player resolution less than 640px by 360px. |
Method Summary | |
---|---|
static PlaybackQuality |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static PlaybackQuality[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final PlaybackQuality Default
public static final PlaybackQuality small
public static final PlaybackQuality medium
public static final PlaybackQuality large
public static final PlaybackQuality hd720
public static final PlaybackQuality hd1080
public static final PlaybackQuality highres
Method Detail |
---|
public static PlaybackQuality[] values()
for (PlaybackQuality c : PlaybackQuality.values()) System.out.println(c);
public static PlaybackQuality valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |