public class ContactCapabilitiesEvent
extends java.util.EventObject
Modifier and Type | Field and Description |
---|---|
static int |
SUPPORTED_OPERATION_SETS_CHANGED
The ID of the ContactCapabilitiesEvent which notifies about
changes in the list of the OperationSet capabilities of a
Contact.
|
Constructor and Description |
---|
ContactCapabilitiesEvent(Contact sourceContact,
int eventID,
java.util.Map<java.lang.String,? extends OperationSet> opSets)
Initializes a new ContactCapabilitiesEvent instance which is to
notify about a specific change in the list of OperationSet
capabilities of a specific Contact.
|
Modifier and Type | Method and Description |
---|---|
int |
getEventID()
Gets the ID of this event which indicates the specifics of the change in
the list of OperationSet capabilities of the associated
sourceContact and the details it carries.
|
java.util.Map<java.lang.String,? extends OperationSet> |
getOperationSets()
Returns the new set of OperationSet-s this event is about
|
Contact |
getSourceContact()
Gets the Contact which is the source/cause of this event i.e.
|
public static final int SUPPORTED_OPERATION_SETS_CHANGED
public ContactCapabilitiesEvent(Contact sourceContact, int eventID, java.util.Map<java.lang.String,? extends OperationSet> opSets)
sourceContact
- the Contact which is to be considered the
source/cause of the new eventeventID
- the ID of the new event which indicates the specifics of
the change in the list of OperationSet capabilities of the
specified sourceContact and the details to be carried by the new
eventopSets
- the new set of operation sets this event is aboutpublic int getEventID()
public Contact getSourceContact()
public java.util.Map<java.lang.String,? extends OperationSet> getOperationSets()
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.