# OpenableColumns

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

# OpenableColumns

*** ** * ** ***

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

`
public


interface
OpenableColumns
`  
`


`

|----------------------------------|
| android.provider.OpenableColumns |

|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| Known indirect subclasses [VoicemailContract.Voicemails](https://developer.android.com/reference/android/provider/VoicemailContract.Voicemails) |-----------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------| | [VoicemailContract.Voicemails](https://developer.android.com/reference/android/provider/VoicemailContract.Voicemails) | Defines fields exposed through the /voicemail path of this content provider. | |

<br />

*** ** * ** ***

These are standard columns for openable URIs. Providers that serve openable URIs*must*support at least these columns when queried.

To find the content type of a URI, use[ContentResolver.getType(android.net.Uri)](https://developer.android.com/reference/android/content/ContentResolver#getType(android.net.Uri)).  
**See also:**

- [Intent.CATEGORY_OPENABLE](https://developer.android.com/reference/android/content/Intent#CATEGORY_OPENABLE)

## Summary

|                                                                                                       ### Constants                                                                                                       ||
|--------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------|
| [String](https://developer.android.com/reference/java/lang/String) | [DISPLAY_NAME](https://developer.android.com/reference/android/provider/OpenableColumns#DISPLAY_NAME) The human-friendly name of file.                |
| [String](https://developer.android.com/reference/java/lang/String) | [SIZE](https://developer.android.com/reference/android/provider/OpenableColumns#SIZE) The number of bytes in the file identified by the openable URI. |

## Constants

### DISPLAY_NAME

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

```
public static final String DISPLAY_NAME
```

The human-friendly name of file. If this is not provided then the name should default to the the last segment of the file's URI.

<br />

Constant Value: "_display_name"  

### SIZE

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

```
public static final String SIZE
```

The number of bytes in the file identified by the openable URI. Null if unknown.

<br />

Constant Value: "_size"