# Contacts.PhotosColumns

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  
Deprecated in[API level 5](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  
Summary:[Constants](https://developer.android.com/reference/android/provider/Contacts.PhotosColumns#constants)  

# Contacts.PhotosColumns

*** ** * ** ***

[Kotlin](https://developer.android.com/reference/kotlin/android/provider/Contacts.PhotosColumns "View this page in Kotlin")\|Java

`
public
static


interface
Contacts.PhotosColumns
`  
`


`

|-----------------------------------------|
| android.provider.Contacts.PhotosColumns |

|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| Known indirect subclasses [Contacts.Photos](https://developer.android.com/reference/android/provider/Contacts.Photos) |---------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------| | [Contacts.Photos](https://developer.android.com/reference/android/provider/Contacts.Photos) | *This class was deprecated in API level 5. see[ContactsContract](https://developer.android.com/reference/android/provider/ContactsContract)* | |

<br />

*** ** * ** ***

<br />

**This interface was deprecated in API level 5.**   
see[ContactsContract](https://developer.android.com/reference/android/provider/ContactsContract)

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

## Summary

|                                                                                                                                                       ### Constants                                                                                                                                                        ||
|--------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [String](https://developer.android.com/reference/java/lang/String) | [DATA](https://developer.android.com/reference/android/provider/Contacts.PhotosColumns#DATA) *This constant is deprecated. see[ContactsContract](https://developer.android.com/reference/android/provider/ContactsContract)*                           |
| [String](https://developer.android.com/reference/java/lang/String) | [DOWNLOAD_REQUIRED](https://developer.android.com/reference/android/provider/Contacts.PhotosColumns#DOWNLOAD_REQUIRED) *This constant is deprecated. see[ContactsContract](https://developer.android.com/reference/android/provider/ContactsContract)* |
| [String](https://developer.android.com/reference/java/lang/String) | [EXISTS_ON_SERVER](https://developer.android.com/reference/android/provider/Contacts.PhotosColumns#EXISTS_ON_SERVER) *This constant is deprecated. see[ContactsContract](https://developer.android.com/reference/android/provider/ContactsContract)*   |
| [String](https://developer.android.com/reference/java/lang/String) | [LOCAL_VERSION](https://developer.android.com/reference/android/provider/Contacts.PhotosColumns#LOCAL_VERSION) *This constant is deprecated. see[ContactsContract](https://developer.android.com/reference/android/provider/ContactsContract)*         |
| [String](https://developer.android.com/reference/java/lang/String) | [PERSON_ID](https://developer.android.com/reference/android/provider/Contacts.PhotosColumns#PERSON_ID) *This constant is deprecated. see[ContactsContract](https://developer.android.com/reference/android/provider/ContactsContract)*                 |
| [String](https://developer.android.com/reference/java/lang/String) | [SYNC_ERROR](https://developer.android.com/reference/android/provider/Contacts.PhotosColumns#SYNC_ERROR) *This constant is deprecated. see[ContactsContract](https://developer.android.com/reference/android/provider/ContactsContract)*               |

## Constants

### DATA

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public static final String DATA
```

<br />

**This constant is deprecated.**   
see[ContactsContract](https://developer.android.com/reference/android/provider/ContactsContract)

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

Type: BLOB

<br />

<br />

Constant Value: "data"  

### DOWNLOAD_REQUIRED

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public static final String DOWNLOAD_REQUIRED
```

<br />

**This constant is deprecated.**   
see[ContactsContract](https://developer.android.com/reference/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)

<br />

<br />

Constant Value: "download_required"  

### EXISTS_ON_SERVER

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public static final String EXISTS_ON_SERVER
```

<br />

**This constant is deprecated.**   
see[ContactsContract](https://developer.android.com/reference/android/provider/ContactsContract)

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

Type: INTEGER(boolean)

<br />

<br />

Constant Value: "exists_on_server"  

### LOCAL_VERSION

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public static final String LOCAL_VERSION
```

<br />

**This constant is deprecated.**   
see[ContactsContract](https://developer.android.com/reference/android/provider/ContactsContract)

The _SYNC_VERSION of the photo that was last downloaded

Type: TEXT

<br />

<br />

Constant Value: "local_version"  

### PERSON_ID

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public static final String PERSON_ID
```

<br />

**This constant is deprecated.**   
see[ContactsContract](https://developer.android.com/reference/android/provider/ContactsContract)

The person this photo is associated with.

Type: TEXT

<br />

<br />

Constant Value: "person"  

### SYNC_ERROR

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public static final String SYNC_ERROR
```

<br />

**This constant is deprecated.**   
see[ContactsContract](https://developer.android.com/reference/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

<br />

<br />

Constant Value: "sync_error"