public static enum JireconIq.Action extends java.lang.Enum<JireconIq.Action>
Enum Constant and Description |
---|
INFO
It can be set both in packet sent from client to component or packet
sent from component to client, in order to notify the opposite with
some information, such as recording session status.
|
START
It can only be set in packet sent from client to component, in order
to let Jirecon component start a new recording session.
|
STOP
It can only be set in packet sent from client to component, in order
to let Jirecon component stop an specified recording session.
|
UNDEFINED
Means that the action has not been specified.
|
Modifier and Type | Method and Description |
---|---|
static JireconIq.Action |
parse(java.lang.String action)
Parses Action from given string.
|
java.lang.String |
toString() |
static JireconIq.Action |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static JireconIq.Action[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JireconIq.Action START
public static final JireconIq.Action STOP
public static final JireconIq.Action INFO
public static final JireconIq.Action UNDEFINED
public static JireconIq.Action[] values()
for (JireconIq.Action c : JireconIq.Action.values()) System.out.println(c);
public static JireconIq.Action 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 toString()
toString
in class java.lang.Enum<JireconIq.Action>
public static JireconIq.Action parse(java.lang.String action)
action
- the string representation of Action.UNDEFINED
if given string does not
reflect any of valid values.
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.