getRoleIconByPhone

open fun getRoleIconByPhone(@NonNull context: Context, @NonNull phone: PhoneItem): RoleIconItem

Get the role icon for a specific PhoneItem

Return

RoleIconItem related to the specified phone, or null if the phone have no related role icon.

Parameters

context

Context:The application context

phone

PhoneItem:The phone to get his roleIcon.