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 TypeMethodDescriptionvoid
cancelledNotification
(Jid from, String packetID) Called when a notification that the receiver of the message cancelled the reply is received.void
composingNotification
(Jid from, String packetID) Called when a notification that the receiver of the message is composing a reply is received.void
deliveredNotification
(Jid from, String packetID) Called when a notification of message delivered is received.void
displayedNotification
(Jid from, String packetID) Called when a notification of message displayed is received.void
offlineNotification
(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.
-