get Company Contacts
open fun getCompanyContacts(@NonNull context: Context, filter: Int): List<ContactItem>
Content copied to clipboard
Get only visible company contacts
Return
list of ContactItem
Parameters
context
Context The application context.
filter
STWContactFilter: to filter contact
open fun getCompanyContacts(@NonNull context: Context, @Nullable filter: STWContactFilterOption): List<ContactItem>
Content copied to clipboard
open fun getCompanyContacts( @NonNull context: Context, @Nullable filtersList: STWContactFilterOption, @Nullable keyWord: String): List<ContactItem>
Content copied to clipboard
open fun getCompanyContacts( @NonNull context: Context, filter: Int, @Nullable keyWord: String): List<ContactItem>
Content copied to clipboard
Get only visible company contacts matching searchKeyWord
Return
list of ContactItem
Parameters
context
Context The application context.
filter
STWContactFilter: to filter contact
key Word
String : to get only contacts matching this keyword. put empty string to get all company contacts
open fun getCompanyContacts( @NonNull context: Context, filter: Int, @Nullable loadCallback: STWLoadContactsCallback): AsyncTask
Content copied to clipboard
Async method to get only visible company contacts
Return
list of ContactItem
Parameters
context
Context The application context.
filter
STWContactFilter: to filter contact
load Callback
STWLoadContactsCallback: callback to handle loaded contacts