Builder

class Builder

Builder class for creating instances of SearchCriteria.

This Builder class provides an API for configuring the search criteria.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard

Constructs a SearchCriteria instance with the provided search criteria settings.

Link copied to clipboard
fun setAddQueryAsContactWithEmailToResult(addQueryAsContactWithEmailToResult: Boolean): <Error class: unknown class>

Sets whether to add the query as a contact with an email to the search result.

fun setAddQueryAsContactWithPhoneNumberToResult(addQueryAsContactWithPhoneNumber: Boolean): <Error class: unknown class>

Sets whether to add the query as a contact with the phone number to the search result.

Link copied to clipboard
fun setSearchChannels(searchChannels: Boolean): <Error class: unknown class>

Sets whether to search channels.

Link copied to clipboard
fun setSearchCompanies(searchCompanies: Boolean): <Error class: unknown class>

Sets whether to search companies.

Link copied to clipboard
fun setSearchCompanyDirectoryContacts(searchCompanyDirectoryContacts: Boolean): <Error class: unknown class>

Sets whether to search contacts by name in the company directory.

Link copied to clipboard
fun setSearchDirectoryCompanyId(companyId: String?): <Error class: unknown class>

Sets the company ID in which to perform the directory search.

Link copied to clipboard
fun setSearchGroups(searchGroups: Boolean): <Error class: unknown class>

Sets whether to search groups.

Link copied to clipboard
fun setSearchHuntingGroups(searchHuntingGroups: Boolean): <Error class: unknown class>

Sets whether to search hunting groups.

Link copied to clipboard
fun setSearchLocalByEmail(searchLocalByEmail: Boolean): <Error class: unknown class>

Sets whether to search local or cached contact by email.

Link copied to clipboard
fun setSearchLocalContacts(searchLocalContacts: Boolean): <Error class: unknown class>

Sets whether to search local or cached contacts by name.

Link copied to clipboard
fun setSearchOffice365(searchOffice365: Boolean): <Error class: unknown class>

Sets whether to search contacts in Office 365.

Link copied to clipboard
fun setSearchOtherCompaniesDirectoryContacts(searchOtherCompaniesDirectoryContacts: Boolean): <Error class: unknown class>

Sets whether to search contacts by name in other companies directories.

Link copied to clipboard
fun setSearchP2PConversations(searchP2PConversations: Boolean): <Error class: unknown class>

Sets whether to search peer to peer conversations.

Link copied to clipboard
fun setSearchPhoneBook(searchPhoneBook: Boolean): <Error class: unknown class>

Sets whether to search contacts in the phone book.

Link copied to clipboard
fun setSearchRainbowContacts(searchRainbowContacts: Boolean): <Error class: unknown class>

Sets whether to search Rainbow contacts by name.

Link copied to clipboard
fun setSearchRainbowContactsByTags(searchRainbowContactsByTags: Boolean): <Error class: unknown class>

Sets whether to search Rainbow contacts by tags.

Link copied to clipboard
fun setSearchResultFilter(searchResultFilter: SearchCriteria.SearchResultFilter): <Error class: unknown class>

Sets the search result filter.

Link copied to clipboard
fun setSearchRoomConversations(searchRoomConversations: Boolean): <Error class: unknown class>

Sets whether to search room conversations.

Link copied to clipboard
fun setSearchRooms(searchRooms: Boolean): <Error class: unknown class>

Sets whether to search rooms by name.

Link copied to clipboard
fun setSearchRoomsByParticipants(searchRoomsByParticipants: Boolean): <Error class: unknown class>

Sets whether to search rooms by participants name.

Link copied to clipboard
fun setSearchRoomsByTags(searchRoomsByTags: Boolean): <Error class: unknown class>

Sets whether to search room by tags.

Link copied to clipboard
fun setSearchTextInConversations(searchTextInConversations: Boolean): <Error class: unknown class>

Sets whether to search text in conversations.