Android
android.provider
public static interface

android.provider.Contacts.PresenceColumns

android.provider.Contacts.PresenceColumns

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

Known Indirect Subclasses

Summary

Constants

      Value  
int  AVAILABLE    0x00000005 
int  AWAY    0x00000002 
int  DO_NOT_DISTURB    0x00000004 
int  IDLE    0x00000003 
String  IM_ACCOUNT  The IM account for the local user that the presence data came from.  "im_account" 
String  IM_HANDLE  The IM handle the presence item is for.  "im_handle" 
String  IM_PROTOCOL  The IM service the presence is coming from.  "im_protocol" 
int  INVISIBLE    0x00000001 
int  OFFLINE  Presence Status definition   0x00000000 
String  PRESENCE_CUSTOM_STATUS  The user defined status line.  "status" 
String  PRESENCE_STATUS  The server defined status.  "mode" 
String  PRIORITY  The priority, an integer, used by XMPP presence

Type: INTEGER

 
"priority" 

Details

Constants

public static final int AVAILABLE

Constant Value: 5 (0x00000005)

public static final int AWAY

Constant Value: 2 (0x00000002)

public static final int DO_NOT_DISTURB

Constant Value: 4 (0x00000004)

public static final int IDLE

Constant Value: 3 (0x00000003)

public static final String IM_ACCOUNT

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

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

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

Constant Value: 1 (0x00000001)

public static final int OFFLINE

Presence Status definition
Constant Value: 0 (0x00000000)

public static final String PRESENCE_CUSTOM_STATUS

The user defined status line.

Type: TEXT

Constant Value: "status"

public static final String PRESENCE_STATUS

The server defined status.

Type: INTEGER (one of the values below)

Constant Value: "mode"

public static final String PRIORITY

The priority, an integer, used by XMPP presence

Type: INTEGER

Constant Value: "priority"
Copyright 2007 Google Inc. Build 0.9_r1-98467 - 14 Aug 2008 18:48