Playlist

constructor(externalUrlsString: Map<String, String>, href: String, id: String, uri: PlaylistUri, collaborative: Boolean, description: String? = null, followers: Followers, primaryColor: String? = null, images: List<SpotifyImage>? = null, name: String, owner: SpotifyPublicUser, public: Boolean? = null, snapshotIdString: String, tracks: PagingObject<PlaylistTrack>, type: String)(source)

Parameters

collaborative

Returns true if context is not search and the owner allows other users to modify the playlist. Otherwise returns false.

description

The playlist description. Only returned for modified, verified playlists, otherwise null.

followers
href

A link to the Web API endpoint providing full details of the playlist.

id

The Spotify ID for the playlist.

primaryColor

Unknown.

images

Images for the playlist. The array may be empty or contain up to three images. The images are returned by size in descending order.Note: If returned, the source URL for the image ( url ) is temporary and will expire in less than a day.

name

The name of the playlist.

owner

The user who owns the playlist

public

The playlist’s public/private status: true the playlist is public, false the playlist is private, null the playlist status is not relevant a specific playlist version

tracks

Information about the tracks of the playlist.

type

The object type: “playlist”