getSmartMSContactsAsLiveData

fun getSmartMSContactsAsLiveData(context: Context): LiveData<List<STWContact>?>

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

Return

LiveData list of STWContact

Parameters

context
    Context

fun getSmartMSContactsAsLiveData(context: Context, search: String? = null): LiveData<List<STWContact>?>

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

Return

LiveData list of STWContact

Parameters

context
    Context
search

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