getRoleIconByPhone

fun getRoleIconByPhone(context: Context, phone: STWPhone): 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.