Android APIs
public static final class

ContactsContract.StreamItems.StreamItemPhotos

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

This class 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

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 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 CONTENT_ITEM_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 CONTENT_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.
[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

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 directory twig for this sub-table

Constant Value: "photo"

public static final String CONTENT_ITEM_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 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

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 MIME type of a directory of stream item photos.

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