public enum JingleAction extends java.lang.Enum<JingleAction>
Enum Constant and Description |
---|
ADDSOURCE
The "addsource" action used in Jitsi-Meet.
|
CONTENT_ACCEPT
The content-accept action is used to accept a
content-add action received from another party.
|
CONTENT_ADD
The content-add action is used to add one or more new content
definitions to the session.
|
CONTENT_MODIFY
The content-modify action is used to change the direction of an
existing content definition through modification of the 'senders'
attribute.
|
CONTENT_REJECT
The content-reject action is used to reject a
content-add action received from another party.
|
CONTENT_REMOVE
The content-remove action is used to remove one or more content
definitions from the session.
|
DESCRIPTION_INFO
The description-info action is used to send informational hints
about parameters related to the application type, such as the suggested
height and width of a video display area or suggested configuration for
an audio stream.
|
REMOVESOURCE
The "removesource" action used in Jitsi-Meet.
|
SECURITY_INFO
The security-info action is used to send information related to
establishment or maintenance of security preconditions.
|
SESSION_ACCEPT
The session-accept action is used to definitively accept a
session negotiation (implicitly this action also serves as a
content-accept).
|
SESSION_INFO
The session-info action is used to send information related to
establishment or maintenance of security preconditions.
|
SESSION_INITIATE
The session-initiate action is used to request negotiation of a
new Jingle session.
|
SESSION_TERMINATE
The session-terminate action is used to end an existing session.
|
SOURCEADD
The "source-add" action used in Jitsi-Meet.
|
SOURCEREMOVE
The "source-remove" action used in Jitsi-Meet.
|
TRANSPORT_ACCEPT
The transport-accept action is used to accept a
transport-replace action received from another party.
|
TRANSPORT_INFO
The transport-info action is used to exchange transport
candidates; it is mainly used in Jingle ICE-UDP but might be used in
other transport specifications.
|
TRANSPORT_REJECT
The transport-reject action is used to reject a
transport-replace action received from another party.
|
TRANSPORT_REPLACE
The transport-replace action is used to redefine a transport
method, typically for fallback to a different method (e.g., changing
from ICE-UDP to Raw UDP for a datagram transport, or changing from
SOCKS5 Bytestreams to In-Band Bytestreams [27] for a streaming
transport).
|
Modifier and Type | Method and Description |
---|---|
static JingleAction |
parseString(java.lang.String jingleActionStr)
Returns a JingleAction value corresponding to the specified
jingleActionStr or in other words
SESSION_INITIATE for
"session-initiate" or TRANSPORT_ACCEPT for "transport-accept"). |
java.lang.String |
toString()
Returns the name of this JingleAction (e.g.
|
static JingleAction |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static JingleAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JingleAction CONTENT_ACCEPT
public static final JingleAction CONTENT_ADD
public static final JingleAction CONTENT_MODIFY
public static final JingleAction CONTENT_REJECT
public static final JingleAction CONTENT_REMOVE
If the content-remove results in zero content definitions for the session, the entity that receives the content-remove SHOULD send a session-terminate action to the other party (since a session with no content definitions is void).
public static final JingleAction DESCRIPTION_INFO
public static final JingleAction SECURITY_INFO
public static final JingleAction SESSION_ACCEPT
public static final JingleAction SESSION_INFO
public static final JingleAction SESSION_INITIATE
public static final JingleAction SESSION_TERMINATE
public static final JingleAction TRANSPORT_ACCEPT
public static final JingleAction TRANSPORT_INFO
public static final JingleAction TRANSPORT_REJECT
public static final JingleAction TRANSPORT_REPLACE
public static final JingleAction ADDSOURCE
public static final JingleAction REMOVESOURCE
public static final JingleAction SOURCEADD
public static final JingleAction SOURCEREMOVE
public static JingleAction[] values()
for (JingleAction c : JingleAction.values()) System.out.println(c);
public static JingleAction 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<JingleAction>
public static JingleAction parseString(java.lang.String jingleActionStr)
SESSION_INITIATE
for
"session-initiate" or TRANSPORT_ACCEPT
for "transport-accept").jingleActionStr
- the action String that we'd like to
parse.
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.