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 |
| 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() |
java.lang.String |
getNamespace() |
org.jivesoftware.smack.util.XmlStringBuilder |
toXML() |
public static final java.lang.String NAMESPACE
public static final java.lang.String ELEMENT
public java.lang.String getId()
public java.lang.String getElementName()
getElementName in interface org.jivesoftware.smack.packet.NamedElementpublic java.lang.String getNamespace()
getNamespace in interface org.jivesoftware.smack.packet.ExtensionElementpublic org.jivesoftware.smack.util.XmlStringBuilder toXML()
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