Package org.jivesoftware.smackx.receipts
Interface ReceiptReceivedListener
-
public interface ReceiptReceivedListenerInterface for received receipt notifications. Implement this and add a listener to get notified.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonReceiptReceived(org.jxmpp.jid.Jid fromJid, org.jxmpp.jid.Jid toJid, java.lang.String receiptId, org.jivesoftware.smack.packet.Stanza receipt)Callback invoked when a new receipt got received.
-
-
-
Method Detail
-
onReceiptReceived
void onReceiptReceived(org.jxmpp.jid.Jid fromJid, org.jxmpp.jid.Jid toJid, java.lang.String receiptId, org.jivesoftware.smack.packet.Stanza receipt)Callback invoked when a new receipt got received.receiptIdcorrespondents to the message ID, which can be obtained withStanza.getStanzaId().- Parameters:
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 benull.receipt- the receipt
-
-