contactNameStringResolver
fun contactNameStringResolver( displayName: String?, phoneNumber: String?, @StringRes unknownContact: Int): StringResolver
Content copied to clipboard
Returns a StringResolver with the following priority order:
The contact displayName if not null or blank else
The phoneNumber if not null or blank else
The unknownContact resource string.
Can be used by a frontend to display the most relevant available information.