Stay organized with collections
Save and categorize content based on your preferences.
PhotosColumns
interface PhotosColumns
Columns from the Photos table that other columns join into themselves.
Summary
Constants |
static String |
The image data, or null if there is no image.
|
static String |
non-zero if a download is required and the photo isn't marked as a bad resource.
|
static String |
non-zero if this photo is known to exist on the server
|
static String |
The _SYNC_VERSION of the photo that was last downloaded
|
static String |
The person this photo is associated with.
|
static String |
Contains the description of the upload or download error from the previous attempt.
|
Constants
DOWNLOAD_REQUIRED
static val DOWNLOAD_REQUIRED: String
Deprecated: see android.provider.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)
Value: "download_required"
EXISTS_ON_SERVER
static val EXISTS_ON_SERVER: String
Deprecated: see android.provider.ContactsContract
non-zero if this photo is known to exist on the server
Type: INTEGER(boolean)
Value: "exists_on_server"
SYNC_ERROR
static val SYNC_ERROR: String
Deprecated: see android.provider.ContactsContract
Contains the description of the upload or download error from the previous attempt. If null then the previous attempt succeeded.
Type: TEXT
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[],null,["# Contacts.PhotosColumns\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \nDeprecated in [API level 5](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nPhotosColumns\n=============\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/provider/Contacts.PhotosColumns \"View this page in Java\") \n\n```\ninterface PhotosColumns\n```\n\n|----------------------------------------------|\n| [android.provider.Contacts.PhotosColumns](#) |\n\n|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Known Direct Subclasses [Contacts.Photos](/reference/kotlin/android/provider/Contacts.Photos) |-----------------------------------------------------------------------|-----------------------------------| | [Contacts.Photos](/reference/kotlin/android/provider/Contacts.Photos) | The photos over all of the people | |\n\n*** ** * ** ***\n\n| **This interface was deprecated in API level 5.**\n|\n| see [android.provider.ContactsContract](/reference/kotlin/android/provider/ContactsContract)\n\nColumns from the Photos table that other columns join into themselves.\n\nSummary\n-------\n\n| Constants ||\n|-----------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------|\n| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [DATA](#DATA:kotlin.String) The image data, or null if there is no image. |\n| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [DOWNLOAD_REQUIRED](#DOWNLOAD_REQUIRED:kotlin.String) non-zero if a download is required and the photo isn't marked as a bad resource. |\n| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [EXISTS_ON_SERVER](#EXISTS_ON_SERVER:kotlin.String) non-zero if this photo is known to exist on the server |\n| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [LOCAL_VERSION](#LOCAL_VERSION:kotlin.String) The _SYNC_VERSION of the photo that was last downloaded |\n| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [PERSON_ID](#PERSON_ID:kotlin.String) The person this photo is associated with. |\n| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [SYNC_ERROR](#SYNC_ERROR:kotlin.String) Contains the description of the upload or download error from the previous attempt. |\n\nConstants\n---------\n\n### DATA\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val DATA: String\n```\n\n**Deprecated:** *see [android.provider.ContactsContract](/reference/kotlin/android/provider/ContactsContract)*\n\nThe image data, or null if there is no image.\n\nType: BLOB \n\n Value: \"data\"\n\n### DOWNLOAD_REQUIRED\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val DOWNLOAD_REQUIRED: String\n```\n\n**Deprecated:** *see [android.provider.ContactsContract](/reference/kotlin/android/provider/ContactsContract)*\n\nnon-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.\n\nType: INTEGER(boolean) \n\n Value: \"download_required\"\n\n### EXISTS_ON_SERVER\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val EXISTS_ON_SERVER: String\n```\n\n**Deprecated:** *see [android.provider.ContactsContract](/reference/kotlin/android/provider/ContactsContract)*\n\nnon-zero if this photo is known to exist on the server\n\nType: INTEGER(boolean) \n\n Value: \"exists_on_server\"\n\n### LOCAL_VERSION\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val LOCAL_VERSION: String\n```\n\n**Deprecated:** *see [android.provider.ContactsContract](/reference/kotlin/android/provider/ContactsContract)*\n\nThe _SYNC_VERSION of the photo that was last downloaded\n\nType: TEXT \n\n Value: \"local_version\"\n\n### PERSON_ID\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val PERSON_ID: String\n```\n\n**Deprecated:** *see [android.provider.ContactsContract](/reference/kotlin/android/provider/ContactsContract)*\n\nThe person this photo is associated with.\n\nType: TEXT \n\n Value: \"person\"\n\n### SYNC_ERROR\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val SYNC_ERROR: String\n```\n\n**Deprecated:** *see [android.provider.ContactsContract](/reference/kotlin/android/provider/ContactsContract)*\n\nContains the description of the upload or download error from the previous attempt. If null then the previous attempt succeeded.\n\nType: TEXT \n\n Value: \"sync_error\""]]