Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
Android APIs
Added in API level 1
Deprecated since API level 5
public static interface

Contacts.PhotosColumns

android.provider.Contacts.PhotosColumns
Known Indirect Subclasses

This interface was deprecated in API level 5.
see ContactsContract

Class Overview

Columns from the Photos table that other columns join into themselves.

Summary

Constants
String DATA This constant was deprecated in API level 5. see ContactsContract
String DOWNLOAD_REQUIRED This constant was deprecated in API level 5. see ContactsContract
String EXISTS_ON_SERVER This constant was deprecated in API level 5. see ContactsContract
String LOCAL_VERSION This constant was deprecated in API level 5. see ContactsContract
String PERSON_ID This constant was deprecated in API level 5. see ContactsContract
String SYNC_ERROR This constant was deprecated in API level 5. see ContactsContract

Constants

public static final String DATA

Added in API level 1

This constant was deprecated in API level 5.
see ContactsContract

The image data, or null if there is no image.

Type: BLOB

Constant Value: "data"

public static final String DOWNLOAD_REQUIRED

Added in API level 1

This constant was deprecated in API level 5.
see ContactsContract

non-zero if a download is required and the photo isn't marked as a bad resource. You must specify this in the columns in order to use it in the where clause.

Type: INTEGER(boolean)

Constant Value: "download_required"

public static final String EXISTS_ON_SERVER

Added in API level 1

This constant was deprecated in API level 5.
see ContactsContract

non-zero if this photo is known to exist on the server

Type: INTEGER(boolean)

Constant Value: "exists_on_server"

public static final String LOCAL_VERSION

Added in API level 1

This constant was deprecated in API level 5.
see ContactsContract

The _SYNC_VERSION of the photo that was last downloaded

Type: TEXT

Constant Value: "local_version"

public static final String PERSON_ID

Added in API level 1

This constant was deprecated in API level 5.
see ContactsContract

The person this photo is associated with.

Type: TEXT

Constant Value: "person"

public static final String SYNC_ERROR

Added in API level 1

This constant was deprecated in API level 5.
see ContactsContract

Contains the description of the upload or download error from the previous attempt. If null then the previous attempt succeeded.

Type: TEXT

Constant Value: "sync_error"