public class UserSearchManager
extends java.lang.Object
Constructor and Description |
---|
UserSearchManager(org.jivesoftware.smack.Connection con,
java.lang.String searchService)
Creates a new UserSearchManager.
|
Modifier and Type | Method and Description |
---|---|
static java.util.List<java.lang.String> |
getAvailableServiceNames(ProtocolProviderServiceJabberImpl provider)
Returns a list with the available user search service names for a given
provider.
|
org.jivesoftware.smackx.ReportedData |
searchForString(java.lang.String searchedString)
Performs user search for the searched string.
|
public UserSearchManager(org.jivesoftware.smack.Connection con, java.lang.String searchService)
con
- the Connection to use.searchService
- the user search service name.public static java.util.List<java.lang.String> getAvailableServiceNames(ProtocolProviderServiceJabberImpl provider)
provider
- the provider.public org.jivesoftware.smackx.ReportedData searchForString(java.lang.String searchedString) throws org.jivesoftware.smack.XMPPException
searchedString
- org.jivesoftware.smack.XMPPException
- thrown if a server error has occurred.
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.