contactNameStringResolver

fun contactNameStringResolver(    displayName: String?,     phoneNumber: String?,     @StringRes unknownContact: Int): StringResolver

Returns a StringResolver with the following priority order:

  1. The contact displayName if not null or blank else

  2. The phoneNumber if not null or blank else

  3. The unknownContact resource string.

Can be used by a frontend to display the most relevant available information.