getSmartMSContacts

open fun getSmartMSContacts(@NonNull context: Context): List<ContactItem>
open fun getSmartMSContacts(@NonNull context: Context, @Nullable filtersList: STWContactFilterOption): List<ContactItem>

Get All contacts from other departments, other companies and other SmartMs Apps witch are synced with local contacts

Return

list of ContactItem

Parameters

context

Context The application context.


open fun getSmartMSContacts(@NonNull context: Context, @Nullable keyWord: String): List<ContactItem>

Get All contacts from other departments, other companies and other SmartMs Apps witch are synced with local contacts

Return

list of ContactItem

Parameters

context

Context The application context.

keyWord

String : to get only contacts matching this keyword. put empty string to get all SmartMS contacts


open fun getSmartMSContacts(@NonNull context: Context, @Nullable loadCallback: STWLoadContactsCallback): AsyncTask

Async method to get All contacts from other departments, other companies and other SmartMs Apps witch are synced with local contacts This is async method

Return

list of ContactItem

Parameters

context

Context The application context.

loadCallback

STWLoadContactsCallback: callback to handle loaded contacts.