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(org.jivesoftware.smack.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 static java.util.List<java.lang.String> getSharedGroups(org.jivesoftware.smack.XMPPConnection connection)
throws org.jivesoftware.smack.SmackException.NoResponseException,
org.jivesoftware.smack.XMPPException.XMPPErrorException,
org.jivesoftware.smack.SmackException.NotConnectedException
connection - connection to use to get the user's shared groups.org.jivesoftware.smack.XMPPException.XMPPErrorExceptionorg.jivesoftware.smack.SmackException.NoResponseExceptionorg.jivesoftware.smack.SmackException.NotConnectedException