search Company Contacts As Paging Source
fun searchCompanyContactsAsPagingSource( context: Context, filter: STWContactFilterOption? = null, search: String? = null): PagingSource<Int, 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 The max number of contacts to be retrieved should be >= 1 and <=50.
Return
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 criterias