public interface ReceiptReceivedListener
Modifier and Type | Method and Description |
---|---|
void |
onReceiptReceived(String fromJid,
String toJid,
String receiptId)
Callback invoked when a new receipt got received.
|
void onReceiptReceived(String fromJid, String toJid, String receiptId)
receiptId
correspondents to the message ID, which can be obtained with
Packet.getPacketID()
.
fromJid
- the jid that send this receipttoJid
- the jid which received this receiptreceiptId
- the message ID of the packet which has been received and this receipt is for