Added in [API level 5](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)   
Deprecated in [API level
5](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels) Summary: [Inherited Constants](https://developer.android.com/reference/android/provider/ContactsContract.Presence#inhconstants) \| [Inherited Fields](https://developer.android.com/reference/android/provider/ContactsContract.Presence#inhfields) \| [Ctors](https://developer.android.com/reference/android/provider/ContactsContract.Presence#pubctors) \| [Inherited Methods](https://developer.android.com/reference/android/provider/ContactsContract.Presence#inhmethods)

# ContactsContract.Presence

*** ** * ** ***


`
public
static
final

class
ContactsContract.Presence
`


`


`

`

extends https://developer.android.com/reference/android/provider/ContactsContract.StatusUpdates


`

`


`

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

<br />

*** ** * ** ***


**This class was deprecated
in API level 5.**   

This old name was never meant to be made public. Do not use.

## Summary

| ### Inherited constants |
|---|
| From class `https://developer.android.com/reference/android/provider/ContactsContract.StatusUpdates` |---|---| | `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/ContactsContract.StatusUpdates#CONTENT_ITEM_TYPE` The MIME type of a `https://developer.android.com/reference/android/provider/ContactsContract.StatusUpdates#CONTENT_URI` subdirectory of a single status update detail. | | `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/ContactsContract.StatusUpdates#CONTENT_TYPE` The MIME type of `https://developer.android.com/reference/android/provider/ContactsContract.StatusUpdates#CONTENT_URI` providing a directory of status update details. | |
| From interface `https://developer.android.com/reference/android/provider/ContactsContract.PresenceColumns` |---|---| | `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/ContactsContract.PresenceColumns#CUSTOM_PROTOCOL` Name of the custom protocol. | | `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/ContactsContract.PresenceColumns#DATA_ID` Reference to the `https://developer.android.com/reference/android/provider/BaseColumns#_ID` entry that owns this presence. | | `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/ContactsContract.PresenceColumns#IM_ACCOUNT` The IM account for the local user that the presence data came from. | | `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/ContactsContract.PresenceColumns#IM_HANDLE` The IM handle the presence item is for. | | `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/ContactsContract.PresenceColumns#PROTOCOL` See `https://developer.android.com/reference/android/provider/ContactsContract.CommonDataKinds.Im` for a list of defined protocol constants. | |
| From interface `https://developer.android.com/reference/android/provider/ContactsContract.StatusColumns` |---|---| | `int` | `https://developer.android.com/reference/android/provider/ContactsContract.StatusColumns#AVAILABLE` An allowed value of `https://developer.android.com/reference/android/provider/ContactsContract.StatusColumns#PRESENCE`. | | `int` | `https://developer.android.com/reference/android/provider/ContactsContract.StatusColumns#AWAY` An allowed value of `https://developer.android.com/reference/android/provider/ContactsContract.StatusColumns#PRESENCE`. | | `int` | `https://developer.android.com/reference/android/provider/ContactsContract.StatusColumns#CAPABILITY_HAS_CAMERA` An allowed flag of `https://developer.android.com/reference/android/provider/ContactsContract.StatusColumns#CHAT_CAPABILITY`. | | `int` | `https://developer.android.com/reference/android/provider/ContactsContract.StatusColumns#CAPABILITY_HAS_VIDEO` An allowed flag of `https://developer.android.com/reference/android/provider/ContactsContract.StatusColumns#CHAT_CAPABILITY`. | | `int` | `https://developer.android.com/reference/android/provider/ContactsContract.StatusColumns#CAPABILITY_HAS_VOICE` An allowed flag of `https://developer.android.com/reference/android/provider/ContactsContract.StatusColumns#CHAT_CAPABILITY`. | | `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/ContactsContract.StatusColumns#CHAT_CAPABILITY` Contact's audio/video chat capability level. | | `int` | `https://developer.android.com/reference/android/provider/ContactsContract.StatusColumns#DO_NOT_DISTURB` An allowed value of `https://developer.android.com/reference/android/provider/ContactsContract.StatusColumns#PRESENCE`. | | `int` | `https://developer.android.com/reference/android/provider/ContactsContract.StatusColumns#IDLE` An allowed value of `https://developer.android.com/reference/android/provider/ContactsContract.StatusColumns#PRESENCE`. | | `int` | `https://developer.android.com/reference/android/provider/ContactsContract.StatusColumns#INVISIBLE` An allowed value of `https://developer.android.com/reference/android/provider/ContactsContract.StatusColumns#PRESENCE`. | | `int` | `https://developer.android.com/reference/android/provider/ContactsContract.StatusColumns#OFFLINE` An allowed value of `https://developer.android.com/reference/android/provider/ContactsContract.StatusColumns#PRESENCE`. | | `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/ContactsContract.StatusColumns#PRESENCE` Contact's latest presence level. | | `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/ContactsContract.StatusColumns#PRESENCE_CUSTOM_STATUS` *This constant was deprecated in API level 15. use `https://developer.android.com/reference/android/provider/ContactsContract.StatusColumns#STATUS`* | | `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/ContactsContract.StatusColumns#PRESENCE_STATUS` *This constant was deprecated in API level 15. use `https://developer.android.com/reference/android/provider/ContactsContract.StatusColumns#PRESENCE`* | | `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/ContactsContract.StatusColumns#STATUS` Contact latest status update. | | `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/ContactsContract.StatusColumns#STATUS_ICON` The resource ID of the icon for the source of the status update. | | `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/ContactsContract.StatusColumns#STATUS_LABEL` The resource ID of the label describing the source of the status update, e.g. "Google Talk". | | `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/ContactsContract.StatusColumns#STATUS_RES_PACKAGE` The package containing resources for this status: label and icon. | | `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/ContactsContract.StatusColumns#STATUS_TIMESTAMP` The absolute time in milliseconds when the latest status was inserted/updated. | |

| ### Inherited fields |
|---|
| From class `https://developer.android.com/reference/android/provider/ContactsContract.StatusUpdates` |---|---| | ` public static final https://developer.android.com/reference/android/net/Uri` | `https://developer.android.com/reference/android/provider/ContactsContract.StatusUpdates#CONTENT_URI` The content:// style URI for this table | | ` public static final https://developer.android.com/reference/android/net/Uri` | `https://developer.android.com/reference/android/provider/ContactsContract.StatusUpdates#PROFILE_CONTENT_URI` The content:// style URI for this table, specific to the user's profile. | |

| ### Public constructors ||
|---|---|
| ` https://developer.android.com/reference/android/provider/ContactsContract.Presence#Presence()() ` |

| ### Inherited methods |
|---|---|
| From class ` https://developer.android.com/reference/android/provider/ContactsContract.StatusUpdates ` |---|---| | ` static final int` | ` https://developer.android.com/reference/android/provider/ContactsContract.StatusUpdates#getPresenceIconResourceId(int)(int status) ` Gets the resource ID for the proper presence icon. | | ` static final int` | ` https://developer.android.com/reference/android/provider/ContactsContract.StatusUpdates#getPresencePrecedence(int)(int status) ` Returns the precedence of the status code the higher number being the higher precedence. | ||
| 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*. | ||

## Public constructors

### Presence

```
public Presence ()
```

<br />

<br />