public static enum SessionDescription.Type extends java.lang.Enum<SessionDescription.Type>
Modifier and Type | Method and Description |
---|---|
java.lang.String |
canonicalForm() |
static SessionDescription.Type |
fromCanonicalForm(java.lang.String canonical) |
static SessionDescription.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SessionDescription.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SessionDescription.Type OFFER
public static final SessionDescription.Type PRANSWER
public static final SessionDescription.Type ANSWER
public static final SessionDescription.Type ROLLBACK
public static SessionDescription.Type[] values()
for (SessionDescription.Type c : SessionDescription.Type.values()) System.out.println(c);
public static SessionDescription.Type 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 java.lang.String canonicalForm()
public static SessionDescription.Type fromCanonicalForm(java.lang.String canonical)
7.0.3