ContactsContract.Presence


public static final class ContactsContract.Presence
extends ContactsContract.StatusUpdates

java.lang.Object
   ↳ android.provider.ContactsContract.StatusUpdates
     ↳ android.provider.ContactsContract.Presence


This class was deprecated in API level 5.
This old name was never meant to be made public. Do not use.

Summary

Inherited constants

String CONTENT_ITEM_TYPE

The MIME type of a CONTENT_URI subdirectory of a single status update detail.

String CONTENT_TYPE

The MIME type of CONTENT_URI providing a directory of status update details.

String CUSTOM_PROTOCOL

Name of the custom protocol.

String DATA_ID

Reference to the Data._ID entry that owns this presence.

String IM_ACCOUNT

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

String IM_HANDLE

The IM handle the presence item is for.

String PROTOCOL

See CommonDataKinds.Im for a list of defined protocol 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 15. use STATUS

String PRESENCE_STATUS

This constant was deprecated in API level 15. 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. "Google Talk".

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.

Inherited fields

public static final Uri CONTENT_URI

The content:// style URI for this table

public static final Uri PROFILE_CONTENT_URI

The content:// style URI for this table, specific to the user's profile.

Public constructors

Presence()

Inherited methods

static final int getPresenceIconResourceId(int status)

Gets the resource ID for the proper presence icon.

static final int getPresencePrecedence(int status)

Returns the precedence of the status code the higher number being the higher precedence.

Object clone()

Creates and returns a copy of this object.

boolean equals(Object obj)

Indicates whether some other object is "equal to" this one.

void finalize()

Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.

final Class<?> getClass()

Returns the runtime class of this Object.

int hashCode()

Returns a hash code value for the object.

final void notify()

Wakes up a single thread that is waiting on this object's monitor.

final void notifyAll()

Wakes up all threads that are waiting on this object's monitor.

String toString()

Returns a string representation of the object.

final void wait(long timeoutMillis, int nanos)

Causes the current thread to wait until it is awakened, typically by being notified or interrupted, or until a certain amount of real time has elapsed.

final void wait(long timeoutMillis)

Causes the current thread to wait until it is awakened, typically by being notified or interrupted, or until a certain amount of real time has elapsed.

final void wait()

Causes the current thread to wait until it is awakened, typically by being notified or interrupted.

Public constructors

Presence

public Presence ()