getAllContacts

suspend fun getAllContacts(    context: Context,     @IntRange(from = 0) from: Int? = null,     @IntRange(from = 1) pageSize: Int? = null): List<STWContact>?

Get All contacts (visible company contacts, all SmartMs and non SmartMS contacts)

Return

list of STWContact

Parameters

context

The application context.

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 contacts to be retrieved, 0 will return nothing. Value should be >= 1