public interface OperationSetContactCapabilities extends OperationSet
Modifier and Type | Method and Description |
---|---|
void |
addContactCapabilitiesListener(ContactCapabilitiesListener listener)
Registers a specific ContactCapabilitiesListener to be notified
about changes in the list of OperationSet capabilities of
Contacts.
|
<T extends OperationSet> |
getOperationSet(Contact contact,
java.lang.Class<T> opsetClass)
Gets the OperationSet corresponding to the specified
Class and supported by the specified Contact.
|
java.util.Map<java.lang.String,OperationSet> |
getSupportedOperationSets(Contact contact)
Gets the OperationSets supported by a specific Contact.
|
void |
removeContactCapabilitiesListener(ContactCapabilitiesListener listener)
Unregisters a specific ContactCapabilitiesListener to no longer
be notified about changes in the list of OperationSet
capabilities of Contacts.
|
void addContactCapabilitiesListener(ContactCapabilitiesListener listener)
listener
- the ContactCapabilitiesListener which is to be
notified about changes in the list of OperationSet capabilities
of Contacts<T extends OperationSet> T getOperationSet(Contact contact, java.lang.Class<T> opsetClass)
T
- the type extending OperationSet for which the
specified contact is to be checked whether it possesses it as a
capabilitycontact
- the Contact for which the opsetClass
capability is to be queriedopsetClass
- the OperationSet Class for which the
specified contact is to be checked whether it possesses it as a
capabilityjava.util.Map<java.lang.String,OperationSet> getSupportedOperationSets(Contact contact)
contact
- the Contact for which the supported
OperationSet capabilities are to be retrievedvoid removeContactCapabilitiesListener(ContactCapabilitiesListener listener)
listener
- the ContactCapabilitiesListener which is to no
longer be notified about changes in the list of OperationSet
capabilities of Contacts
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.