net.java.sip.communicator.impl.gui.utils
Class NotificationManager
java.lang.Object
net.java.sip.communicator.impl.gui.utils.NotificationManager
public class NotificationManager
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INCOMING_MESSAGE
public static final String INCOMING_MESSAGE
- See Also:
- Constant Field Values
INCOMING_CALL
public static final String INCOMING_CALL
- See Also:
- Constant Field Values
OUTGOING_CALL
public static final String OUTGOING_CALL
- See Also:
- Constant Field Values
BUSY_CALL
public static final String BUSY_CALL
- See Also:
- Constant Field Values
DIALING
public static final String DIALING
- See Also:
- Constant Field Values
HANG_UP
public static final String HANG_UP
- See Also:
- Constant Field Values
PROACTIVE_NOTIFICATION
public static final String PROACTIVE_NOTIFICATION
- See Also:
- Constant Field Values
SECURITY_MESSAGE
public static final String SECURITY_MESSAGE
- See Also:
- Constant Field Values
CALL_SECURITY_ON
public static final String CALL_SECURITY_ON
- See Also:
- Constant Field Values
CALL_SECURITY_ERROR
public static final String CALL_SECURITY_ERROR
- See Also:
- Constant Field Values
INCOMING_FILE
public static final String INCOMING_FILE
- See Also:
- Constant Field Values
CALL_SAVED
public static final String CALL_SAVED
- See Also:
- Constant Field Values
NotificationManager
public NotificationManager()
registerGuiNotifications
public static void registerGuiNotifications()
fireNotification
public static void fireNotification(String eventType,
String messageTitle,
String message)
- Fires a message notification for the given event type through the
NotificationService.
- Parameters:
eventType - the event type for which we fire a notificationmessageTitle - the title of the messagemessage - the content of the message
fireChatNotification
public static void fireChatNotification(Object chatContact,
String eventType,
String messageTitle,
String message)
- Fires a chat message notification for the given event type through the
NotificationService.
- Parameters:
chatContact - the chat contact to which the chat message corresponds;
the chat contact could be a Contact or a ChatRoom.eventType - the event type for which we fire a notificationmessageTitle - the title of the messagemessage - the content of the message
fireNotification
public static void fireNotification(String eventType)
- Fires a notification for the given event type through the
NotificationService. The event type is one of the static
constants defined in this class.
- Parameters:
eventType - the event type for which we want to fire a notification
stopSound
public static void stopSound(String eventType)
- Stops all sounds for the given event type.
- Parameters:
eventType - the event type for which we should stop sounds. One of
the static event types defined in this class.
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.