Skip to content

Most visited

Recently visited

navigation

ContactsContract.ProviderStatus

public static final class ContactsContract.ProviderStatus
extends Object

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


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 DATABASE_CREATION_TIMESTAMP

Timestamp (milliseconds since epoch) of when the provider's database was created.

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.

Inherited methods

From class java.lang.Object

Constants

CONTENT_TYPE

added in API level 23
String CONTENT_TYPE

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

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

DATABASE_CREATION_TIMESTAMP

added in API level 26
String DATABASE_CREATION_TIMESTAMP

Timestamp (milliseconds since epoch) of when the provider's database was created.

Type: long

Constant Value: "database_creation_timestamp"

STATUS

added in API level 23
String STATUS

An integer representing the current status of the provider.

Constant Value: "status"

STATUS_BUSY

added in API level 23
int STATUS_BUSY

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)

STATUS_EMPTY

added in API level 23
int STATUS_EMPTY

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

Constant Value: 2 (0x00000002)

STATUS_NORMAL

added in API level 23
int STATUS_NORMAL

Default status of the provider.

Constant Value: 0 (0x00000000)

Fields

CONTENT_URI

added in API level 23
Uri CONTENT_URI

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

This site uses cookies to store your preferences for site-specific language and display options.

Get the latest Android developer news and tips that will help you find success on Google Play.

* Required Fields

Hooray!

Browse this site in ?

You requested a page in , but your language preference for this site is .

Would you like to change your language preference and browse this site in ? If you want to change your language preference later, use the language menu at the bottom of each page.

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.

Take a short survey?
Help us improve the Android developer experience.
(Sep 2017 survey)