getSmartMsPhoneByContact

fun getSmartMsPhoneByContact(context: Context, systemContactId: Long): STWPhone?

Get the SmartMs STWPhone related to the specified contact. This method is useful only for single contacts.

Return

STWPhone smartMs phone related to the specified contact, or null if no smartMs phone related to the contact is found.

Parameters

context

The application context

systemContactId

The system contact ID to retrieve his business phone.