Skip to content

Most visited

Recently visited

navigation
Added in API level 1
Deprecated since API level 5

Contacts.PresenceColumns

public static interface Contacts.PresenceColumns

android.provider.Contacts.PresenceColumns
Known Indirect Subclasses


This interface was deprecated in API level 5.
see ContactsContract

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

AVAILABLE

Added in API level 8
int AVAILABLE

Constant Value: 5 (0x00000005)

AWAY

Added in API level 8
int AWAY

Constant Value: 2 (0x00000002)

DO_NOT_DISTURB

Added in API level 8
int DO_NOT_DISTURB

Constant Value: 4 (0x00000004)

IDLE

Added in API level 8
int IDLE

Constant Value: 3 (0x00000003)

IM_ACCOUNT

Added in API level 1
String IM_ACCOUNT

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"

IM_HANDLE

Added in API level 1
String IM_HANDLE

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"

IM_PROTOCOL

Added in API level 1
String IM_PROTOCOL

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"

INVISIBLE

Added in API level 8
int INVISIBLE

Constant Value: 1 (0x00000001)

OFFLINE

Added in API level 8
int OFFLINE

Presence Status definition

Constant Value: 0 (0x00000000)

PRESENCE_CUSTOM_STATUS

Added in API level 8
String PRESENCE_CUSTOM_STATUS

The user defined status line.

Type: TEXT

Constant Value: "status"

PRESENCE_STATUS

Added in API level 8
String PRESENCE_STATUS

The server defined status.

Type: INTEGER (one of the values below)

Constant Value: "mode"

PRIORITY

Added in API level 8
String PRIORITY

The priority, an integer, used by XMPP presence

Type: INTEGER

Constant Value: "priority"

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

Hooray!

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 one-minute survey?
Help us improve Android tools and documentation.