Package | Description |
---|---|
net.java.sip.communicator.service.notification | |
net.java.sip.communicator.service.notification.event |
Modifier and Type | Class and Description |
---|---|
class |
CommandNotificationAction
An implementation of the CommandNotificationHandler interface.
|
class |
LogMessageNotificationAction
An implementation of the LogMessageNotificationHandler interface.
|
class |
PopupMessageNotificationAction
An implementation of the PopupMessageNotificationHandler interface.
|
class |
SoundNotificationAction
An implementation of the SoundNotificationHandlerImpl interface.
|
class |
VibrateNotificationAction
VibrateNotificationAction is meant to define haptic feedback
notification using device's vibrator.
Given array of long are the duration for which to turn on or off the vibrator in miliseconds. |
Modifier and Type | Method and Description |
---|---|
NotificationAction |
Notification.getAction(java.lang.String actionType)
Returns the Action corresponding to the given
actionType.
|
NotificationAction |
NotificationService.getEventNotificationAction(java.lang.String eventType,
java.lang.String actionType)
Returns the NotificationAction corresponding to the given event
and action type.
|
NotificationAction |
NotificationServiceImpl.getEventNotificationAction(java.lang.String eventType,
java.lang.String actionType)
Returns the notification action corresponding to the given
eventType and actionType.
|
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,NotificationAction> |
Notification.getActions()
Returns the set of actions registered for this event notification.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
Notification.addAction(NotificationAction action)
Adds the given actionType to the list of actions for this event
notifications.
|
void |
NotificationService.registerDefaultNotificationForEvent(java.lang.String eventType,
NotificationAction handler)
Registers a default notification for the given eventType by
specifying the action to be performed when a notification is fired for
this event.
|
void |
NotificationServiceImpl.registerDefaultNotificationForEvent(java.lang.String eventType,
NotificationAction action)
Creates a new default EventNotification or obtains the
corresponding existing one and registers a new action in it.
|
void |
NotificationService.registerNotificationForEvent(java.lang.String eventType,
NotificationAction action)
Registers a notification for the given eventType by specifying
the action to be performed when a notification is fired for this event.
|
void |
NotificationServiceImpl.registerNotificationForEvent(java.lang.String eventType,
NotificationAction action)
Creates a new EventNotification or obtains the corresponding
existing one and registers a new action in it.
|
Modifier and Type | Method and Description |
---|---|
NotificationAction |
NotificationActionTypeEvent.getActionHandler()
Returns the NotificationActionHandler that handles the action,
for which this event is about.
|
Constructor and Description |
---|
NotificationActionTypeEvent(NotificationService source,
java.lang.String eventType,
java.lang.String sourceEventType,
NotificationAction actionHandler)
Creates an instance of this event according to the specified type.
|
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.