public static enum JMSignalingMessage.MediaType extends java.lang.Enum<JMSignalingMessage.MediaType>
Modifier and Type | Method and Description |
---|---|
int |
getCode() |
static JMSignalingMessage.MediaType |
valueOf(int code) |
static JMSignalingMessage.MediaType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static JMSignalingMessage.MediaType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JMSignalingMessage.MediaType AUDIO
public static final JMSignalingMessage.MediaType VIDEO
public static JMSignalingMessage.MediaType[] values()
for (JMSignalingMessage.MediaType c : JMSignalingMessage.MediaType.values()) System.out.println(c);
public static JMSignalingMessage.MediaType 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 getCode()
public static JMSignalingMessage.MediaType valueOf(int code)