public abstract class MessageDeliveryReceipts extends Object
<request/> element in a message (it's a singleton):
message.addExtension(MessageDeliveryReceipts.REQUEST);
To include a <received/> element in a message:
message.addExtension(new MessageDeliveryReceipts.Received(id));
| Modifier and Type | Class and Description |
|---|---|
static class |
MessageDeliveryReceipts.Received
The implementation of the
<received/> element in the urn:xmpp:receipts namespace. |
static class |
MessageDeliveryReceipts.Request
The implementation of the
<request/> element in the urn:xmpp:receipts namespace. |
| Modifier and Type | Field and Description |
|---|---|
static String |
NAMESPACE
urn:xmpp:receipts
|
static MessageDeliveryReceipts.Request |
REQUEST
The implementation of the
<request/> element in the urn:xmpp:receipts namespace. |
public static final MessageDeliveryReceipts.Request REQUEST
<request/> element in the urn:xmpp:receipts namespace.public static final String NAMESPACE
Copyright © 2014–2017 XMPP.rocks. All rights reserved.