public class NotificationEventIQ
extends org.jivesoftware.smack.packet.IQ
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ELEMENT_NAME
The name of the element that contains the notification event data.
|
(package private) static java.lang.String |
EVENT_NAME
The name of the argument that contains the event name.
|
(package private) static java.lang.String |
EVENT_SOURCE
The name of the argument that contains the event source.
|
(package private) static java.lang.String |
EVENT_VALUE
The name of the argument that contains the event value.
|
static java.lang.String |
NAMESPACE
The namespace that input notification belongs to.
|
Constructor and Description |
---|
NotificationEventIQ() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getChildElementXML()
Returns the sub-element XML section of the IQ packet,
or null if there isn't one.
|
java.lang.String |
getEventName()
Current notification event name.
|
java.lang.String |
getEventSource()
Current notification event source.
|
java.lang.String |
getEventValue()
Current notification event value.
|
void |
setEventName(java.lang.String eventName)
Sets event new name.
|
void |
setEventSource(java.lang.String eventSource)
Sets event source new value.
|
void |
setEventValue(java.lang.String eventValue)
Sets event new value.
|
createErrorResponse, createResultIQ, getType, setType, toXML
addExtension, deleteProperty, equals, getDefaultLanguage, getError, getExtension, getExtension, getExtensions, getExtensionsXML, getFrom, getPacketID, getProperty, getPropertyNames, getTo, getXmlns, hashCode, nextID, removeExtension, setDefaultXmlns, setError, setFrom, setPacketID, setProperty, setTo
public static final java.lang.String NAMESPACE
public static final java.lang.String ELEMENT_NAME
static final java.lang.String EVENT_NAME
static final java.lang.String EVENT_VALUE
static final java.lang.String EVENT_SOURCE
public java.lang.String getChildElementXML()
Extensions of this class must override this method.
getChildElementXML
in class org.jivesoftware.smack.packet.IQ
public java.lang.String getEventName()
public void setEventName(java.lang.String eventName)
eventName
- new event name.public java.lang.String getEventValue()
public void setEventValue(java.lang.String eventValue)
eventValue
- new event value.public java.lang.String getEventSource()
public void setEventSource(java.lang.String eventSource)
eventSource
- value.
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.