to top
Android APIs
Added in API level 1
public static interface

MediaStore.Audio.AlbumColumns

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

Class Overview

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

public static final String ALBUM

Added in API level 1

The album on which the audio file appears, if any

Type: TEXT

Constant Value: "album"

public static final String ALBUM_ART

Added in API level 1

Cached album art.

Type: TEXT

Constant Value: "album_art"

public static final String ALBUM_ID

Added in API level 1

The id for the album

Type: INTEGER

Constant Value: "album_id"

public static final String ALBUM_KEY

Added in API level 1

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

Type: TEXT

Constant Value: "album_key"

public static final String ARTIST

Added in API level 1

The artist whose songs appear on this album

Type: TEXT

Constant Value: "artist"

public static final String FIRST_YEAR

Added in API level 1

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"

public static final String LAST_YEAR

Added in API level 1

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"

public static final String NUMBER_OF_SONGS

Added in API level 1

The number of songs on this album

Type: INTEGER

Constant Value: "numsongs"

public static final String NUMBER_OF_SONGS_FOR_ARTIST

Added in API level 3

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"