public static enum Room.VideoCodec extends Enum<Room.VideoCodec>
| Modifier and Type | Method and Description |
|---|---|
static Room.VideoCodec |
forValue(String value)
Generate a VideoCodec from a string.
|
String |
toString() |
static Room.VideoCodec |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Room.VideoCodec[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Room.VideoCodec VP8
public static final Room.VideoCodec H264
public static Room.VideoCodec[] values()
for (Room.VideoCodec c : Room.VideoCodec.values()) System.out.println(c);
public static Room.VideoCodec 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<Room.VideoCodec>public static Room.VideoCodec forValue(String value)
value - string valueCopyright © 2016 Twilio, Inc. All Rights Reserved.