to top
Android APIs
Added in API level 5
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"
No examples for this method.
Frequently called with: [Clear]
Portions of this page are reproduced from work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. The original page is available here.