Stay organized with collections
Save and categorize content based on your preferences.
public
static
interface
Contacts.PhotosColumns
android.provider.Contacts.PhotosColumns
|
Known indirect subclasses
|
This interface was deprecated
in API level 5.
see ContactsContract
Columns from the Photos table that other columns join into themselves.
Summary
Constants
DATA
public static final String DATA
This constant is deprecated.
see ContactsContract
The image data, or null if there is no image.
Type: BLOB
Constant Value:
"data"
DOWNLOAD_REQUIRED
public static final String DOWNLOAD_REQUIRED
This constant is deprecated.
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"
EXISTS_ON_SERVER
public static final String EXISTS_ON_SERVER
This constant is deprecated.
see ContactsContract
non-zero if this photo is known to exist on the server
Type: INTEGER(boolean)
Constant Value:
"exists_on_server"
LOCAL_VERSION
public static final String LOCAL_VERSION
This constant is deprecated.
see ContactsContract
The _SYNC_VERSION of the photo that was last downloaded
Type: TEXT
Constant Value:
"local_version"
PERSON_ID
public static final String PERSON_ID
This constant is deprecated.
see ContactsContract
The person this photo is associated with.
Type: TEXT
Constant Value:
"person"
SYNC_ERROR
public static final String SYNC_ERROR
This constant is deprecated.
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"
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[null,null,["Last updated 2025-02-10 UTC."],[],[],null,["# Contacts.PhotosColumns\n\nAdded in [API level 1](/guide/topics/manifest/uses-sdk-element#ApiLevels) \nDeprecated in [API level\n5](/guide/topics/manifest/uses-sdk-element#ApiLevels) \nSummary: [Constants](#constants) \n\nContacts.PhotosColumns\n======================\n\n*** ** * ** ***\n\n[Kotlin](/reference/kotlin/android/provider/Contacts.PhotosColumns \"View this page in Kotlin\") \\|Java\n\n\n`\npublic\nstatic\n\n\ninterface\nContacts.PhotosColumns\n`\n\n\n`\n\n\n`\n\n|-----------------------------------------|\n| android.provider.Contacts.PhotosColumns |\n\n|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Known indirect subclasses [Contacts.Photos](/reference/android/provider/Contacts.Photos) |----------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------| | [Contacts.Photos](/reference/android/provider/Contacts.Photos) | *This class was deprecated in API level 5. see [ContactsContract](/reference/android/provider/ContactsContract)* | |\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\n\n**This interface was deprecated\nin API level 5.** \n\nsee [ContactsContract](/reference/android/provider/ContactsContract)\n\nColumns from the Photos table that other columns join into themselves.\n\nSummary\n-------\n\n| ### Constants ||\n|---------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [String](/reference/java/lang/String) | [DATA](/reference/android/provider/Contacts.PhotosColumns#DATA) *This constant is deprecated. see [ContactsContract](/reference/android/provider/ContactsContract)* |\n| [String](/reference/java/lang/String) | [DOWNLOAD_REQUIRED](/reference/android/provider/Contacts.PhotosColumns#DOWNLOAD_REQUIRED) *This constant is deprecated. see [ContactsContract](/reference/android/provider/ContactsContract)* |\n| [String](/reference/java/lang/String) | [EXISTS_ON_SERVER](/reference/android/provider/Contacts.PhotosColumns#EXISTS_ON_SERVER) *This constant is deprecated. see [ContactsContract](/reference/android/provider/ContactsContract)* |\n| [String](/reference/java/lang/String) | [LOCAL_VERSION](/reference/android/provider/Contacts.PhotosColumns#LOCAL_VERSION) *This constant is deprecated. see [ContactsContract](/reference/android/provider/ContactsContract)* |\n| [String](/reference/java/lang/String) | [PERSON_ID](/reference/android/provider/Contacts.PhotosColumns#PERSON_ID) *This constant is deprecated. see [ContactsContract](/reference/android/provider/ContactsContract)* |\n| [String](/reference/java/lang/String) | [SYNC_ERROR](/reference/android/provider/Contacts.PhotosColumns#SYNC_ERROR) *This constant is deprecated. see [ContactsContract](/reference/android/provider/ContactsContract)* |\n\nConstants\n---------\n\n### DATA\n\nAdded in [API level 1](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\n```\npublic static final String DATA\n```\n\n\n**This constant is deprecated.** \n\nsee [ContactsContract](/reference/android/provider/ContactsContract)\n\nThe image data, or null if there is no image.\n\nType: BLOB\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\nConstant Value:\n\n\"data\"\n\n\n### DOWNLOAD_REQUIRED\n\nAdded in [API level 1](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\n```\npublic static final String DOWNLOAD_REQUIRED\n```\n\n\n**This constant is deprecated.** \n\nsee [ContactsContract](/reference/android/provider/ContactsContract)\n\nnon-zero if a download is required and the photo isn't marked as a bad resource.\nYou must specify this in the columns in order to use it in the where clause.\n\nType: INTEGER(boolean)\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\nConstant Value:\n\n\"download_required\"\n\n\n### EXISTS_ON_SERVER\n\nAdded in [API level 1](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\n```\npublic static final String EXISTS_ON_SERVER\n```\n\n\n**This constant is deprecated.** \n\nsee [ContactsContract](/reference/android/provider/ContactsContract)\n\nnon-zero if this photo is known to exist on the server\n\nType: INTEGER(boolean)\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\nConstant Value:\n\n\"exists_on_server\"\n\n\n### LOCAL_VERSION\n\nAdded in [API level 1](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\n```\npublic static final String LOCAL_VERSION\n```\n\n\n**This constant is deprecated.** \n\nsee [ContactsContract](/reference/android/provider/ContactsContract)\n\nThe _SYNC_VERSION of the photo that was last downloaded\n\nType: TEXT\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\nConstant Value:\n\n\"local_version\"\n\n\n### PERSON_ID\n\nAdded in [API level 1](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\n```\npublic static final String PERSON_ID\n```\n\n\n**This constant is deprecated.** \n\nsee [ContactsContract](/reference/android/provider/ContactsContract)\n\nThe person this photo is associated with.\n\nType: TEXT\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\nConstant Value:\n\n\"person\"\n\n\n### SYNC_ERROR\n\nAdded in [API level 1](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\n```\npublic static final String SYNC_ERROR\n```\n\n\n**This constant is deprecated.** \n\nsee [ContactsContract](/reference/android/provider/ContactsContract)\n\nContains the description of the upload or download error from\nthe previous attempt. If null then the previous attempt succeeded.\n\nType: TEXT\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\nConstant Value:\n\n\"sync_error\""]]