to top
Android APIs
public static final class

MediaStore.Audio.Albums

extends Object
implements BaseColumns MediaStore.Audio.AlbumColumns
java.lang.Object
   ↳ android.provider.MediaStore.Audio.Albums

Class Overview

Contains artists for audio files

Summary

Constants
String CONTENT_TYPE The MIME type for this table.
String DEFAULT_SORT_ORDER The default sort order for this table
String ENTRY_CONTENT_TYPE The MIME type for entries in this table.
[Expand]
Inherited Constants
From interface android.provider.BaseColumns
From interface android.provider.MediaStore.Audio.AlbumColumns
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 Constructors
MediaStore.Audio.Albums()
Public Methods
static Uri getContentUri(String volumeName)
Get the content:// style URI for the albums table on the given volume.
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final String CONTENT_TYPE

Added in API level 1

The MIME type for this table.

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

public static final String DEFAULT_SORT_ORDER

Added in API level 1

The default sort order for this table

Constant Value: "album_key"

public static final String ENTRY_CONTENT_TYPE

Added in API level 1

The MIME type for entries in this table.

Constant Value: "vnd.android.cursor.item/album"

Fields

public static final Uri EXTERNAL_CONTENT_URI

Added in API level 1

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

public static final Uri INTERNAL_CONTENT_URI

Added in API level 1

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

Public Constructors

public MediaStore.Audio.Albums ()

Added in API level 1

Public Methods

public static Uri getContentUri (String volumeName)

Added in API level 1

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

Parameters
volumeName the name of the volume to get the URI for
Returns
  • the URI to the audio albums table on the given volume