Most visited

Recently visited

Added in API level 1

MediaStore.Audio.AudioColumns

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

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


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

From interface android.provider.MediaStore.MediaColumns
From interface android.provider.BaseColumns

Constants

ALBUM

Added in API level 1
String ALBUM

The album the audio file is from, if any

Type: TEXT

Constant Value: "album"

ALBUM_ID

Added in API level 1
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
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
String ARTIST

The artist who created the audio file, if any

Type: TEXT

Constant Value: "artist"

ARTIST_ID

Added in API level 1
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
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
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
String COMPOSER

The composer of the audio file, if any

Type: TEXT

Constant Value: "composer"

DURATION

Added in API level 1
String DURATION

The duration of the audio file, in ms

Type: INTEGER (long)

Constant Value: "duration"

IS_ALARM

Added in API level 1
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
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
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
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
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
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
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
String YEAR

The year the audio file was recorded, if any

Type: INTEGER

Constant Value: "year"

Hooray!