protected static interface ContactsContract.PresenceColumns

android.provider.ContactsContract.PresenceColumns



Additional data mixed in with StatusColumns to link back to specific ContactsContract.Data._ID entries.

Summary

Constants

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.

Constants

DATA_ID

public static final String DATA_ID

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

Type: INTEGER

Constant Value: "presence_data_id"

IM_ACCOUNT

public static final String IM_ACCOUNT

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

Type: TEXT

Constant Value: "im_account"

IM_HANDLE

public static final String IM_HANDLE

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

Type: TEXT

Constant Value: "im_handle"

PROTOCOL

public static final String PROTOCOL

See CommonDataKinds.Im for a list of defined protocol constants.

Type: NUMBER

Constant Value: "protocol"

Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.

Last updated 2026-02-26 UTC.