ContactsDataSourceQuery

data class ContactsDataSourceQuery(    val selection: ContactsDataSourceQuery.ContactSelection,     val filter: ContactsDataSourceQuery.ContactFilter? = null,     val orderBy: ContactsDataSourceQuery.ContactOrderBy? = null) : Parcelable

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

Parameters

selection

The selection criteria for the query.

filter

The filtering criteria for the query. By default this is set to null and no filtering is applied unless it is specified.

orderBy

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

Constructors

Link copied to clipboard
fun ContactsDataSourceQuery(    selection: ContactsDataSourceQuery.ContactSelection,     filter: ContactsDataSourceQuery.ContactFilter? = null,     orderBy: ContactsDataSourceQuery.ContactOrderBy? = null)

Types

Link copied to clipboard
sealed class ContactFilter : Parcelable

The filter criteria of the query results.

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 filter: ContactsDataSourceQuery.ContactFilter? = 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)