public interface ReceiptReceivedListener
Modifier and Type | Method and Description |
---|---|
void |
onReceiptReceived(Jid fromJid,
Jid toJid,
java.lang.String receiptId,
Stanza receipt)
Callback invoked when a new receipt got received.
|
void onReceiptReceived(Jid fromJid, Jid toJid, java.lang.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(/packet) which has been received and this receipt is forreceipt
- the receipt