Stay organized with collections
Save and categorize content based on your preferences.
Albums
class Albums : BaseColumns, MediaStore.Audio.AlbumColumns
Sub-directory of each artist containing all albums on which a song by the artist appears.
Summary
Inherited constants |
From class AlbumColumns
String |
ALBUM
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.
|
String |
ALBUM_ART
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 .
|
String |
ALBUM_ID
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.
|
String |
ALBUM_KEY
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.
|
String |
ARTIST
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.
|
String |
ARTIST_ID
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.
|
String |
ARTIST_KEY
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.
|
String |
FIRST_YEAR
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.
|
String |
LAST_YEAR
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.
|
String |
NUMBER_OF_SONGS
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.
|
String |
NUMBER_OF_SONGS_FOR_ARTIST
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.
|
|
|
Public methods |
static Uri! |
|
Public constructors
Public methods
getContentUri
static fun getContentUri(
volumeName: String!,
artistId: Long
): Uri!
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2024-04-04 UTC.