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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
cancelledNotification(Jid from, java.lang.String packetID)
Called when a notification that the receiver of the message cancelled the reply is received.void
composingNotification(Jid from, java.lang.String packetID)
Called when a notification that the receiver of the message is composing a reply is received.void
deliveredNotification(Jid from, java.lang.String packetID)
Called when a notification of message delivered is received.void
displayedNotification(Jid from, java.lang.String packetID)
Called when a notification of message displayed is received.void
offlineNotification(Jid from, java.lang.String packetID)
Called when a notification that the receiver of the message is offline is received.
-
-
-
Method Detail
-
deliveredNotification
void deliveredNotification(Jid from, java.lang.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, java.lang.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, java.lang.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, java.lang.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, java.lang.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.
-
-