Package org.jivesoftware.smackx.xevent
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 Summary
Modifier and TypeMethodDescriptionvoidcancelledNotification(org.jxmpp.jid.Jid from, String packetID) Called when a notification that the receiver of the message cancelled the reply is received.voidcomposingNotification(org.jxmpp.jid.Jid from, String packetID) Called when a notification that the receiver of the message is composing a reply is received.voiddeliveredNotification(org.jxmpp.jid.Jid from, String packetID) Called when a notification of message delivered is received.voiddisplayedNotification(org.jxmpp.jid.Jid from, String packetID) Called when a notification of message displayed is received.voidofflineNotification(org.jxmpp.jid.Jid from, String packetID) Called when a notification that the receiver of the message is offline is received.
-
Method Details
-
deliveredNotification
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
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
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
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
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.
-