/*
* Jitsi, the OpenSource Java VoIP and Instant Messaging client.
*
* Distributable under LGPL license.
* See terms of license at gnu.org.
*/
package net.java.sip.communicator.service.notification;
/**
* The PopupMessageNotificationHandler interface is meant to be
* implemented by the notification bundle in order to provide handling of
* popup message actions.
*
* @author Yana Stamcheva
*/
public interface PopupMessageNotificationHandler
extends NotificationHandler
{
/**
* Shows the given PopupMessage
*
* @param action the action to act upon
* @param title the title of the given message
* @param message the message to use if and where appropriate (e.g. with
* systray or log notification.)
* @param icon the icon to show in the notification if and where
* appropriate
* @param tag additional info to be used by the notification handler
*/
public void popupMessage(PopupMessageNotificationAction action,
String title,
String message,
byte[] icon,
Object tag);
}