Package com.twilio.rest.video.v1.room
Enum RoomRecording.Codec
- java.lang.Object
-
- java.lang.Enum<RoomRecording.Codec>
-
- com.twilio.rest.video.v1.room.RoomRecording.Codec
-
- All Implemented Interfaces:
Serializable,Comparable<RoomRecording.Codec>
- Enclosing class:
- RoomRecording
public static enum RoomRecording.Codec extends Enum<RoomRecording.Codec>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RoomRecording.CodecforValue(String value)StringtoString()static RoomRecording.CodecvalueOf(String name)Returns the enum constant of this type with the specified name.static RoomRecording.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 RoomRecording.Codec VP8
-
H264
public static final RoomRecording.Codec H264
-
OPUS
public static final RoomRecording.Codec OPUS
-
PCMU
public static final RoomRecording.Codec PCMU
-
-
Method Detail
-
values
public static RoomRecording.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 (RoomRecording.Codec c : RoomRecording.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 RoomRecording.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:
toStringin classEnum<RoomRecording.Codec>
-
forValue
public static RoomRecording.Codec forValue(String value)
-
-