Save the date! Android Dev Summit is coming to Mountain View, CA on November 7-8, 2018.

MediaStore.Audio.AudioColumns

public static interface MediaStore.Audio.AudioColumns
implements MediaStore.MediaColumns

android.provider.MediaStore.Audio.AudioColumns


Columns for audio file that show up in multiple tables.

Summary

Constants

String ALBUM

The album the audio file is from, if any

Type: TEXT

String ALBUM_ID

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

Type: INTEGER (long)

String ALBUM_KEY

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

Type: TEXT

String ARTIST

The artist who created the audio file, if any

Type: TEXT

String ARTIST_ID

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

Type: INTEGER (long)

String ARTIST_KEY

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

Type: TEXT

String BOOKMARK

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

String COMPOSER

The composer of the audio file, if any

Type: TEXT

String DURATION

The duration of the audio file, in ms

Type: INTEGER (long)

String IS_ALARM

Non-zero if the audio file may be an alarm

Type: INTEGER (boolean)

String IS_MUSIC

Non-zero if the audio file is music

Type: INTEGER (boolean)

String IS_NOTIFICATION

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

Type: INTEGER (boolean)

String IS_PODCAST

Non-zero if the audio file is a podcast

Type: INTEGER (boolean)

String IS_RINGTONE

Non-zero if the audio file may be a ringtone

Type: INTEGER (boolean)

String TITLE_KEY

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

Type: TEXT

String TRACK

The track number of this song on the album, if any.

String YEAR

The year the audio file was recorded, if any

Type: INTEGER

Inherited constants

Constants

ALBUM

added in API level 1
public static final String ALBUM

The album the audio file is from, if any

Type: TEXT

Constant Value: "album"

ALBUM_ID

added in API level 1
public static final String ALBUM_ID

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

Type: INTEGER (long)

Constant Value: "album_id"

ALBUM_KEY

added in API level 1
public static final 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
public static final String ARTIST

The artist who created the audio file, if any

Type: TEXT

Constant Value: "artist"

ARTIST_ID

added in API level 1
public static final String ARTIST_ID

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

Type: INTEGER (long)

Constant Value: "artist_id"

ARTIST_KEY

added in API level 1
public static final String ARTIST_KEY

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

Type: TEXT

Constant Value: "artist_key"

BOOKMARK

added in API level 8
public static final String BOOKMARK

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

Type: INTEGER (long)

Constant Value: "bookmark"

COMPOSER

added in API level 1
public static final String COMPOSER

The composer of the audio file, if any

Type: TEXT

Constant Value: "composer"

DURATION

added in API level 1
public static final String DURATION

The duration of the audio file, in ms

Type: INTEGER (long)

Constant Value: "duration"

IS_ALARM

added in API level 1
public static final String IS_ALARM

Non-zero if the audio file may be an alarm

Type: INTEGER (boolean)

Constant Value: "is_alarm"

IS_MUSIC

added in API level 1
public static final String IS_MUSIC

Non-zero if the audio file is music

Type: INTEGER (boolean)

Constant Value: "is_music"

IS_NOTIFICATION

added in API level 1
public static final String IS_NOTIFICATION

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

Type: INTEGER (boolean)

Constant Value: "is_notification"

IS_PODCAST

added in API level 8
public static final String IS_PODCAST

Non-zero if the audio file is a podcast

Type: INTEGER (boolean)

Constant Value: "is_podcast"

IS_RINGTONE

added in API level 1
public static final String IS_RINGTONE

Non-zero if the audio file may be a ringtone

Type: INTEGER (boolean)

Constant Value: "is_ringtone"

TITLE_KEY

added in API level 1
public static final String TITLE_KEY

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

Type: TEXT

Constant Value: "title_key"

TRACK

added in API level 1
public static final String TRACK

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"

YEAR

added in API level 1
public static final String YEAR

The year the audio file was recorded, if any

Type: INTEGER

Constant Value: "year"