to top
Android APIs
Since: 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 is deprecated. use STATUS
String PRESENCE_STATUS This constant is deprecated. 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

Since: API Level 8

An allowed value of PRESENCE.

Constant Value: 5 (0x00000005)

public static final int AWAY

Since: API Level 8

An allowed value of PRESENCE.

Constant Value: 2 (0x00000002)

public static final int CAPABILITY_HAS_CAMERA

Since: 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

Since: 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

Since: 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

Since: 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

Since: API Level 8

An allowed value of PRESENCE.

Constant Value: 4 (0x00000004)

public static final int IDLE

Since: API Level 8

An allowed value of PRESENCE.

Constant Value: 3 (0x00000003)

public static final int INVISIBLE

Since: API Level 8

An allowed value of PRESENCE.

Constant Value: 1 (0x00000001)

public static final int OFFLINE

Since: API Level 8

An allowed value of PRESENCE.

Constant Value: 0 (0x00000000)

public static final String PRESENCE

Since: 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

Since: API Level 8

This constant is deprecated.
use STATUS

Constant Value: "status"

public static final String PRESENCE_STATUS

Since: API Level 8

This constant is deprecated.
use PRESENCE

Constant Value: "mode"

public static final String STATUS

Since: API Level 5

Contact latest status update.

Type: TEXT

Constant Value: "status"

public static final String STATUS_ICON

Since: 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

Since: 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

Since: 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

Since: API Level 5

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

Type: NUMBER

Constant Value: "status_ts"