public static enum SDPConstants.AudioCodec extends java.lang.Enum<SDPConstants.AudioCodec>
| Modifier and Type | Method and Description |
|---|---|
int |
getId() |
int |
getRate() |
static SDPConstants.AudioCodec |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SDPConstants.AudioCodec[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SDPConstants.AudioCodec PCMU
public static final SDPConstants.AudioCodec PCMA
public static final SDPConstants.AudioCodec G722
public static SDPConstants.AudioCodec[] values()
for (SDPConstants.AudioCodec c : SDPConstants.AudioCodec.values()) System.out.println(c);
public static SDPConstants.AudioCodec valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic int getId()
public int getRate()