ContactsDataSourceQuery

data class ContactsDataSourceQuery(    val selection: ContactsDataSourceQuery.ContactSelection,     val orderBy: ContactsDataSourceQuery.ContactOrderBy? = null,     val map: (ContactsDataSourceElement) -> ContactsDataSourceElement? = null) : Parcelable

Represents a query that can be applied to the contacts data set.

Parameters

selection

The selection criteria for the query.

orderBy

The order criteria to sort the query results. By default set to null, no ordering is applied unless it is specified.

map

An optional mapping function to be applied to each element in the query results. By default set to null, no mapping is performed unless it is specified.

Constructors

Link copied to clipboard
fun ContactsDataSourceQuery(    selection: ContactsDataSourceQuery.ContactSelection,     orderBy: ContactsDataSourceQuery.ContactOrderBy? = null,     map: (ContactsDataSourceElement) -> ContactsDataSourceElement? = null)

Types

Link copied to clipboard
sealed class ContactOrderBy : Parcelable

The sorting criteria of query results.

Link copied to clipboard
sealed class ContactSelection : Parcelable

The selection criteria of the query.

Properties

Link copied to clipboard
val map: (ContactsDataSourceElement) -> ContactsDataSourceElement? = null
Link copied to clipboard
val orderBy: ContactsDataSourceQuery.ContactOrderBy? = null
Link copied to clipboard
val selection: ContactsDataSourceQuery.ContactSelection

Inherited functions

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