Udostępnij za pośrednictwem


ContactsContract.StreamItems.ContentPhotoUri Property

Definition

Caution

deprecated

A content:// style URI for the photos stored in a sub-table underneath stream items.

[Android.Runtime.Register("CONTENT_PHOTO_URI")]
[System.Obsolete("deprecated")]
public static Android.Net.Uri? ContentPhotoUri { get; }
[<Android.Runtime.Register("CONTENT_PHOTO_URI")>]
[<System.Obsolete("deprecated")>]
static member ContentPhotoUri : Android.Net.Uri

Property Value

Uri
Attributes

Remarks

A content:// style URI for the photos stored in a sub-table underneath stream items. This is only used for inserts, and updates - queries and deletes for photos should be performed by appending StreamItems.StreamItemPhotos#CONTENT_DIRECTORY path to URIs for a specific stream item.

When using this URI, the stream item ID for the photo(s) must be identified in the ContentValues passed in.

This member is deprecated. - Do not use. This will not be supported in the future. In the future, cursors returned from related queries will be empty.

Java documentation for android.provider.ContactsContract.StreamItems.CONTENT_PHOTO_URI.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to