public static enum RoomRecording.Codec extends Enum<RoomRecording.Codec>
| Modifier and Type | Method and Description |
|---|---|
static RoomRecording.Codec |
forValue(String value)
Generate a Codec from a string.
|
String |
toString() |
static RoomRecording.Codec |
valueOf(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.
|
public static final RoomRecording.Codec VP8
public static final RoomRecording.Codec H264
public static final RoomRecording.Codec OPUS
public static final RoomRecording.Codec PCMU
public static RoomRecording.Codec[] values()
for (RoomRecording.Codec c : RoomRecording.Codec.values()) System.out.println(c);
public static RoomRecording.Codec 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 String toString()
toString in class Enum<RoomRecording.Codec>public static RoomRecording.Codec forValue(String value)
value - string valueCopyright © 2016 Twilio, Inc. All Rights Reserved.