Android APIs
Added in API level 15
Deprecated since API level 21
protected static interface

ContactsContract.StreamItemsColumns

android.provider.ContactsContract.StreamItemsColumns
Known Indirect Subclasses

This interface was deprecated in API level 21.
- Do not use. This will not be supported in the future. In the future, cursors returned from related queries will be empty.

Class Overview

Columns in the StreamItems table.

Summary

Constants
String ACCOUNT_NAME This constant was deprecated in API level 21. - Do not use. This will not be supported in the future. In the future, cursors returned from related queries will be empty.
String ACCOUNT_TYPE This constant was deprecated in API level 21. - Do not use. This will not be supported in the future. In the future, cursors returned from related queries will be empty.
String COMMENTS This constant was deprecated in API level 21. - Do not use. This will not be supported in the future. In the future, cursors returned from related queries will be empty.
String CONTACT_ID This constant was deprecated in API level 21. - Do not use. This will not be supported in the future. In the future, cursors returned from related queries will be empty.
String CONTACT_LOOKUP_KEY This constant was deprecated in API level 21. - Do not use. This will not be supported in the future. In the future, cursors returned from related queries will be empty.
String DATA_SET This constant was deprecated in API level 21. - Do not use. This will not be supported in the future. In the future, cursors returned from related queries will be empty.
String RAW_CONTACT_ID This constant was deprecated in API level 21. - Do not use. This will not be supported in the future. In the future, cursors returned from related queries will be empty.
String RAW_CONTACT_SOURCE_ID This constant was deprecated in API level 21. - Do not use. This will not be supported in the future. In the future, cursors returned from related queries will be empty.
String RES_ICON This constant was deprecated in API level 21. - Do not use. This will not be supported in the future. In the future, cursors returned from related queries will be empty.
String RES_LABEL This constant was deprecated in API level 21. - Do not use. This will not be supported in the future. In the future, cursors returned from related queries will be empty.
String RES_PACKAGE This constant was deprecated in API level 21. - Do not use. This will not be supported in the future. In the future, cursors returned from related queries will be empty.
String SYNC1 This constant was deprecated in API level 21. - Do not use. This will not be supported in the future. In the future, cursors returned from related queries will be empty.
String SYNC2 This constant was deprecated in API level 21. - Do not use. This will not be supported in the future. In the future, cursors returned from related queries will be empty.
String SYNC3 This constant was deprecated in API level 21. - Do not use. This will not be supported in the future. In the future, cursors returned from related queries will be empty.
String SYNC4 This constant was deprecated in API level 21. - Do not use. This will not be supported in the future. In the future, cursors returned from related queries will be empty.
String TEXT This constant was deprecated in API level 21. - Do not use. This will not be supported in the future. In the future, cursors returned from related queries will be empty.
String TIMESTAMP This constant was deprecated in API level 21. - Do not use. This will not be supported in the future. In the future, cursors returned from related queries will be empty.

Constants

public static final String ACCOUNT_NAME

Added in API level 15

This constant was deprecated in API level 21.
- Do not use. This will not be supported in the future. In the future, cursors returned from related queries will be empty.

The account name to which the raw_contact of this item is associated. See ACCOUNT_NAME

Type: TEXT

read-only

Constant Value: "account_name"

public static final String ACCOUNT_TYPE

Added in API level 15

This constant was deprecated in API level 21.
- Do not use. This will not be supported in the future. In the future, cursors returned from related queries will be empty.

The account type to which the raw_contact of this item is associated. See ACCOUNT_TYPE

Type: TEXT

read-only

Constant Value: "account_type"

public static final String COMMENTS

Added in API level 15

This constant was deprecated in API level 21.
- Do not use. This will not be supported in the future. In the future, cursors returned from related queries will be empty.

Summary information about the stream item, for example to indicate how many people have reshared it, how many have liked it, how many thumbs up and/or thumbs down it has, what the original source was, etc.

This text is displayed to the user and allows simple formatting via HTML, in the same manner as TEXT allows.

Long content may be truncated and/or ellipsized - the exact behavior is unspecified, but it should not break tags.

Type: TEXT

Constant Value: "comments"

public static final String CONTACT_ID

Added in API level 15

This constant was deprecated in API level 21.
- Do not use. This will not be supported in the future. In the future, cursors returned from related queries will be empty.

A reference to the _ID that this stream item belongs to.

Type: INTEGER

read-only

