Enum RecorderEvent.AspectRatio
- java.lang.Object
-
- java.lang.Enum<RecorderEvent.AspectRatio>
-
- org.jitsi.service.neomedia.recording.RecorderEvent.AspectRatio
-
- All Implemented Interfaces:
Serializable,Comparable<RecorderEvent.AspectRatio>
- Enclosing class:
- RecorderEvent
public static enum RecorderEvent.AspectRatio extends Enum<RecorderEvent.AspectRatio>
Video aspect ratio.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ASPECT_RATIO_16_9ASPECT_RATIO_4_3ASPECT_RATIO_UNKNOWN
-
Field Summary
Fields Modifier and Type Field Description doublescaleFactor
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RecorderEvent.AspectRatioparseString(String str)StringtoString()static RecorderEvent.AspectRatiovalueOf(String name)Returns the enum constant of this type with the specified name.static RecorderEvent.AspectRatio[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ASPECT_RATIO_16_9
public static final RecorderEvent.AspectRatio ASPECT_RATIO_16_9
-
ASPECT_RATIO_4_3
public static final RecorderEvent.AspectRatio ASPECT_RATIO_4_3
-
ASPECT_RATIO_UNKNOWN
public static final RecorderEvent.AspectRatio ASPECT_RATIO_UNKNOWN
-
-
Method Detail
-
values
public static RecorderEvent.AspectRatio[] 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 (RecorderEvent.AspectRatio c : RecorderEvent.AspectRatio.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RecorderEvent.AspectRatio valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
toString
public String toString()
- Overrides:
toStringin classEnum<RecorderEvent.AspectRatio>
-
parseString
public static RecorderEvent.AspectRatio parseString(String str)
-
-