SimpleLocalAlbum

data class SimpleLocalAlbum(albumType: String?, artists: List<SimpleLocalArtist>, name: String, releaseDate: String?, releaseDatePrecision: String?, type: String)

Local album object that goes with LocalTrack - represents the local album it was obtained from (likely "Local Files")

Parameters

artists

The artists of the album.

name

The name of the album. In case of an album takedown, the value may be an empty string.

type

The object type: “album”

releaseDate

The date the album was first released, for example 1981. Depending on the precision, it might be shown as 1981-12 or 1981-12-15.

releaseDatePrecision

The precision with which release_date value is known: year , month , or day.

albumType

The type of the album: one of “album”, “single”, or “compilation”.

Constructors

SimpleLocalAlbum
Link copied to clipboard
common
fun SimpleLocalAlbum(albumType: String? = null, artists: List<SimpleLocalArtist> = listOf(), name: String, releaseDate: String? = null, releaseDatePrecision: String? = null, type: String)
The artists of the album.

Properties

albumType
Link copied to clipboard
common
val albumType: String? = null
The type of the album: one of “album”, “single”, or “compilation”.
artists
Link copied to clipboard
common
val artists: List<SimpleLocalArtist>
The artists of the album.
name
Link copied to clipboard
common
val name: String
The name of the album.
releaseDatePrecision
Link copied to clipboard
common
val releaseDatePrecision: String? = null
The precision with which release_date value is known: year , month , or day.
type
Link copied to clipboard
common
val type: String
The object type: “album”

Sources

common source
Link copied to clipboard