Package com.twilio.rest.video.v1
Enum Recording.Codec
- java.lang.Object
-
- java.lang.Enum<Recording.Codec>
-
- com.twilio.rest.video.v1.Recording.Codec
-
- All Implemented Interfaces:
Serializable
,Comparable<Recording.Codec>
- Enclosing class:
- Recording
public static enum Recording.Codec extends Enum<Recording.Codec>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Recording.Codec
forValue(String value)
Generate a Codec from a string.String
toString()
static Recording.Codec
valueOf(String name)
Returns the enum constant of this type with the specified name.static Recording.Codec[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
VP8
public static final Recording.Codec VP8
-
H264
public static final Recording.Codec H264
-
OPUS
public static final Recording.Codec OPUS
-
PCMU
public static final Recording.Codec PCMU
-
-
Method Detail
-
values
public static Recording.Codec[] 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 (Recording.Codec c : Recording.Codec.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Recording.Codec 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:
toString
in classEnum<Recording.Codec>
-
forValue
public static Recording.Codec forValue(String value)
Generate a Codec from a string.- Parameters:
value
- string value- Returns:
- generated Codec
-
-