Since: API Level 5
protected static interface

ContactsContract.StatusColumns

android.provider.ContactsContract.StatusColumns
Known Indirect Subclasses

Class Overview

Social status update columns.

Summary

Constants
intAVAILABLEAn allowed value of PRESENCE.
intAWAYAn allowed value of PRESENCE.
intDO_NOT_DISTURBAn allowed value of PRESENCE.
intIDLEAn allowed value of PRESENCE.
intINVISIBLEAn allowed value of PRESENCE.
intOFFLINEAn allowed value of PRESENCE.
StringPRESENCEContact's latest presence level.
StringPRESENCE_CUSTOM_STATUS This constant is deprecated. use STATUS
StringPRESENCE_STATUS This constant is deprecated. use PRESENCE
StringSTATUSContact latest status update.
StringSTATUS_ICONThe resource ID of the icon for the source of the status update.
StringSTATUS_LABELThe resource ID of the label describing the source of the status update, e.g.
StringSTATUS_RES_PACKAGEThe package containing resources for this status: label and icon.
StringSTATUS_TIMESTAMPThe 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 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: NUMBER

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"