to top
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

Added in API level 15

The directory twig for this sub-table

Constant Value: "photo"

public static final String CONTENT_ITEM_TYPE

Added in API level 15

The MIME type of a single stream item photo.

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

public static final String CONTENT_TYPE

Added in API level 15

The MIME type of a directory of stream item photos.

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