public interface ReceiptReceivedListener
Modifier and Type | Method and Description |
---|---|
void |
onReceiptReceived(java.lang.String fromJid,
java.lang.String toJid,
java.lang.String receiptId)
Callback invoked when a new receipt got received.
|
void onReceiptReceived(java.lang.String fromJid, java.lang.String toJid, java.lang.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