Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
Android APIs
public static final class

ContactsContract.StreamItems.StreamItemPhotos

extends Object
implements BaseColumns ContactsContract.StreamItemPhotosColumns
java.lang.Object
   ↳ android.provider.ContactsContract.StreamItems.StreamItemPhotos

Class Overview

A sub-directory of a single stream item entry that contains all of its photo rows. To access this directory append CONTENT_DIRECTORY to an individual stream item URI.

Access to social stream photos requires additional permissions beyond the read/write contact permissions required by the provider. Querying for social stream photos requires android.permission.READ_SOCIAL_STREAM permission, and inserting or updating social stream photos requires android.permission.WRITE_SOCIAL_STREAM permission.

Summary

Constants
String CONTENT_DIRECTORY The directory twig for this sub-table
String CONTENT_ITEM_TYPE The MIME type of a single stream item photo.
String CONTENT_TYPE The MIME type of a directory of stream item photos.
[Expand]
Inherited Constants
From interface android.provider.BaseColumns
From interface android.provider.ContactsContract.StreamItemPhotosColumns
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final String CONTENT_DIRECTORY

The directory twig for this sub-table

Constant Value: "photo"

public static final String CONTENT_ITEM_TYPE

The MIME type of a single stream item photo.

Constant Value: "vnd.android.cursor.item/stream_item_photo"

public static final String CONTENT_TYPE

The MIME type of a directory of stream item photos.

Constant Value: "vnd.android.cursor.dir/stream_item_photo"