get Company Contacts As Live Data
fun getCompanyContactsAsLiveData(context: Context, filter: Int = STWContactFilterOption.ORGANIZATION.DEFAULT): LiveData<List<STWContact>?>
Content copied to clipboard
Get only visible company contacts given filter
Return
LiveData
Parameters
context
The application context.
filter
STWContactFilterOption.ORGANIZATION: to filter contact
STWContactFilterOption.ORGANIZATION.GROUP: to get only group contacts
STWContactFilterOption.ORGANIZATION.USER : to get only single contacts
STWContactFilterOption.ORGANIZATION.DEFAULT : to get All group and single contacts