FindContactsByDisplayNames

data class FindContactsByDisplayNames(val displayNames: List<String>) : ContactsDataSourceQuery.ContactSelection

For each entry in displayNames, find the first contact whose display name starts with any of the provided display names.

Returns list of contacts whose display name matches, an empty list otherwise.

Example usage: Taking into account a contacts list that has the following contact display names: "Alex B, Alexander G, Monica L, Monique F".

val contactsList = contacts.FindContactByDisplayNames(listOf("Alex", "Mon"))
// contactsList contains "Alex B" and "Monica L".

Constructors

Link copied to clipboard
fun FindContactsByDisplayNames(displayNames: List<String>)

Properties

Link copied to clipboard
val displayNames: List<String>

Functions

Link copied to clipboard
open override fun toString(): String

Inherited functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)