Interface MessageEventNotificationListener


  • public interface MessageEventNotificationListener
    A listener that is fired anytime a message event notification is received. Message event notifications are received as a consequence of the request to receive notifications when sending a message.
    • Method Detail

      • deliveredNotification

        void deliveredNotification​(Jid from,
                                   String packetID)
        Called when a notification of message delivered is received.
        Parameters:
        from - the user that sent the notification.
        packetID - the id of the message that was sent.
      • displayedNotification

        void displayedNotification​(Jid from,
                                   String packetID)
        Called when a notification of message displayed is received.
        Parameters:
        from - the user that sent the notification.
        packetID - the id of the message that was sent.
      • composingNotification

        void composingNotification​(Jid from,
                                   String packetID)
        Called when a notification that the receiver of the message is composing a reply is received.
        Parameters:
        from - the user that sent the notification.
        packetID - the id of the message that was sent.
      • offlineNotification

        void offlineNotification​(Jid from,
                                 String packetID)
        Called when a notification that the receiver of the message is offline is received.
        Parameters:
        from - the user that sent the notification.
        packetID - the id of the message that was sent.
      • cancelledNotification

        void cancelledNotification​(Jid from,
                                   String packetID)
        Called when a notification that the receiver of the message cancelled the reply is received.
        Parameters:
        from - the user that sent the notification.
        packetID - the id of the message that was sent.