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