public class SharedGroupManager extends java.lang.Object
Important note: This functionality is not part of the XMPP spec and it will only work with Wildfire.
| Constructor and Description |
|---|
SharedGroupManager() |
| Modifier and Type | Method and Description |
|---|---|
static java.util.List<java.lang.String> |
getSharedGroups(XMPPConnection connection)
Returns the collection that will contain the name of the shared groups where the user
logged in with the specified session belongs.
|
public SharedGroupManager()
public static java.util.List<java.lang.String> getSharedGroups(XMPPConnection connection) throws SmackException.NoResponseException, XMPPException.XMPPErrorException, SmackException.NotConnectedException, java.lang.InterruptedException
connection - connection to use to get the user's shared groups.XMPPException.XMPPErrorExceptionSmackException.NoResponseExceptionSmackException.NotConnectedExceptionjava.lang.InterruptedException