Android APIs
public static final class

ContactsContract.ProviderStatus

extends Object
java.lang.Object
   ↳ android.provider.ContactsContract.ProviderStatus

Class Overview

API for inquiring about the general status of the provider.

Summary

Constants
String CONTENT_TYPE The MIME-type of CONTENT_URI providing a directory of settings.
String STATUS An integer representing the current status of the provider.
int STATUS_BUSY The provider won't respond to queries.
int STATUS_EMPTY The status that indicates that there are no accounts and no contacts on the device.
int STATUS_NORMAL Default status of the provider.
Fields
public static final Uri CONTENT_URI The content:// style URI for this table.
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final String CONTENT_TYPE

Added in API level 23

The MIME-type of CONTENT_URI providing a directory of settings.

Constant Value: "vnd.android.cursor.dir/provider_status"

public static final String STATUS

Added in API level 23

An integer representing the current status of the provider.

Constant Value: "status"

public static final int STATUS_BUSY

Added in API level 23

The provider won't respond to queries. It is in the middle of a long running task, such as a database upgrade or locale change.

Constant Value: 1 (0x00000001)

public static final int STATUS_EMPTY

Added in API level 23

The status that indicates that there are no accounts and no contacts on the device.

Constant Value: 2 (0x00000002)

public static final int STATUS_NORMAL

Added in API level 23

Default status of the provider.

Constant Value: 0 (0x00000000)

Fields

public static final Uri CONTENT_URI

Added in API level 23

The content:// style URI for this table. Requests to this URI can be performed on the UI thread because they are always unblocking.