Fields Summary |
---|
public static final String | AUTHORITYThe authority for the contacts provider |
public static final android.net.Uri | AUTHORITY_URIA content:// style uri to the authority for the contacts provider |
public static final String | CALLER_IS_SYNCADAPTERAn optional URI parameter for insert, update, or delete queries
that allows the caller
to specify that it is a sync adapter. The default value is false. If true
{@link RawContacts#DIRTY} is not automatically set and the
"syncToNetwork" parameter is set to false when calling
{@link
ContentResolver#notifyChange(android.net.Uri, android.database.ContentObserver, boolean)}.
This prevents an unnecessary extra synchronization, see the discussion of
the delete operation in {@link RawContacts}. |
public static final String | DIRECTORY_PARAM_KEYQuery parameter that should be used by the client to access a specific
{@link Directory}. The parameter value should be the _ID of the corresponding
directory, e.g.
{@code content://com.android.contacts/data/emails/filter/acme?directory=3} |
public static final String | LIMIT_PARAM_KEYA query parameter that limits the number of results returned. The
parameter value should be an integer. |
public static final String | PRIMARY_ACCOUNT_NAMEA query parameter specifing a primary account. This parameter should be used with
{@link #PRIMARY_ACCOUNT_TYPE}. The contacts provider handling a query may rely on
this information to optimize its query results.
For example, in an email composition screen, its implementation can specify an account when
obtaining possible recipients, letting the provider know which account is selected during
the composition. The provider may use the "primary account" information to optimize
the search result. |
public static final String | PRIMARY_ACCOUNT_TYPEA query parameter specifing a primary account. This parameter should be used with
{@link #PRIMARY_ACCOUNT_NAME}. See the doc in {@link #PRIMARY_ACCOUNT_NAME}. |
public static final String | STREQUENT_PHONE_ONLYA boolean parameter for {@link Contacts#CONTENT_STREQUENT_URI} and
{@link Contacts#CONTENT_STREQUENT_FILTER_URI}, which requires the ContactsProvider to
return only phone-related results. For example, frequently contacted person list should
include persons contacted via phone (not email, sms, etc.) |
public static final String | DEFERRED_SNIPPETINGA key to a boolean in the "extras" bundle of the cursor.
The boolean indicates that the provider did not create a snippet and that the client asking
for the snippet should do it (true means the snippeting was deferred to the client). |
public static final String | DEFERRED_SNIPPETING_QUERYKey to retrieve the original deferred snippeting from the cursor on the client side. |
public static final String | REMOVE_DUPLICATE_ENTRIESA boolean parameter for {@link CommonDataKinds.Phone#CONTENT_URI Phone.CONTENT_URI},
{@link CommonDataKinds.Email#CONTENT_URI Email.CONTENT_URI}, and
{@link CommonDataKinds.StructuredPostal#CONTENT_URI StructuredPostal.CONTENT_URI}.
This enables a content provider to remove duplicate entries in results. |