Interface ReceiptReceivedListener


  • public interface ReceiptReceivedListener
    Interface for received receipt notifications. Implement this and add a listener to get notified.
    • Method Detail

      • onReceiptReceived

        void onReceiptReceived​(Jid fromJid,
                               Jid toJid,
                               java.lang.String receiptId,
                               Stanza receipt)
        Callback invoked when a new receipt got received.

        receiptId correspondents to the message ID, which can be obtained with Stanza.getStanzaId().

        Parameters:
        fromJid - the jid that send this receipt
        toJid - the jid which received this receipt
        receiptId - the message ID of the stanza which has been received and this receipt is for. This might be null.
        receipt - the receipt