Save the date! Android Dev Summit is coming to Sunnyvale, CA on Oct 23-24, 2019.

MediaStore.Downloads

public static final class MediaStore.Downloads
extends Object implements MediaStore.DownloadColumns

java.lang.Object
   ↳ android.provider.MediaStore.Downloads


Collection of downloaded items.

Summary

Constants

String CONTENT_TYPE

The MIME type for this table.

Inherited constants

Fields

public static final Uri EXTERNAL_CONTENT_URI

The content:// style URI for the "primary" external storage volume.

public static final Uri INTERNAL_CONTENT_URI

The content:// style URI for the internal storage.

Public methods

static Uri getContentUri(String volumeName)

Get the content:// style URI for the downloads table on the given volume.

Inherited methods

Constants

CONTENT_TYPE

public static final String CONTENT_TYPE

The MIME type for this table.

Constant Value: "vnd.android.cursor.dir/download"

Fields

EXTERNAL_CONTENT_URI

public static final Uri EXTERNAL_CONTENT_URI

The content:// style URI for the "primary" external storage volume.

INTERNAL_CONTENT_URI

public static final Uri INTERNAL_CONTENT_URI

The content:// style URI for the internal storage.

Public methods

getContentUri

public static Uri getContentUri (String volumeName)

Get the content:// style URI for the downloads table on the given volume.

Parameters
volumeName String: the name of the volume to get the URI for

Returns
Uri the URI to the image media table on the given volume