public enum Resolution extends Enum<Resolution>
StreamConfig.Builder.highestResolution(Resolution)
Enum Constant and Description |
---|
_1080p
1920 x 1080
|
_360p
640 x 360
|
_720p
1280 x 720
|
Modifier and Type | Method and Description |
---|---|
Size |
getSize() |
static Resolution |
valueOf(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 _360p
public static final Resolution _720p
public static final Resolution _1080p
public static Resolution[] values()
for (Resolution c : Resolution.values()) System.out.println(c);
public static Resolution 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 Size getSize()