public static enum JingleSession.State extends java.lang.Enum<JingleSession.State>
Represents the state of a Jingle session.
Enum Constant and Description |
---|
ACTIVE
The session has been accepted.
|
ENDED
The session has been ended.
|
PENDING
The session has been initiated, but not yet accepted.
|
Modifier and Type | Method and Description |
---|---|
static JingleSession.State |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static JingleSession.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JingleSession.State PENDING
public static final JingleSession.State ACTIVE
public static final JingleSession.State ENDED
public static JingleSession.State[] values()
for (JingleSession.State c : JingleSession.State.values()) System.out.println(c);
public static JingleSession.State 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 nullCopyright © 2014–2019 XMPP.rocks. All rights reserved.