ContactsDataSourceQuery
data class ContactsDataSourceQuery(val filter: ContactsDataSourceQuery.ContactFilter? = null, val orderBy: ContactsDataSourceQuery.ContactOrderBy? = null, val groupBy: ContactsDataSourceQuery.ContactGroupBy? = null) : Parcelable
Represents a query that can be applied to the contacts data set.
Parameters
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.
groupBy
The grouping criteria to group the query results. By default set to null
, no grouping is applied unless it is specified. The contacts will be grouped in ContactGroup elements. The returned ContactGroup elements preserves the order of the contacts produced from the result of orderBy.
Constructors
Link copied to clipboard
fun ContactsDataSourceQuery(filter: ContactsDataSourceQuery.ContactFilter? = null, orderBy: ContactsDataSourceQuery.ContactOrderBy? = null, groupBy: ContactsDataSourceQuery.ContactGroupBy? = null)
Types
Link copied to clipboard
The filter criteria of the query results.
Link copied to clipboard
data class ContactGroupBy(val groupBy: ContactsDataSourceQuery.ContactGroupBy.ContactItemGroup) : Parcelable
The grouping criteria of query results.
Link copied to clipboard
data class ContactOrderBy(val order: ContactsDataSourceQuery.ContactOrderBy.ContactItemOrder) : Parcelable
The sorting criteria of query results.