AlbumColumns
interface AlbumColumns
android.provider.MediaStore.Audio.AlbumColumns |
Audio album metadata columns.
Summary
Constants | |
---|---|
static String |
The album on which the audio file appears, if any |
static String |
Cached album art. |
static String |
The id for the album |
static String |
A non human readable key calculated from the ALBUM, used for searching, sorting and grouping |
static String |
The name of the artist whose songs appear on this album. |
static String |
The ID of the artist whose songs appear on this album. |
static String |
A non human readable key calculated from the ARTIST, used for searching, sorting and grouping |
static String |
The year in which the earliest songs on this album were released. |
static String |
The year in which the latest songs on this album were released. |
static String |
The number of songs on this album |
static String |
This column is available when getting album info via artist, and indicates the number of songs on the album by the given artist. |
Constants
ALBUM
static val ALBUM: String
The album on which the audio file appears, if any
This constant represents a column name that can be used with a android.content.ContentProvider
through a android.content.ContentValues
or android.database.Cursor
object. The values stored in this column are Cursor#FIELD_TYPE_STRING
, and are read-only and cannot be mutated.
Value: "album"
ALBUM_ART
static valALBUM_ART: String
Deprecated: Apps may not have filesystem permissions to directly access this path. Instead of trying to open this path directly, apps should use ContentResolver.loadThumbnail
to gain access.
Cached album art.
This constant represents a column name that can be used with a android.content.ContentProvider
through a android.content.ContentValues
or android.database.Cursor
object. The values stored in this column are Cursor#FIELD_TYPE_STRING
.
Value: "album_art"
ALBUM_ID
static val ALBUM_ID: String
The id for the album
This constant represents a column name that can be used with a android.content.ContentProvider
through a android.content.ContentValues
or android.database.Cursor
object. The values stored in this column are Cursor#FIELD_TYPE_INTEGER
, and are read-only and cannot be mutated.
Value: "album_id"
ALBUM_KEY
static valALBUM_KEY: String
Deprecated: These keys are generated using java.util.Locale#ROOT
, which means they don't reflect locale-specific sorting preferences. To apply locale-specific sorting preferences, use ContentResolver.QUERY_ARG_SQL_SORT_ORDER
with COLLATE LOCALIZED
, or ContentResolver.QUERY_ARG_SORT_LOCALE
.
A non human readable key calculated from the ALBUM, used for searching, sorting and grouping
This constant represents a column name that can be used with a android.content.ContentProvider
through a android.content.ContentValues
or android.database.Cursor
object. The values stored in this column are Cursor#FIELD_TYPE_STRING
, and are read-only and cannot be mutated.
Value: "album_key"
ARTIST
static val ARTIST: String
The name of the artist whose songs appear on this album.
This constant represents a column name that can be used with a android.content.ContentProvider
through a android.content.ContentValues
or android.database.Cursor
object. The values stored in this column are Cursor#FIELD_TYPE_STRING
, and are read-only and cannot be mutated.
Value: "artist"
ARTIST_ID
static val ARTIST_ID: String
The ID of the artist whose songs appear on this album.
This constant represents a column name that can be used with a android.content.ContentProvider
through a android.content.ContentValues
or android.database.Cursor
object. The values stored in this column are Cursor#FIELD_TYPE_INTEGER
, and are read-only and cannot be mutated.
Value: "artist_id"
ARTIST_KEY
static valARTIST_KEY: String
Deprecated: These keys are generated using java.util.Locale#ROOT
, which means they don't reflect locale-specific sorting preferences. To apply locale-specific sorting preferences, use ContentResolver.QUERY_ARG_SQL_SORT_ORDER
with COLLATE LOCALIZED
, or ContentResolver.QUERY_ARG_SORT_LOCALE
.
A non human readable key calculated from the ARTIST, used for searching, sorting and grouping
This constant represents a column name that can be used with a android.content.ContentProvider
through a android.content.ContentValues
or android.database.Cursor
object. The values stored in this column are Cursor#FIELD_TYPE_STRING
, and are read-only and cannot be mutated.
Value: "artist_key"
FIRST_YEAR
static val FIRST_YEAR: String
The year in which the earliest songs on this album were released. This will often be the same as LAST_YEAR
, but for compilation albums they might differ.
This constant represents a column name that can be used with a android.content.ContentProvider
through a android.content.ContentValues
or android.database.Cursor
object. The values stored in this column are Cursor#FIELD_TYPE_INTEGER
, and are read-only and cannot be mutated.
Value: "minyear"
LAST_YEAR
static val LAST_YEAR: String
The year in which the latest songs on this album were released. This will often be the same as FIRST_YEAR
, but for compilation albums they might differ.
This constant represents a column name that can be used with a android.content.ContentProvider
through a android.content.ContentValues
or android.database.Cursor
object. The values stored in this column are Cursor#FIELD_TYPE_INTEGER
, and are read-only and cannot be mutated.
Value: "maxyear"
NUMBER_OF_SONGS
static val NUMBER_OF_SONGS: String
The number of songs on this album
This constant represents a column name that can be used with a android.content.ContentProvider
through a android.content.ContentValues
or android.database.Cursor
object. The values stored in this column are Cursor#FIELD_TYPE_INTEGER
, and are read-only and cannot be mutated.
Value: "numsongs"
NUMBER_OF_SONGS_FOR_ARTIST
static val NUMBER_OF_SONGS_FOR_ARTIST: String
This column is available when getting album info via artist, and indicates the number of songs on the album by the given artist.
This constant represents a column name that can be used with a android.content.ContentProvider
through a android.content.ContentValues
or android.database.Cursor
object. The values stored in this column are Cursor#FIELD_TYPE_INTEGER
, and are read-only and cannot be mutated.
Value: "numsongs_by_artist"