to top
Android APIs
Added in API level 1
Deprecated since API level 5
public static interface

Contacts.PresenceColumns

android.provider.Contacts.PresenceColumns
Known Indirect Subclasses

This interface was deprecated in API level 5.
see ContactsContract

Class Overview

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

Summary

Constants
int AVAILABLE
int AWAY
int DO_NOT_DISTURB
int IDLE
String IM_ACCOUNT This constant was deprecated in API level 5. see ContactsContract
String IM_HANDLE This constant was deprecated in API level 5. see ContactsContract
String IM_PROTOCOL This constant was deprecated in API level 5. see ContactsContract
int INVISIBLE
int OFFLINE Presence Status definition
String PRESENCE_CUSTOM_STATUS The user defined status line.
String PRESENCE_STATUS The server defined status.
String PRIORITY The priority, an integer, used by XMPP presence

Type: INTEGER

Constants

public static final int AVAILABLE

Added in API level 8

Constant Value: 5 (0x00000005)

public static final int AWAY

Added in API level 8

Constant Value: 2 (0x00000002)

public static final int DO_NOT_DISTURB

Added in API level 8

Constant Value: 4 (0x00000004)

public static final int IDLE

Added in API level 8

Constant Value: 3 (0x00000003)

public static final String IM_ACCOUNT

Added in API level 1

This constant was deprecated in API level 5.
see ContactsContract

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

Type: STRING

Constant Value: "im_account"

public static final String IM_HANDLE

Added in API level 1

This constant was deprecated in API level 5.
see ContactsContract

The IM handle the presence item is for. The handle is scoped to the IM_PROTOCOL.

Type: STRING

Constant Value: "im_handle"

public static final String IM_PROTOCOL

Added in API level 1

This constant was deprecated in API level 5.
see ContactsContract

The IM service the presence is coming from. Formatted using either encodePredefinedImProtocol(int) or encodeCustomImProtocol(String).

Type: STRING

Constant Value: "im_protocol"

public static final int INVISIBLE

Added in API level 8

Constant Value: 1 (0x00000001)

public static final int OFFLINE

Added in API level 8

Presence Status definition

Constant Value: 0 (0x00000000)

public static final String PRESENCE_CUSTOM_STATUS

Added in API level 8

The user defined status line.

Type: TEXT

Constant Value: "status"

public static final String PRESENCE_STATUS

Added in API level 8

The server defined status.

Type: INTEGER (one of the values below)

Constant Value: "mode"

public static final String PRIORITY

Added in API level 8

The priority, an integer, used by XMPP presence

Type: INTEGER

Constant Value: "priority"