getBusinessPhone

open fun getBusinessPhone(@NonNull context: Context, @NonNull contactItem: ContactItem): PhoneItem

Get the business PhoneItem related to the specified contact. This method is usefull only for single contacts.

Return

PhoneItem business phoneItem related to the specified contact,or null if no business phone related to the contact is found.

Parameters

context

Context The application context

contactItem

ContactItem: The contact to retrieve his business phone.