Skip to content

Most visited

Recently visited

navigation

ContactsContract.StreamItems.StreamItemPhotos | Android Developers

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"
This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.

Take a one-minute survey?
Help us improve Android tools and documentation.