Playlist Track
data class PlaylistTrack(primaryColor: String?, addedAt: String?, addedBy: SpotifyPublicUser?, isLocal: Boolean?, track: Playable?, videoThumbnail: VideoThumbnail?)
Content copied to clipboard
Represents a Spotify track inside a Playlist
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.
Constructors
PlaylistTrack
Link copied to clipboard
fun PlaylistTrack(primaryColor: String? = null, addedAt: String? = null, addedBy: SpotifyPublicUser? = null, isLocal: Boolean? = null, track: Playable? = null, videoThumbnail: VideoThumbnail? = null)
Content copied to clipboard
Unknown.
Functions
component1
Link copied to clipboard
component2
Link copied to clipboard
component3
Link copied to clipboard
component4
Link copied to clipboard
component5
Link copied to clipboard
component6
Link copied to clipboard
copy
Link copied to clipboard
fun copy(primaryColor: String? = null, addedAt: String? = null, addedBy: SpotifyPublicUser? = null, isLocal: Boolean? = null, track: Playable? = null, videoThumbnail: VideoThumbnail? = null): PlaylistTrack
Content copied to clipboard
Properties
addedBy
Link copied to clipboard
primaryColor
Link copied to clipboard
videoThumbnail
Link copied to clipboard
Sources
(source)
Link copied to clipboard