PlaylistTrack

constructor(primaryColor: String? = null, addedAt: String? = null, addedBy: SpotifyPublicUser? = null, isLocal: Boolean? = null, track: Playable? = null, videoThumbnail: VideoThumbnail? = null)(source)

Parameters

primaryColor

Unknown. Undocumented field

addedAt

The date and time the track was added. Note that some very old playlists may return null in this field.

addedBy

The Spotify user who added the track. Note that some very old playlists may return null in this field.

isLocal

Whether this track is a local file or not.

track

Information about the track. In rare occasions, this field may be null if this track's API entry is broken. Warning: if this is a podcast, the track will be null if you are using SpotifyAppApi.