to top
Android APIs
Added in API level 15
protected static interface

ContactsContract.StreamItemsColumns

android.provider.ContactsContract.StreamItemsColumns
Known Indirect Subclasses

Class Overview

Columns in the StreamItems table.

Summary

Constants
String ACCOUNT_NAME The account name to which the raw_contact of this item is associated.
String ACCOUNT_TYPE The account type to which the raw_contact of this item is associated.
String COMMENTS

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.

String CONTACT_ID A reference to the _ID that this stream item belongs to.
String CONTACT_LOOKUP_KEY A reference to the LOOKUP_KEY that this stream item belongs to.
String DATA_SET The data set within the account that the raw_contact of this row belongs to.
String RAW_CONTACT_ID A reference to the _ID that this stream item belongs to.
String RAW_CONTACT_SOURCE_ID The source_id of the raw_contact that this row belongs to.
String RES_ICON The resource name of the icon for the source of the stream item.
String RES_LABEL The resource name of the label describing the source of the status update, e.g.
String RES_PACKAGE The package name to use when creating Resources objects for this stream item.
String SYNC1 Generic column for use by sync adapters.
String SYNC2 Generic column for use by sync adapters.
String SYNC3 Generic column for use by sync adapters.
String SYNC4 Generic column for use by sync adapters.
String TEXT

The main textual contents of the item.

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

Constants

public static final String ACCOUNT_NAME

Added in API level 15

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

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

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

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

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

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

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

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

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

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

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

Generic column for use by sync adapters.

Constant Value: "stream_item_sync1"

public static final String SYNC2

Added in API level 15

Generic column for use by sync adapters.

Constant Value: "stream_item_sync2"

public static final String SYNC3

Added in API level 15

Generic column for use by sync adapters.

Constant Value: "stream_item_sync3"

public static final String SYNC4

Added in API level 15

Generic column for use by sync adapters.

Constant Value: "stream_item_sync4"

public static final String TEXT

Added in API level 15

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

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

Type: NUMBER

Constant Value: "timestamp"