getAllContactsWithPhoneSearch

suspend fun getAllContactsWithPhoneSearch(    context: Context,     search: String?,     @IntRange(from = 0) from: Int,     @IntRange(from = 1) pageSize: Int): List<STWSingleContact>?

Get a list of single contact having international phone number that contains a search keyword

Return

list of STWSingleContact

Parameters

context

The application context

search

The query of search

from

The offset of the first contact starting from it will return contact list based on pageSize. Value should be >= 0

pageSize

The max number of contact record to be retrieved, 0 will return nothing. Value should be >= 1