public static interface

MediaStore.Audio.AudioColumns

implements MediaStore.MediaColumns
android.provider.MediaStore.Audio.AudioColumns
Known Indirect Subclasses

Class Overview

Columns for audio file that show up in multiple tables.

Summary

Constants
StringALBUMThe album the audio file is from, if any

Type: TEXT

StringALBUM_ARTA URI to the album art, if any

Type: TEXT

StringALBUM_IDThe id of the album the audio file is from, if any

Type: INTEGER (long)

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

Type: TEXT

StringARTISTThe artist who created the audio file, if any

Type: TEXT

StringARTIST_IDThe id of the artist who created the audio file, if any

Type: INTEGER (long)

StringARTIST_KEYA non human readable key calculated from the ARTIST, used for searching, sorting and grouping

Type: TEXT

StringBOOKMARKThe position, in ms, playback was at when playback for this file was last stopped.
StringCOMPOSERThe composer of the audio file, if any

Type: TEXT

StringDURATIONThe duration of the audio file, in ms

Type: INTEGER (long)

StringIS_ALARMNon-zero id the audio file may be an alarm

Type: INTEGER (boolean)

StringIS_MUSICNon-zero if the audio file is music

Type: INTEGER (boolean)

StringIS_NOTIFICATIONNon-zero id the audio file may be a notification sound

Type: INTEGER (boolean)

StringIS_PODCASTNon-zero if the audio file is a podcast

Type: INTEGER (boolean)

StringIS_RINGTONENon-zero id the audio file may be a ringtone

Type: INTEGER (boolean)

StringTITLE_KEYA non human readable key calculated from the TITLE, used for searching, sorting and grouping

Type: TEXT

StringTRACKThe track number of this song on the album, if any.
StringYEARThe year the audio file was recorded, if any

Type: INTEGER

[Expand]
Inherited Constants
From interface android.provider.BaseColumns
From interface android.provider.MediaStore.MediaColumns

Constants

public static final String ALBUM

Since: API Level 1

The album the audio file is from, if any

Type: TEXT

Constant Value: "album"

public static final String ALBUM_ART

Since: API Level 1

A URI to the album art, if any

Type: TEXT

Constant Value: "album_art"

public static final String ALBUM_ID

Since: API Level 1

The id of the album the audio file is from, if any

Type: INTEGER (long)

Constant Value: "album_id"

public static final String ALBUM_KEY

Since: 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

Since: API Level 1

The artist who created the audio file, if any

Type: TEXT

Constant Value: "artist"

public static final String ARTIST_ID

Since: API Level 1

The id of the artist who created the audio file, if any

Type: INTEGER (long)

Constant Value: "artist_id"

public static final String ARTIST_KEY

Since: API Level 1

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

Type: TEXT

Constant Value: "artist_key"

public static final String BOOKMARK

Since: API Level 8

The position, in ms, playback was at when playback for this file was last stopped.

Type: INTEGER (long)

Constant Value: "bookmark"

public static final String COMPOSER

Since: API Level 1

The composer of the audio file, if any

Type: TEXT

Constant Value: "composer"

public static final String DURATION

Since: API Level 1

The duration of the audio file, in ms

Type: INTEGER (long)

Constant Value: "duration"

public static final String IS_ALARM

Since: API Level 1

Non-zero id the audio file may be an alarm

Type: INTEGER (boolean)

Constant Value: "is_alarm"

public static final String IS_MUSIC

Since: API Level 1

Non-zero if the audio file is music

Type: INTEGER (boolean)

Constant Value: "is_music"

public static final String IS_NOTIFICATION

Since: API Level 1

Non-zero id the audio file may be a notification sound

Type: INTEGER (boolean)

Constant Value: "is_notification"

public static final String IS_PODCAST

Since: API Level 8

Non-zero if the audio file is a podcast

Type: INTEGER (boolean)

Constant Value: "is_podcast"

public static final String IS_RINGTONE

Since: API Level 1

Non-zero id the audio file may be a ringtone

Type: INTEGER (boolean)

Constant Value: "is_ringtone"

public static final String TITLE_KEY

Since: API Level 1

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

Type: TEXT

Constant Value: "title_key"

public static final String TRACK

Since: API Level 1

The track number of this song on the album, if any. This number encodes both the track number and the disc number. For multi-disc sets, this number will be 1xxx for tracks on the first disc, 2xxx for tracks on the second disc, etc.

Type: INTEGER

Constant Value: "track"

public static final String YEAR

Since: API Level 1

The year the audio file was recorded, if any

Type: INTEGER

Constant Value: "year"