# MediaStore.PickerMediaColumns

Added in[API level 33](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Also in[R Extensions 2](https://developer.android.com/sdkExtensions)

# PickerMediaColumns

*** ** * ** ***

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

```
class PickerMediaColumns
```

|---|--------------------------------------------------------------------------------------------------------------------------------------------------|
| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)                                                                   ||
| ↳ | [android.provider.MediaStore.PickerMediaColumns](https://developer.android.com/reference/kotlin/android/provider/MediaStore.PickerMediaColumns#) |

Photo picker metadata columns.

## Summary

|                                                                                                                                                                                                                                                                                                      Constants                                                                                                                                                                                                                                                                                                      ||
|----------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| static[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [DATA](https://developer.android.com/reference/kotlin/android/provider/MediaStore.PickerMediaColumns#DATA:kotlin.String) This is identical to[MediaColumns.DATA](https://developer.android.com/reference/kotlin/android/provider/MediaStore.MediaColumns#DATA:kotlin.String), however, apps should not assume that the file is always available because the file may be backed by a[CloudMediaProvider](https://developer.android.com/reference/kotlin/android/provider/CloudMediaProvider)fetching content over a network. |
| static[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [DATE_TAKEN](https://developer.android.com/reference/kotlin/android/provider/MediaStore.PickerMediaColumns#DATE_TAKEN:kotlin.String) This is identical to[MediaColumns.DATE_TAKEN](https://developer.android.com/reference/kotlin/android/provider/MediaStore.MediaColumns#DATE_TAKEN:kotlin.String).                                                                                                                                                                                                                       |
| static[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [DISPLAY_NAME](https://developer.android.com/reference/kotlin/android/provider/MediaStore.PickerMediaColumns#DISPLAY_NAME:kotlin.String) This is identical to[MediaColumns.DISPLAY_NAME](https://developer.android.com/reference/kotlin/android/provider/MediaStore.MediaColumns#DISPLAY_NAME:kotlin.String).                                                                                                                                                                                                               |
| static[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [DURATION_MILLIS](https://developer.android.com/reference/kotlin/android/provider/MediaStore.PickerMediaColumns#DURATION_MILLIS:kotlin.String) This is identical to[MediaColumns.DURATION](https://developer.android.com/reference/kotlin/android/provider/MediaStore.MediaColumns#DURATION:kotlin.String).                                                                                                                                                                                                                 |
| static[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [HEIGHT](https://developer.android.com/reference/kotlin/android/provider/MediaStore.PickerMediaColumns#HEIGHT:kotlin.String) This is identical to[MediaColumns.HEIGHT](https://developer.android.com/reference/kotlin/android/provider/MediaStore.MediaColumns#HEIGHT:kotlin.String).                                                                                                                                                                                                                                       |
| static[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [MIME_TYPE](https://developer.android.com/reference/kotlin/android/provider/MediaStore.PickerMediaColumns#MIME_TYPE:kotlin.String) This is identical to[MediaColumns.MIME_TYPE](https://developer.android.com/reference/kotlin/android/provider/MediaStore.MediaColumns#MIME_TYPE:kotlin.String).                                                                                                                                                                                                                           |
| static[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [ORIENTATION](https://developer.android.com/reference/kotlin/android/provider/MediaStore.PickerMediaColumns#ORIENTATION:kotlin.String) This is identical to[MediaColumns.ORIENTATION](https://developer.android.com/reference/kotlin/android/provider/MediaStore.MediaColumns#ORIENTATION:kotlin.String).                                                                                                                                                                                                                   |
| static[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [SIZE](https://developer.android.com/reference/kotlin/android/provider/MediaStore.PickerMediaColumns#SIZE:kotlin.String) This is identical to[MediaColumns.SIZE](https://developer.android.com/reference/kotlin/android/provider/MediaStore.MediaColumns#SIZE:kotlin.String).                                                                                                                                                                                                                                               |
| static[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [WIDTH](https://developer.android.com/reference/kotlin/android/provider/MediaStore.PickerMediaColumns#WIDTH:kotlin.String) This is identical to[MediaColumns.WIDTH](https://developer.android.com/reference/kotlin/android/provider/MediaStore.MediaColumns#WIDTH:kotlin.String).                                                                                                                                                                                                                                           |

## Constants

### DATA

Added in[API level 33](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Also in[R Extensions 2](https://developer.android.com/sdkExtensions)  

```
static val DATA: String
```

This is identical to[MediaColumns.DATA](https://developer.android.com/reference/kotlin/android/provider/MediaStore.MediaColumns#DATA:kotlin.String), however, apps should not assume that the file is always available because the file may be backed by a[CloudMediaProvider](https://developer.android.com/reference/kotlin/android/provider/CloudMediaProvider)fetching content over a network. Therefore, apps must be prepared to handle any additional file-based I/O errors that could occur as a result of network errors.  
This constant represents a column name that can be used with a[android.content.ContentProvider](https://developer.android.com/reference/kotlin/android/content/ContentProvider.html#)through a[android.content.ContentValues](https://developer.android.com/reference/kotlin/android/content/ContentValues.html#)or[android.database.Cursor](https://developer.android.com/reference/kotlin/android/database/Cursor.html#)object. The values stored in this column are[Cursor#FIELD_TYPE_STRING](https://developer.android.com/reference/kotlin/android/database/Cursor.html#FIELD_TYPE_STRING:kotlin.Int), and are read-only and cannot be mutated.  

    Value: "_data"

**See Also**

- [android.provider.MediaStore.MediaColumns#DATA](https://developer.android.com/reference/kotlin/android/provider/MediaStore.MediaColumns#DATA:kotlin.String)  

### DATE_TAKEN

Added in[API level 33](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Also in[R Extensions 2](https://developer.android.com/sdkExtensions)  

```
static val DATE_TAKEN: String
```

This is identical to[MediaColumns.DATE_TAKEN](https://developer.android.com/reference/kotlin/android/provider/MediaStore.MediaColumns#DATE_TAKEN:kotlin.String).  
Value is a non-negative timestamp measured as the number of milliseconds since 1970-01-01T00:00:00Z.  
This constant represents a column name that can be used with a[android.content.ContentProvider](https://developer.android.com/reference/kotlin/android/content/ContentProvider.html#)through a[android.content.ContentValues](https://developer.android.com/reference/kotlin/android/content/ContentValues.html#)or[android.database.Cursor](https://developer.android.com/reference/kotlin/android/database/Cursor.html#)object. The values stored in this column are[Cursor#FIELD_TYPE_INTEGER](https://developer.android.com/reference/kotlin/android/database/Cursor.html#FIELD_TYPE_INTEGER:kotlin.Int), and are read-only and cannot be mutated.  

    Value: "datetaken"

**See Also**

- [android.provider.MediaStore.MediaColumns#DATE_TAKEN](https://developer.android.com/reference/kotlin/android/provider/MediaStore.MediaColumns#DATE_TAKEN:kotlin.String)  

### DISPLAY_NAME

Added in[API level 33](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Also in[R Extensions 2](https://developer.android.com/sdkExtensions)  

```
static val DISPLAY_NAME: String
```

This is identical to[MediaColumns.DISPLAY_NAME](https://developer.android.com/reference/kotlin/android/provider/MediaStore.MediaColumns#DISPLAY_NAME:kotlin.String).  
This constant represents a column name that can be used with a[android.content.ContentProvider](https://developer.android.com/reference/kotlin/android/content/ContentProvider.html#)through a[android.content.ContentValues](https://developer.android.com/reference/kotlin/android/content/ContentValues.html#)or[android.database.Cursor](https://developer.android.com/reference/kotlin/android/database/Cursor.html#)object. The values stored in this column are[Cursor#FIELD_TYPE_STRING](https://developer.android.com/reference/kotlin/android/database/Cursor.html#FIELD_TYPE_STRING:kotlin.Int), and are read-only and cannot be mutated.  

    Value: "_display_name"

**See Also**

- [android.provider.MediaStore.MediaColumns#DISPLAY_NAME](https://developer.android.com/reference/kotlin/android/provider/MediaStore.MediaColumns#DISPLAY_NAME:kotlin.String)  

### DURATION_MILLIS

Added in[API level 33](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Also in[R Extensions 2](https://developer.android.com/sdkExtensions)  

```
static val DURATION_MILLIS: String
```

This is identical to[MediaColumns.DURATION](https://developer.android.com/reference/kotlin/android/provider/MediaStore.MediaColumns#DURATION:kotlin.String).  
Value is a non-negative duration in milliseconds.  
This constant represents a column name that can be used with a[android.content.ContentProvider](https://developer.android.com/reference/kotlin/android/content/ContentProvider.html#)through a[android.content.ContentValues](https://developer.android.com/reference/kotlin/android/content/ContentValues.html#)or[android.database.Cursor](https://developer.android.com/reference/kotlin/android/database/Cursor.html#)object. The values stored in this column are[Cursor#FIELD_TYPE_INTEGER](https://developer.android.com/reference/kotlin/android/database/Cursor.html#FIELD_TYPE_INTEGER:kotlin.Int), and are read-only and cannot be mutated.  

    Value: "duration"

**See Also**

- [android.provider.MediaStore.MediaColumns#DURATION](https://developer.android.com/reference/kotlin/android/provider/MediaStore.MediaColumns#DURATION:kotlin.String)  

### HEIGHT

Added in[API level 34](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Also in[R Extensions 5](https://developer.android.com/sdkExtensions)  

```
static val HEIGHT: String
```

This is identical to[MediaColumns.HEIGHT](https://developer.android.com/reference/kotlin/android/provider/MediaStore.MediaColumns#HEIGHT:kotlin.String).  
This constant represents a column name that can be used with a[android.content.ContentProvider](https://developer.android.com/reference/kotlin/android/content/ContentProvider.html#)through a[android.content.ContentValues](https://developer.android.com/reference/kotlin/android/content/ContentValues.html#)or[android.database.Cursor](https://developer.android.com/reference/kotlin/android/database/Cursor.html#)object. The values stored in this column are[Cursor#FIELD_TYPE_INTEGER](https://developer.android.com/reference/kotlin/android/database/Cursor.html#FIELD_TYPE_INTEGER:kotlin.Int), and are read-only and cannot be mutated.  

    Value: "height"

**See Also**

- [android.provider.MediaStore.MediaColumns#HEIGHT](https://developer.android.com/reference/kotlin/android/provider/MediaStore.MediaColumns#HEIGHT:kotlin.String)  

### MIME_TYPE

Added in[API level 33](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Also in[R Extensions 2](https://developer.android.com/sdkExtensions)  

```
static val MIME_TYPE: String
```

This is identical to[MediaColumns.MIME_TYPE](https://developer.android.com/reference/kotlin/android/provider/MediaStore.MediaColumns#MIME_TYPE:kotlin.String).  
This constant represents a column name that can be used with a[android.content.ContentProvider](https://developer.android.com/reference/kotlin/android/content/ContentProvider.html#)through a[android.content.ContentValues](https://developer.android.com/reference/kotlin/android/content/ContentValues.html#)or[android.database.Cursor](https://developer.android.com/reference/kotlin/android/database/Cursor.html#)object. The values stored in this column are[Cursor#FIELD_TYPE_STRING](https://developer.android.com/reference/kotlin/android/database/Cursor.html#FIELD_TYPE_STRING:kotlin.Int), and are read-only and cannot be mutated.  

    Value: "mime_type"

**See Also**

- [android.provider.MediaStore.MediaColumns#MIME_TYPE](https://developer.android.com/reference/kotlin/android/provider/MediaStore.MediaColumns#MIME_TYPE:kotlin.String)  

### ORIENTATION

Added in[API level 34](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Also in[R Extensions 5](https://developer.android.com/sdkExtensions)  

```
static val ORIENTATION: String
```

This is identical to[MediaColumns.ORIENTATION](https://developer.android.com/reference/kotlin/android/provider/MediaStore.MediaColumns#ORIENTATION:kotlin.String).  
This constant represents a column name that can be used with a[android.content.ContentProvider](https://developer.android.com/reference/kotlin/android/content/ContentProvider.html#)through a[android.content.ContentValues](https://developer.android.com/reference/kotlin/android/content/ContentValues.html#)or[android.database.Cursor](https://developer.android.com/reference/kotlin/android/database/Cursor.html#)object. The values stored in this column are[Cursor#FIELD_TYPE_INTEGER](https://developer.android.com/reference/kotlin/android/database/Cursor.html#FIELD_TYPE_INTEGER:kotlin.Int), and are read-only and cannot be mutated.  

    Value: "orientation"

**See Also**

- [android.provider.MediaStore.MediaColumns#ORIENTATION](https://developer.android.com/reference/kotlin/android/provider/MediaStore.MediaColumns#ORIENTATION:kotlin.String)  

### SIZE

Added in[API level 33](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Also in[R Extensions 2](https://developer.android.com/sdkExtensions)  

```
static val SIZE: String
```

This is identical to[MediaColumns.SIZE](https://developer.android.com/reference/kotlin/android/provider/MediaStore.MediaColumns#SIZE:kotlin.String).  
Value is a non-negative number of bytes.  
This constant represents a column name that can be used with a[android.content.ContentProvider](https://developer.android.com/reference/kotlin/android/content/ContentProvider.html#)through a[android.content.ContentValues](https://developer.android.com/reference/kotlin/android/content/ContentValues.html#)or[android.database.Cursor](https://developer.android.com/reference/kotlin/android/database/Cursor.html#)object. The values stored in this column are[Cursor#FIELD_TYPE_INTEGER](https://developer.android.com/reference/kotlin/android/database/Cursor.html#FIELD_TYPE_INTEGER:kotlin.Int), and are read-only and cannot be mutated.  

    Value: "_size"

**See Also**

- [android.provider.MediaStore.MediaColumns#SIZE](https://developer.android.com/reference/kotlin/android/provider/MediaStore.MediaColumns#SIZE:kotlin.String)  

### WIDTH

Added in[API level 34](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Also in[R Extensions 5](https://developer.android.com/sdkExtensions)  

```
static val WIDTH: String
```

This is identical to[MediaColumns.WIDTH](https://developer.android.com/reference/kotlin/android/provider/MediaStore.MediaColumns#WIDTH:kotlin.String).  
This constant represents a column name that can be used with a[android.content.ContentProvider](https://developer.android.com/reference/kotlin/android/content/ContentProvider.html#)through a[android.content.ContentValues](https://developer.android.com/reference/kotlin/android/content/ContentValues.html#)or[android.database.Cursor](https://developer.android.com/reference/kotlin/android/database/Cursor.html#)object. The values stored in this column are[Cursor#FIELD_TYPE_INTEGER](https://developer.android.com/reference/kotlin/android/database/Cursor.html#FIELD_TYPE_INTEGER:kotlin.Int), and are read-only and cannot be mutated.  

    Value: "width"

**See Also**

- [android.provider.MediaStore.MediaColumns#WIDTH](https://developer.android.com/reference/kotlin/android/provider/MediaStore.MediaColumns#WIDTH:kotlin.String)