public enum CodecType extends Enum<CodecType>
| Modifier and Type | Method and Description |
|---|---|
static CodecType |
fromName(String name) |
String |
getDecoder() |
String |
getEncoder() |
String |
getName() |
static CodecType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CodecType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CodecType L16
public static final CodecType PCMU
public static final CodecType PCMA
public static final CodecType GSM
public static final CodecType G729
public static CodecType[] values()
for (CodecType c : CodecType.values()) System.out.println(c);
public static CodecType 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 getName()
public String getEncoder()
public String getDecoder()
Copyright © 2016 TeleStax, Inc.. All Rights Reserved.