Constant Value: "contact_id"

public static final String CONTACT_LOOKUP_KEY

Added in API level 15

This constant was deprecated in API level 21.
- Do not use. This will not be supported in the future. In the future, cursors returned from related queries will be empty.

A reference to the LOOKUP_KEY that this stream item belongs to.

Type: TEXT

read-only

Constant Value: "contact_lookup"

public static final String DATA_SET

Added in API level 15

This constant was deprecated in API level 21.
- Do not use. This will not be supported in the future. In the future, cursors returned from related queries will be empty.

The data set within the account that the raw_contact of this row belongs to. This allows multiple sync adapters for the same account type to distinguish between each others' data. DATA_SET

Type: TEXT

read-only

Constant Value: "data_set"

public static final String RAW_CONTACT_ID

Added in API level 15

This constant was deprecated in API level 21.
- Do not use. This will not be supported in the future. In the future, cursors returned from related queries will be empty.

A reference to the _ID that this stream item belongs to.

Type: INTEGER

Constant Value: "raw_contact_id"

public static final String RAW_CONTACT_SOURCE_ID

Added in API level 15

This constant was deprecated in API level 21.
- Do not use. This will not be supported in the future. In the future, cursors returned from related queries will be empty.

The source_id of the raw_contact that this row belongs to. SOURCE_ID

Type: TEXT

read-only

Constant Value: "raw_contact_source_id"

public static final String RES_ICON

Added in API level 15

This constant was deprecated in API level 21.
- Do not use. This will not be supported in the future. In the future, cursors returned from related queries will be empty.

The resource name of the icon for the source of the stream item. This resource should be scoped by the RES_PACKAGE. As this can only reference drawables, the "@drawable/" prefix must be omitted.

Type: TEXT

Constant Value: "icon"

public static final String RES_LABEL

Added in API level 15

This constant was deprecated in API level 21.
- Do not use. This will not be supported in the future. In the future, cursors returned from related queries will be empty.

The resource name of the label describing the source of the status update, e.g. "Google Talk". This resource should be scoped by the RES_PACKAGE. As this can only reference strings, the "@string/" prefix must be omitted.

Type: TEXT

Constant Value: "label"

public static final String RES_PACKAGE

Added in API level 15

This constant was deprecated in API level 21.
- Do not use. This will not be supported in the future. In the future, cursors returned from related queries will be empty.

The package name to use when creating Resources objects for this stream item. This value is only designed for use when building user interfaces, and should not be used to infer the owner.

Type: TEXT

Constant Value: "res_package"

public static final String SYNC1

Added in API level 15

This constant was deprecated in API level 21.
- Do not use. This will not be supported in the future. In the future, cursors returned from related queries will be empty.

Generic column for use by sync adapters.

Constant Value: "stream_item_sync1"

public static final String SYNC2

Added in API level 15

This constant was deprecated in API level 21.
- Do not use. This will not be supported in the future. In the future, cursors returned from related queries will be empty.

Generic column for use by sync adapters.

Constant Value: "stream_item_sync2"

public static final String SYNC3

Added in API level 15

This constant was deprecated in API level 21.
- Do not use. This will not be supported in the future. In the future, cursors returned from related queries will be empty.

Generic column for use by sync adapters.

Constant Value: "stream_item_sync3"

public static final String SYNC4

Added in API level 15

This constant was deprecated in API level 21.
- Do not use. This will not be supported in the future. In the future, cursors returned from related queries will be empty.

Generic column for use by sync adapters.

Constant Value: "stream_item_sync4"

public static final String TEXT

Added in API level 15

This constant was deprecated in API level 21.
- Do not use. This will not be supported in the future. In the future, cursors returned from related queries will be empty.

The main textual contents of the item. Typically this is content that was posted by the source of this stream item, but it can also be a textual representation of an action (e.g. ”Checked in at Joe's”). This text is displayed to the user and allows formatting and embedded resource images via HTML (as parseable via fromHtml(String)).

Long content may be truncated and/or ellipsized - the exact behavior is unspecified, but it should not break tags.

Type: TEXT

Constant Value: "text"

public static final String TIMESTAMP

Added in API level 15

This constant was deprecated in API level 21.
- Do not use. This will not be supported in the future. In the future, cursors returned from related queries will be empty.

The absolute time (milliseconds since epoch) when this stream item was inserted/updated.

Type: NUMBER

Constant Value: "timestamp"