search Company Contacts
suspend fun searchCompanyContacts( context: Context, filterOption: STWContactFilterOption? = null, search: String? = null, @IntRange(from = 0 ) from: Int? = null, @IntRange(from = 1, to = 50 ) pageSize: Int? = null): List<STWContact>?
Content copied to clipboard
Call this method to search for contacts. A request will be send to server from the local database to retrieve searched contacts and merged with local contacts
Return
List of STWContact.
Parameters
context
The application context
filter
filter of type STWContactFilterOption used to configure the filter of the search
search
keyword used to filter the contacts based on multiple criteria
from
The offset of the first contact starting from it will return contact list based on pageSize. Value should be >= 0
page Size
The max number of contacts to be retrieved, 0 will return nothing. Value should be >= 1 and <=50