|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface OperationSetGenericNotifications
Provides notification for custom/generic events and possibility to generate such events.
| Method Summary | |
|---|---|
void |
addGenericEventListener(String eventName,
GenericEventListener listener)
Registers a GenericEventListener with this operation set so that it gets notifications for new event notifications. |
void |
notifyForEvent(Contact contact,
String eventName,
String eventValue)
Generates new generic event notification and send it to the supplied contact. |
void |
notifyForEvent(String jid,
String eventName,
String eventValue)
Generates new generic event notification and send it to the supplied contact. |
void |
notifyForEvent(String jid,
String eventName,
String eventValue,
String source)
Generates new generic event notification and send it to the supplied contact. |
void |
removeGenericEventListener(String eventName,
GenericEventListener listener)
Unregisters listener so that it won't receive any further notifications upon new event notifications. |
| Method Detail |
|---|
void notifyForEvent(Contact contact,
String eventName,
String eventValue)
contact - the contact to receive the event notification.eventName - the event name of the notification.eventValue - the event value of the notification.
void notifyForEvent(String jid,
String eventName,
String eventValue)
jid - the contact jid which will receive the event notification.eventName - the event name of the notification.eventValue - the event value of the notification.
void notifyForEvent(String jid,
String eventName,
String eventValue,
String source)
jid - the contact jid which will receive the event notification.eventName - the event name of the notification.eventValue - the event value of the notification.source - the source that will be reported in the event.
void addGenericEventListener(String eventName,
GenericEventListener listener)
eventName - register the listener for certain event name.listener - the GenericEventListener
to register.
void removeGenericEventListener(String eventName,
GenericEventListener listener)
eventName - unregister the listener for certain event name.listener - the GenericEventListener
to unregister.
|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||