Simple Local Album
data class SimpleLocalAlbum(albumType: String?, artists: List<SimpleLocalArtist>, name: String, releaseDate: String?, releaseDatePrecision: String?, type: String)
Content copied to clipboard
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
fun SimpleLocalAlbum(albumType: String? = null, artists: List<SimpleLocalArtist> = listOf(), name: String, releaseDate: String? = null, releaseDatePrecision: String? = null, type: String)
Content copied to clipboard
The artists of the album.
Functions
component1
Link copied to clipboard
component2
Link copied to clipboard
component3
Link copied to clipboard
component5
Link copied to clipboard
component6
Link copied to clipboard
copy
Link copied to clipboard
fun copy(albumType: String? = null, artists: List<SimpleLocalArtist> = listOf(), name: String, releaseDate: String? = null, releaseDatePrecision: String? = null, type: String): SimpleLocalAlbum
Content copied to clipboard
Properties
Sources
(source)
Link copied to clipboard