Added in [API level 1](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: [Constants](https://developer.android.com/reference/android/provider/Contacts.PresenceColumns#constants)

# Contacts.PresenceColumns

*** ** * ** ***

` public static interface Contacts.PresenceColumns `   
` `

|---|
| android.provider.Contacts.PresenceColumns |

Known indirect subclasses [Contacts.People](https://developer.android.com/reference/android/provider/Contacts.People) [Contacts.People](https://developer.android.com/reference/android/provider/Contacts.People) *This class was deprecated in API level 5. see `https://developer.android.com/reference/android/provider/ContactsContract`*   

*** ** * ** ***

<br />

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

see `https://developer.android.com/reference/android/provider/ContactsContract`

The IM presence columns with some contacts specific columns mixed in.

## Summary

| ### Constants ||
|---|---|
| `int` | `https://developer.android.com/reference/android/provider/Contacts.PresenceColumns#AVAILABLE` <br /> |
| `int` | `https://developer.android.com/reference/android/provider/Contacts.PresenceColumns#AWAY` <br /> |
| `int` | `https://developer.android.com/reference/android/provider/Contacts.PresenceColumns#DO_NOT_DISTURB` <br /> |
| `int` | `https://developer.android.com/reference/android/provider/Contacts.PresenceColumns#IDLE` <br /> |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/Contacts.PresenceColumns#IM_ACCOUNT` *This constant is deprecated. see `https://developer.android.com/reference/android/provider/ContactsContract`* |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/Contacts.PresenceColumns#IM_HANDLE` *This constant is deprecated. see `https://developer.android.com/reference/android/provider/ContactsContract`* |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/Contacts.PresenceColumns#IM_PROTOCOL` *This constant is deprecated. see `https://developer.android.com/reference/android/provider/ContactsContract`* |
| `int` | `https://developer.android.com/reference/android/provider/Contacts.PresenceColumns#INVISIBLE` <br /> |
| `int` | `https://developer.android.com/reference/android/provider/Contacts.PresenceColumns#OFFLINE` Presence Status definition |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/Contacts.PresenceColumns#PRESENCE_CUSTOM_STATUS` The user defined status line. |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/Contacts.PresenceColumns#PRESENCE_STATUS` The server defined status. |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/Contacts.PresenceColumns#PRIORITY` The priority, an integer, used by XMPP presence Type: INTEGER <br /> |

## Constants

### AVAILABLE

Added in [API level 8](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)

```
public static final int AVAILABLE
```

<br />

<br />

Constant Value: 5 (0x00000005)

### AWAY

Added in [API level 8](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)

```
public static final int AWAY
```

<br />

<br />

Constant Value: 2 (0x00000002)

### DO_NOT_DISTURB

Added in [API level 8](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)

```
public static final int DO_NOT_DISTURB
```

<br />

<br />

Constant Value: 4 (0x00000004)

### IDLE

Added in [API level 8](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)

```
public static final int IDLE
```

<br />

<br />

Constant Value: 3 (0x00000003)

### IM_ACCOUNT

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

```
public static final String IM_ACCOUNT
```

<br />

**This constant is deprecated.**   

see `https://developer.android.com/reference/android/provider/ContactsContract`

The IM account for the local user that the presence data came from.

Type: STRING

<br />

<br />

Constant Value: "im_account"

### IM_HANDLE

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

```
public static final String IM_HANDLE
```

<br />

**This constant is deprecated.**   

see `https://developer.android.com/reference/android/provider/ContactsContract`

The IM handle the presence item is for. The handle is scoped to the `https://developer.android.com/reference/android/provider/Contacts.PresenceColumns#IM_PROTOCOL`.

Type: STRING

<br />

<br />

Constant Value: "im_handle"

### IM_PROTOCOL

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

```
public static final String IM_PROTOCOL
```

<br />

**This constant is deprecated.**   

see `https://developer.android.com/reference/android/provider/ContactsContract`

The IM service the presence is coming from. Formatted using either `https://developer.android.com/reference/android/provider/Contacts.ContactMethods#encodePredefinedImProtocol(int)` or `https://developer.android.com/reference/android/provider/Contacts.ContactMethods#encodeCustomImProtocol(java.lang.String)`.

Type: STRING

<br />

<br />

Constant Value: "im_protocol"

### INVISIBLE

Added in [API level 8](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)

```
public static final int INVISIBLE
```

<br />

<br />

Constant Value: 1 (0x00000001)

### OFFLINE

Added in [API level 8](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)

```
public static final int OFFLINE
```

Presence Status definition

<br />

Constant Value: 0 (0x00000000)

### PRESENCE_CUSTOM_STATUS

Added in [API level 8](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)

```
public static final String PRESENCE_CUSTOM_STATUS
```

The user defined status line.

Type: TEXT

<br />

<br />

Constant Value: "status"

### PRESENCE_STATUS

Added in [API level 8](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)

```
public static final String PRESENCE_STATUS
```

The server defined status.

Type: INTEGER (one of the values below)

<br />

<br />

Constant Value: "mode"

### PRIORITY

Added in [API level 8](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)

```
public static final String PRIORITY
```

The priority, an integer, used by XMPP presence

Type: INTEGER

<br />

<br />

Constant Value: "priority"