Since: API Level 1
public static interface

Contacts.PresenceColumns

android.provider.Contacts.PresenceColumns
Known Indirect Subclasses

This interface is deprecated.
see ContactsContract

Class Overview

The IM presence columns with some contacts specific columns mixed in.

Summary

Constants
intAVAILABLE
intAWAY
intDO_NOT_DISTURB
intIDLE
StringIM_ACCOUNT This constant is deprecated. see ContactsContract
StringIM_HANDLE This constant is deprecated. see ContactsContract
StringIM_PROTOCOL This constant is deprecated. see ContactsContract
intINVISIBLE
intOFFLINEPresence Status definition
StringPRESENCE_CUSTOM_STATUSThe user defined status line.
StringPRESENCE_STATUSThe server defined status.
StringPRIORITYThe priority, an integer, used by XMPP presence

Type: INTEGER

Constants

public static final int AVAILABLE

Since: API Level 8

Constant Value: 5 (0x00000005)

public static final int AWAY

Since: API Level 8

Constant Value: 2 (0x00000002)

public static final int DO_NOT_DISTURB

Since: API Level 8

Constant Value: 4 (0x00000004)

public static final int IDLE

Since: API Level 8

Constant Value: 3 (0x00000003)

public static final String IM_ACCOUNT

Since: API Level 1

This constant is deprecated.
see ContactsContract

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

Type: STRING

Constant Value: "im_account"

public static final String IM_HANDLE

Since: API Level 1

This constant is deprecated.
see ContactsContract

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

Type: STRING

Constant Value: "im_handle"

public static final String IM_PROTOCOL

Since: API Level 1

This constant is deprecated.
see ContactsContract

The IM service the presence is coming from. Formatted using either encodePredefinedImProtocol(int) or encodeCustomImProtocol(String).

Type: STRING

Constant Value: "im_protocol"

public static final int INVISIBLE

Since: API Level 8

Constant Value: 1 (0x00000001)

public static final int OFFLINE

Since: API Level 8

Presence Status definition

Constant Value: 0 (0x00000000)

public static final String PRESENCE_CUSTOM_STATUS

Since: API Level 8

The user defined status line.

Type: TEXT

Constant Value: "status"

public static final String PRESENCE_STATUS

Since: API Level 8

The server defined status.

Type: INTEGER (one of the values below)

Constant Value: "mode"

public static final String PRIORITY

Since: API Level 8

The priority, an integer, used by XMPP presence

Type: INTEGER

Constant Value: "priority"