ContactSelection
The selection criteria of the query.
Types
Link copied to clipboard
Select all contacts.
Link copied to clipboard
Select favorite contacts.
Link copied to clipboard
data class FindContactByContactId(val contactId: ContactId) : ContactsDataSourceQuery.ContactSelection
Content copied to clipboard
Finds a contact with the specified contactId.
Link copied to clipboard
data class FindContactsByDisplayNames(val displayNames: List<String>) : ContactsDataSourceQuery.ContactSelection
Content copied to clipboard
For each entry in displayNames, find the first contact whose display name starts with any of the provided display names.
Link copied to clipboard
data class FindContactsByPhoneNumber(val phoneNumber: String) : ContactsDataSourceQuery.ContactSelection
Content copied to clipboard
Finds contacts with the specified phoneNumber.
Link copied to clipboard
data class FindContactsBySearchKey(val searchKey: String) : ContactsDataSourceQuery.ContactSelection
Content copied to clipboard
Search for contacts whose Contact.givenName, Contact.familyName, Contact.companyName or Contact.displayName starts with the specified searchKey.
Link copied to clipboard
data class FindContactsBySource(val source: ContactSource) : ContactsDataSourceQuery.ContactSelection
Content copied to clipboard
Returns a list of contacts originating from the specified source, or an empty list if none were found.
Link copied to clipboard
Group all contacts by contact's first character (it can be a letter, a number, a symbol etc) and contacts count. Used in the scroll bar in order to calculate the recycler view's index.