to top
Android APIs
Added in API level 1
public interface

OpenableColumns

android.provider.OpenableColumns
Known Indirect Subclasses

Class Overview

These are standard columns for openable URIs. (See CATEGORY_OPENABLE.) If possible providers that have openable URIs should support these columns. To find the content type of a URI use getType(android.net.Uri) as normal.

Summary

Constants
String DISPLAY_NAME The human-friendly name of file.
String SIZE The number of bytes in the file identified by the openable URI.

Constants

public static final String DISPLAY_NAME

Added in API level 1

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.

Constant Value: "_display_name"

public static final String SIZE

Added in API level 1

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

Constant Value: "_size"