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_ART A URI to the album art, 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 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 id 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 id the audio file may be a notification sound

Type: INTEGER (boolean)

String IS_RINGTONE Non-zero id 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

The album the audio file is from, if any

Type: TEXT

Constant Value: "album"

public static final String ALBUM_ART

A URI to the album art, if any

Type: TEXT

Constant Value: "album_art"

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"

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"

public static final String ARTIST

The artist who created the audio file, if any

Type: TEXT

Constant Value: "artist"

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"

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"

public static final String COMPOSER

The composer of the audio file, if any

Type: TEXT

Constant Value: "composer"

public static final String DURATION

The duration of the audio file, in ms

Type: INTEGER (long)

Constant Value: "duration"

public static final String IS_ALARM

Non-zero id the audio file may be an alarm

Type: INTEGER (boolean)

Constant Value: "is_alarm"

public static final String IS_MUSIC

Non-zero if the audio file is music

Type: INTEGER (boolean)

Constant Value: "is_music"

public static final String IS_NOTIFICATION

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

Type: INTEGER (boolean)

Constant Value: "is_notification"

public static final String IS_RINGTONE

Non-zero id the audio file may be a ringtone

Type: INTEGER (boolean)

Constant Value: "is_ringtone"

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"

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"

public static final String YEAR

The year the audio file was recorded, if any

Type: INTEGER

Constant Value: "year"