Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
Android APIs
protected static interface

ContactsContract.PresenceColumns

android.provider.ContactsContract.PresenceColumns
Known Indirect Subclasses

Class Overview

Additional data mixed in with ContactsContract.ContactStatusColumns to link back to specific _ID entries.

Summary

Constants
String CUSTOM_PROTOCOL Name of the custom protocol.
String DATA_ID Reference to the _ID entry that owns this presence.
String IM_ACCOUNT The IM account for the local user that the presence data came from.
String IM_HANDLE The IM handle the presence item is for.
String PROTOCOL See ContactsContract.CommonDataKinds.Im for a list of defined protocol constants.

Constants

public static final String CUSTOM_PROTOCOL

Added in API level 5

Name of the custom protocol. Should be supplied along with the PROTOCOL value PROTOCOL_CUSTOM . Should be null or omitted if PROTOCOL value is not PROTOCOL_CUSTOM .

Type: NUMBER

Constant Value: "custom_protocol"

public static final String DATA_ID

Added in API level 5

Reference to the _ID entry that owns this presence.

Type: INTEGER

Constant Value: "presence_data_id"

public static final String IM_ACCOUNT

Added in API level 5

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

Type: TEXT

Constant Value: "im_account"

public static final String IM_HANDLE

Added in API level 5

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

Type: TEXT

Constant Value: "im_handle"

public static final String PROTOCOL

Added in API level 5

See ContactsContract.CommonDataKinds.Im for a list of defined protocol constants.

Type: NUMBER

Constant Value: "protocol"