public interface PopupMessageNotificationHandler extends NotificationHandler
Modifier and Type | Method and Description |
---|---|
void |
addPopupMessageListener(SystrayPopupMessageListener listener)
Adds a listener for SystrayPopupMessageEvents posted when user
clicks on the system tray popup message.
|
void |
popupMessage(PopupMessageNotificationAction action,
java.lang.String title,
java.lang.String message,
byte[] icon,
java.lang.Object tag)
Shows the given PopupMessage
|
void |
removePopupMessageListener(SystrayPopupMessageListener listener)
Removes a listener previously added with
addPopupMessageListener.
|
getActionType
void popupMessage(PopupMessageNotificationAction action, java.lang.String title, java.lang.String message, byte[] icon, java.lang.Object tag)
action
- the action to act upontitle
- the title of the given messagemessage
- the message to use if and where appropriate (e.g. with
systray or log notification.)icon
- the icon to show in the notification if and where
appropriatetag
- additional info to be used by the notification handlervoid addPopupMessageListener(SystrayPopupMessageListener listener)
listener
- the listener to addvoid removePopupMessageListener(SystrayPopupMessageListener listener)
listener
- the listener to remove
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.