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