Android APIs
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
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

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

Constants

public static final String ALBUM

Added in API level 1

The album the audio file is from, if any

Type: TEXT

Constant Value: "album"

public static final String ALBUM_ID

Added in 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

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 who created the audio file, if any

Type: TEXT

Constant Value: "artist"

public static final String ARTIST_ID

Added in 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

Added in 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

Added in 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

Added in API level 1

The composer of the audio file, if any

Type: TEXT

Constant Value: "composer"

public static final String DURATION

Added in API level 1

The duration of the audio file, in ms

Type: INTEGER (long)

Constant Value: "duration"

public static final String IS_ALARM

Added in API level 1

Non-zero if the audio file may be an alarm

Type: INTEGER (boolean)

Constant Value: "is_alarm"

public static final String IS_MUSIC

Added in API level 1

Non-zero if the audio file is music

Type: INTEGER (boolean)

Constant Value: "is_music"

public static final String IS_NOTIFICATION

Added in API level 1

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

Type: INTEGER (boolean)

Constant Value: "is_notification"

public static final String IS_PODCAST

Added in 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

Added in API level 1

Non-zero if the audio file may be a ringtone

Type: INTEGER (boolean)

Constant Value: "is_ringtone"

public static final String TITLE_KEY

Added in 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

Added in 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

Added in API level 1

The year the audio file was recorded, if any

Type: INTEGER

Constant Value: "year"