public class DeliveryReceipt
extends java.lang.Object
implements org.jivesoftware.smack.packet.ExtensionElement
| Modifier and Type | Class and Description |
|---|---|
static class |
DeliveryReceipt.Provider
This Provider parses and returns DeliveryReceipt packets.
|
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ELEMENT |
static java.lang.String |
NAMESPACE |
static javax.xml.namespace.QName |
QNAME |
| Constructor and Description |
|---|
DeliveryReceipt(java.lang.String id) |
| Modifier and Type | Method and Description |
|---|---|
static DeliveryReceipt |
from(org.jivesoftware.smack.packet.Message message)
Get the
DeliveryReceipt extension of the message, if any. |
java.lang.String |
getElementName() |
static DeliveryReceipt |
getFrom(org.jivesoftware.smack.packet.Message p)
Deprecated.
use
from(Message) instead |
java.lang.String |
getId()
Get the id of the message that has been delivered.
|
java.lang.String |
getNamespace() |
org.jivesoftware.smack.util.XmlStringBuilder |
toXML(org.jivesoftware.smack.packet.XmlEnvironment enclosingNamespace) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic static final java.lang.String NAMESPACE
public static final java.lang.String ELEMENT
public static final javax.xml.namespace.QName QNAME
public java.lang.String getId()
null.public java.lang.String getElementName()
getElementName in interface org.jivesoftware.smack.packet.NamedElementpublic java.lang.String getNamespace()
getNamespace in interface org.jivesoftware.smack.packet.FullyQualifiedElementpublic org.jivesoftware.smack.util.XmlStringBuilder toXML(org.jivesoftware.smack.packet.XmlEnvironment enclosingNamespace)
toXML in interface org.jivesoftware.smack.packet.Element@Deprecated public static DeliveryReceipt getFrom(org.jivesoftware.smack.packet.Message p)
from(Message) insteadDeliveryReceipt extension of the packet, if any.p - the packetDeliveryReceipt extension or nullpublic static DeliveryReceipt from(org.jivesoftware.smack.packet.Message message)
DeliveryReceipt extension of the message, if any.message - the message.DeliveryReceipt extension or null