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()
Get the id of the message that has been delivered.
|
java.lang.String |
getNamespace() |
org.jivesoftware.smack.util.XmlStringBuilder |
toXML(java.lang.String enclosingNamespace) |
public static final java.lang.String NAMESPACE
public static final java.lang.String ELEMENT
public java.lang.String getId()
null
.public java.lang.String getElementName()
getElementName
in interface org.jivesoftware.smack.packet.NamedElement
public java.lang.String getNamespace()
getNamespace
in interface org.jivesoftware.smack.packet.ExtensionElement
public org.jivesoftware.smack.util.XmlStringBuilder toXML(java.lang.String 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 null
public static DeliveryReceipt from(org.jivesoftware.smack.packet.Message message)
DeliveryReceipt
extension of the message, if any.message
- the message.DeliveryReceipt
extension or null