Package com.opentok
Enum RenderProperties.Resolution
- java.lang.Object
-
- java.lang.Enum<RenderProperties.Resolution>
-
- com.opentok.RenderProperties.Resolution
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<RenderProperties.Resolution>
- Enclosing class:
- RenderProperties
public static enum RenderProperties.Resolution extends java.lang.Enum<RenderProperties.Resolution>
Represents theresolution
parameter of RenderProperties.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description HD_HORIZONTAL
1280x720HD_VERTICAL
720x1280SD_HORIZONTAL
640x480SD_VERTICAL
480x640
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
toString()
static RenderProperties.Resolution
valueOf​(java.lang.String name)
Returns the enum constant of this type with the specified name.static RenderProperties.Resolution[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SD_VERTICAL
public static final RenderProperties.Resolution SD_VERTICAL
480x640
-
SD_HORIZONTAL
public static final RenderProperties.Resolution SD_HORIZONTAL
640x480
-
HD_VERTICAL
public static final RenderProperties.Resolution HD_VERTICAL
720x1280
-
HD_HORIZONTAL
public static final RenderProperties.Resolution HD_HORIZONTAL
1280x720
-
-
Method Detail
-
values
public static RenderProperties.Resolution[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (RenderProperties.Resolution c : RenderProperties.Resolution.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RenderProperties.Resolution valueOf​(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Enum<RenderProperties.Resolution>
-
-