Added in [API level 23](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels) Summary: [Constants](https://developer.android.com/reference/android/provider/ContactsContract.ProviderStatus#constants) \| [Fields](https://developer.android.com/reference/android/provider/ContactsContract.ProviderStatus#lfields) \| [Inherited Methods](https://developer.android.com/reference/android/provider/ContactsContract.ProviderStatus#inhmethods)

# ContactsContract.ProviderStatus

*** ** * ** ***

` public static final class ContactsContract.ProviderStatus `   
` extends https://developer.android.com/reference/java/lang/Object ` ` `

|---|---|
| [java.lang.Object](https://developer.android.com/reference/java/lang/Object) ||
| ↳ | android.provider.ContactsContract.ProviderStatus |

<br />

*** ** * ** ***

API for inquiring about the general status of the provider.

## Summary

| ### Constants ||
|---|---|
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/ContactsContract.ProviderStatus#CONTENT_TYPE` The MIME-type of `https://developer.android.com/reference/android/provider/ContactsContract.ProviderStatus#CONTENT_URI` providing a directory of settings. |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/ContactsContract.ProviderStatus#DATABASE_CREATION_TIMESTAMP` Timestamp (milliseconds since epoch) of when the provider's database was created. |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/ContactsContract.ProviderStatus#STATUS` An integer representing the current status of the provider. |
| `int` | `https://developer.android.com/reference/android/provider/ContactsContract.ProviderStatus#STATUS_BUSY` The provider won't respond to queries. |
| `int` | `https://developer.android.com/reference/android/provider/ContactsContract.ProviderStatus#STATUS_EMPTY` The status that indicates that there are no accounts and no contacts on the device. |
| `int` | `https://developer.android.com/reference/android/provider/ContactsContract.ProviderStatus#STATUS_NORMAL` Default status of the provider. |

| ### Fields ||
|---|---|
| ` public static final https://developer.android.com/reference/android/net/Uri` | `https://developer.android.com/reference/android/provider/ContactsContract.ProviderStatus#CONTENT_URI` The content:// style URI for this table. |

### Inherited methods

From class ` https://developer.android.com/reference/java/lang/Object ` ` https://developer.android.com/reference/java/lang/Object` ` https://developer.android.com/reference/java/lang/Object#clone()() `

Creates and returns a copy of this object.
` boolean` ` https://developer.android.com/reference/java/lang/Object#equals(java.lang.Object)(https://developer.android.com/reference/java/lang/Object obj) `

Indicates whether some other object is "equal to" this one.
` void` ` https://developer.android.com/reference/java/lang/Object#finalize()() `

Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.
` final https://developer.android.com/reference/java/lang/Class<?>` ` https://developer.android.com/reference/java/lang/Object#getClass()() `

Returns the runtime class of this `Object`.
` int` ` https://developer.android.com/reference/java/lang/Object#hashCode()() `

Returns a hash code value for the object.
` final void` ` https://developer.android.com/reference/java/lang/Object#notify()() `

Wakes up a single thread that is waiting on this object's monitor.
` final void` ` https://developer.android.com/reference/java/lang/Object#notifyAll()() `

Wakes up all threads that are waiting on this object's monitor.
` https://developer.android.com/reference/java/lang/String` ` https://developer.android.com/reference/java/lang/Object#toString()() `

Returns a string representation of the object.
` final void` ` https://developer.android.com/reference/java/lang/Object#wait(long,%20int)(long timeoutMillis, int nanos) `

Causes the current thread to wait until it is awakened, typically by being *notified* or *interrupted*, or until a certain amount of real time has elapsed.
` final void` ` https://developer.android.com/reference/java/lang/Object#wait(long)(long timeoutMillis) `

Causes the current thread to wait until it is awakened, typically by being *notified* or *interrupted*, or until a certain amount of real time has elapsed.
` final void` ` https://developer.android.com/reference/java/lang/Object#wait()() `

Causes the current thread to wait until it is awakened, typically by being *notified* or *interrupted*.

## Constants

### CONTENT_TYPE

Added in [API level 23](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final String CONTENT_TYPE
```

The MIME-type of `https://developer.android.com/reference/android/provider/ContactsContract.ProviderStatus#CONTENT_URI` providing a directory of settings.

<br />

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

### DATABASE_CREATION_TIMESTAMP

Added in [API level 26](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final String DATABASE_CREATION_TIMESTAMP
```

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

Type: long

<br />

Constant Value: "database_creation_timestamp"

### STATUS

Added in [API level 23](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final String STATUS
```

An integer representing the current status of the provider.

<br />

Constant Value: "status"

### STATUS_BUSY

Added in [API level 23](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final 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.

<br />

Constant Value: 1 (0x00000001)

### STATUS_EMPTY

Added in [API level 23](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int STATUS_EMPTY
```

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

<br />

Constant Value: 2 (0x00000002)

### STATUS_NORMAL

Added in [API level 23](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int STATUS_NORMAL
```

Default status of the provider.

<br />

Constant Value: 0 (0x00000000)

## Fields

### CONTENT_URI

Added in [API level 23](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final 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.

<br />