getContactPhones

open fun getContactPhones(@NonNull context: Context, @NonNull contactItem: ContactItem): List<PhoneItem>

Get list of phones for the specified contactItem If the specified contact is a group contact, phones are the group members. If the specified contact is a single contact, phones are the related phones.

Return

List<{@link PhoneItem}> Phones related to the specified contactItem

Parameters

context

Context The Application context

contactItem

ContactItem: The contact to retrieve his phones


open fun getContactPhones(    @NonNull context: Context,     @NonNull contactItem: ContactItem,     @Nullable filtersLis: STWContactFilterOption): List<PhoneItem>