to top
Android APIs
Added in API level 5
protected static interface

ContactsContract.StatusColumns

android.provider.ContactsContract.StatusColumns
Known Indirect Subclasses

Class Overview

Social status update columns.

Summary

Constants
int AVAILABLE An allowed value of PRESENCE.
int AWAY An allowed value of PRESENCE.
int CAPABILITY_HAS_CAMERA An allowed flag of CHAT_CAPABILITY.
int CAPABILITY_HAS_VIDEO An allowed flag of CHAT_CAPABILITY.
int CAPABILITY_HAS_VOICE An allowed flag of CHAT_CAPABILITY.
String CHAT_CAPABILITY Contact's audio/video chat capability level.
int DO_NOT_DISTURB An allowed value of PRESENCE.
int IDLE An allowed value of PRESENCE.
int INVISIBLE An allowed value of PRESENCE.
int OFFLINE An allowed value of PRESENCE.
String PRESENCE Contact's latest presence level.
String PRESENCE_CUSTOM_STATUS This constant was deprecated in API level 8. use STATUS
String PRESENCE_STATUS This constant was deprecated in API level 8. use PRESENCE
String STATUS Contact latest status update.
String STATUS_ICON The resource ID of the icon for the source of the status update.
String STATUS_LABEL The resource ID of the label describing the source of the status update, e.g.
String STATUS_RES_PACKAGE The package containing resources for this status: label and icon.
String STATUS_TIMESTAMP The absolute time in milliseconds when the latest status was inserted/updated.

Constants

public static final int AVAILABLE

Added in API level 8

An allowed value of PRESENCE.

Constant Value: 5 (0x00000005)

public static final int AWAY

Added in API level 8

An allowed value of PRESENCE.

Constant Value: 2 (0x00000002)

public static final int CAPABILITY_HAS_CAMERA

Added in API level 11

An allowed flag of CHAT_CAPABILITY. Indicates that the contact's device has a camera that can be used for video chat (e.g. a front-facing camera on a phone).

Constant Value: 4 (0x00000004)

public static final int CAPABILITY_HAS_VIDEO

Added in API level 11

An allowed flag of CHAT_CAPABILITY. Indicates that the contact's device can display a video feed.

Constant Value: 2 (0x00000002)

public static final int CAPABILITY_HAS_VOICE

Added in API level 11

An allowed flag of CHAT_CAPABILITY. Indicates audio-chat capability (microphone and speaker)

Constant Value: 1 (0x00000001)

public static final String CHAT_CAPABILITY

Added in API level 11

Contact's audio/video chat capability level.

Type: INTEGER (one of the values below)

Constant Value: "chat_capability"

public static final int DO_NOT_DISTURB

Added in API level 8

An allowed value of PRESENCE.

Constant Value: 4 (0x00000004)

public static final int IDLE

Added in API level 8

An allowed value of PRESENCE.

Constant Value: 3 (0x00000003)

public static final int INVISIBLE

Added in API level 8

An allowed value of PRESENCE.

Constant Value: 1 (0x00000001)

public static final int OFFLINE

Added in API level 8

An allowed value of PRESENCE.

Constant Value: 0 (0x00000000)

public static final String PRESENCE

Added in API level 5

Contact's latest presence level.

Type: INTEGER (one of the values below)

Constant Value: "mode"

public static final String PRESENCE_CUSTOM_STATUS

Added in API level 8

This constant was deprecated in API level 8.
use STATUS

Constant Value: "status"

public static final String PRESENCE_STATUS

Added in API level 8

This constant was deprecated in API level 8.
use PRESENCE

Constant Value: "mode"

public static final String STATUS

Added in API level 5

Contact latest status update.

Type: TEXT

Constant Value: "status"

public static final String STATUS_ICON

Added in API level 5

The resource ID of the icon for the source of the status update. This resource should be scoped by the STATUS_RES_PACKAGE.

Type: NUMBER

Constant Value: "status_icon"

public static final String STATUS_LABEL

Added in API level 5

The resource ID of the label describing the source of the status update, e.g. "Google Talk". This resource should be scoped by the STATUS_RES_PACKAGE.

Type: NUMBER

Constant Value: "status_label"

public static final String STATUS_RES_PACKAGE

Added in API level 5

The package containing resources for this status: label and icon.

Type: TEXT

Constant Value: "status_res_package"

public static final String STATUS_TIMESTAMP

Added in API level 5

The absolute time in milliseconds when the latest status was inserted/updated.

Type: NUMBER

Constant Value: "status_ts"