Skip to content

Most visited

Recently visited

navigation
Added in API level 1

MediaStore.Audio.AlbumColumns

public static interface MediaStore.Audio.AlbumColumns

android.provider.MediaStore.Audio.AlbumColumns
Known Indirect Subclasses


Columns representing an album

Summary

Constants

String ALBUM

The album on which the audio file appears, if any

Type: TEXT

String ALBUM_ART

Cached album art.

String ALBUM_ID

The id for the album

Type: INTEGER

String ALBUM_KEY

A non human readable key calculated from the ALBUM, used for searching, sorting and grouping

Type: TEXT

String ARTIST

The artist whose songs appear on this album

Type: TEXT

String FIRST_YEAR

The year in which the earliest songs on this album were released.

String LAST_YEAR

The year in which the latest songs on this album were released.

String NUMBER_OF_SONGS

The number of songs on this album

Type: INTEGER

String NUMBER_OF_SONGS_FOR_ARTIST

This column is available when getting album info via artist, and indicates the number of songs on the album by the given artist.

Constants

ALBUM

Added in API level 1
String ALBUM

The album on which the audio file appears, if any

Type: TEXT

Constant Value: "album"

ALBUM_ART

Added in API level 1
String ALBUM_ART

Cached album art.

Type: TEXT

Constant Value: "album_art"

ALBUM_ID

Added in API level 1
String ALBUM_ID

The id for the album

Type: INTEGER

Constant Value: "album_id"

ALBUM_KEY

Added in API level 1
String ALBUM_KEY

A non human readable key calculated from the ALBUM, used for searching, sorting and grouping

Type: TEXT

Constant Value: "album_key"

ARTIST

Added in API level 1
String ARTIST

The artist whose songs appear on this album

Type: TEXT

Constant Value: "artist"

FIRST_YEAR

Added in API level 1
String FIRST_YEAR

The year in which the earliest songs on this album were released. This will often be the same as LAST_YEAR, but for compilation albums they might differ.

Type: INTEGER

Constant Value: "minyear"

LAST_YEAR

Added in API level 1
String LAST_YEAR

The year in which the latest songs on this album were released. This will often be the same as FIRST_YEAR, but for compilation albums they might differ.

Type: INTEGER

Constant Value: "maxyear"

NUMBER_OF_SONGS

Added in API level 1
String NUMBER_OF_SONGS

The number of songs on this album

Type: INTEGER

Constant Value: "numsongs"

NUMBER_OF_SONGS_FOR_ARTIST

Added in API level 3
String NUMBER_OF_SONGS_FOR_ARTIST

This column is available when getting album info via artist, and indicates the number of songs on the album by the given artist.

Type: INTEGER

Constant Value: "numsongs_by_artist"

This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.

Take a one-minute survey?
Help us improve Android tools and documentation.