public class DeliveryReceiptRequest
extends java.lang.Object
implements org.jivesoftware.smack.packet.ExtensionElement
Modifier and Type | Class and Description |
---|---|
static class |
DeliveryReceiptRequest.Provider
This Provider parses and returns DeliveryReceiptRequest packets.
|
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ELEMENT |
Constructor and Description |
---|
DeliveryReceiptRequest() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
addTo(org.jivesoftware.smack.packet.Message message)
Add a delivery receipt request to an outgoing packet.
|
static DeliveryReceiptRequest |
from(org.jivesoftware.smack.packet.Stanza packet)
Get the
DeliveryReceiptRequest extension of the packet, if any. |
java.lang.String |
getElementName() |
static DeliveryReceiptRequest |
getFrom(org.jivesoftware.smack.packet.Stanza p)
Deprecated.
use
from(Stanza) instead |
java.lang.String |
getNamespace() |
java.lang.String |
toXML(org.jivesoftware.smack.packet.XmlEnvironment enclosingNamespace) |
public static final java.lang.String ELEMENT
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.FullyQualifiedElement
public java.lang.String toXML(org.jivesoftware.smack.packet.XmlEnvironment enclosingNamespace)
toXML
in interface org.jivesoftware.smack.packet.Element
@Deprecated public static DeliveryReceiptRequest getFrom(org.jivesoftware.smack.packet.Stanza p)
from(Stanza)
insteadDeliveryReceiptRequest
extension of the packet, if any.p
- the packetDeliveryReceiptRequest
extension or null
public static DeliveryReceiptRequest from(org.jivesoftware.smack.packet.Stanza packet)
DeliveryReceiptRequest
extension of the packet, if any.packet
- the packetDeliveryReceiptRequest
extension or null
public static java.lang.String addTo(org.jivesoftware.smack.packet.Message message)
message
- Message object to add a request to