public class JingleReason extends Object implements NamedElement
Modifier and Type | Class and Description |
---|---|
static class |
JingleReason.AlternativeSession |
static class |
JingleReason.Reason |
Modifier and Type | Field and Description |
---|---|
static JingleReason |
Busy |
static JingleReason |
Cancel |
static JingleReason |
ConnectivityError |
static JingleReason |
Decline |
static String |
ELEMENT |
static JingleReason |
Expired |
static JingleReason |
FailedApplication |
static JingleReason |
FailedTransport |
static JingleReason |
GeneralError |
static JingleReason |
Gone |
static JingleReason |
IncompatibleParameters |
static JingleReason |
MediaError |
protected JingleReason.Reason |
reason |
static JingleReason |
SecurityError |
static JingleReason |
Success |
static JingleReason |
Timeout |
static JingleReason |
UnsupportedApplications |
static JingleReason |
UnsupportedTransports |
Constructor and Description |
---|
JingleReason(JingleReason.Reason reason) |
Modifier and Type | Method and Description |
---|---|
static JingleReason.AlternativeSession |
AlternativeSession(String sessionId) |
JingleReason.Reason |
asEnum() |
String |
getElementName()
Returns the root element name.
|
XmlStringBuilder |
toXML(String enclosingNamespace)
Returns the XML representation of this Element.
|
public static final String ELEMENT
public static final JingleReason Busy
public static final JingleReason Cancel
public static final JingleReason ConnectivityError
public static final JingleReason Decline
public static final JingleReason Expired
public static final JingleReason FailedApplication
public static final JingleReason FailedTransport
public static final JingleReason GeneralError
public static final JingleReason Gone
public static final JingleReason IncompatibleParameters
public static final JingleReason MediaError
public static final JingleReason SecurityError
public static final JingleReason Success
public static final JingleReason Timeout
public static final JingleReason UnsupportedApplications
public static final JingleReason UnsupportedTransports
protected final JingleReason.Reason reason
public JingleReason(JingleReason.Reason reason)
public static JingleReason.AlternativeSession AlternativeSession(String sessionId)
public String getElementName()
NamedElement
getElementName
in interface NamedElement
public XmlStringBuilder toXML(String enclosingNamespace)
Element
public JingleReason.Reason asEnum()