Local Track
constructor(album: SimpleLocalAlbum, artists: List<SimpleLocalArtist>, href: String? = null, id: String? = null, discNumber: String? = null, durationMs: Int? = null, explicit: Boolean? = null, isLocal: Boolean = true, name: String, popularity: Double? = null, trackNumber: Int? = null, type: String, uri: LocalTrackUri)(source)
Parameters
artists
The artists who performed the track.
disc Number
The disc number.
duration Ms
The track length in milliseconds.
explicit
Whether or not the track has explicit lyrics ( true = yes it does; false = no it does not OR unknown).
href
A link to the Web API endpoint providing full details of the track.
id
The Spotify ID for the track.
name
The name of the track.
track Number
The number of the track. If an album has several discs, the track number is the number on the specified disc.
type
The object type: “track”.
is Local
Whether or not the track is from a local file.
popularity
the popularity of this track. possibly null