ContactsContract.Data.InterfaceConsts.PhotoId Field
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Reference to the row in the data table holding the photo.
[Android.Runtime.Register("PHOTO_ID")]
public const string PhotoId;
[<Android.Runtime.Register("PHOTO_ID")>]
val mutable PhotoId : string
Field Value
- Attributes
Remarks
Reference to the row in the data table holding the photo. A photo can be referred to either by ID (this field) or by URI (see #PHOTO_THUMBNAIL_URI
and #PHOTO_URI
). If PHOTO_ID is null, consult #PHOTO_URI
or #PHOTO_THUMBNAIL_URI
, which is a more generic mechanism for referencing the contact photo, especially for contacts returned by non-local directories (see Directory
).
Type: INTEGER REFERENCES data(_id)
Java documentation for android.provider.ContactsContract.ContactsColumns.PHOTO_ID
.
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.