public class SharedGroupManager extends 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 List<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 List<String> getSharedGroups(XMPPConnection connection) throws SmackException.NoResponseException, XMPPException.XMPPErrorException, SmackException.NotConnectedException
connection - connection to use to get the user's shared groups.XMPPException.XMPPErrorExceptionSmackException.NoResponseExceptionSmackException.NotConnectedException