Query


class Query
kotlin.Any
   ↳ android.provider.PeopleContract.Persons.Query

Constants and builder utilities for constructing person query argument bundles.

Summary

Nested classes

Helper class for building structured query argument bundles to pass into ContentResolver.query(Uri,String[],Bundle,CancellationSignal) when querying Persons.CONTENT_URI.

Constants
static String

Selection criterion type indicating a query matching person records by email address.

static String

Selection criterion type indicating a query matching person records that belong to the specified group lookup key.

static String

Selection criterion type indicating a query matching person records explicitly by their unique lookup key.

static String

Selection criterion type indicating a query matching person records by phone number.

Constants

SELECTION_TYPE_EMAIL

static val SELECTION_TYPE_EMAIL: String

Selection criterion type indicating a query matching person records by email address.

Value: "selection-type-email"

SELECTION_TYPE_GROUP_LOOKUP_KEY

static val SELECTION_TYPE_GROUP_LOOKUP_KEY: String

Selection criterion type indicating a query matching person records that belong to the specified group lookup key.

Value: "selection-type-group-lookup-key"

SELECTION_TYPE_LOOKUP_KEY

static val SELECTION_TYPE_LOOKUP_KEY: String

Selection criterion type indicating a query matching person records explicitly by their unique lookup key.

Value: "selection-type-lookup-key"

SELECTION_TYPE_PHONE

static val SELECTION_TYPE_PHONE: String

Selection criterion type indicating a query matching person records by phone number.

Value: "selection-type-phone"