Playable

interface Playable

A local track, episode, or track.

Properties

asLocalTrack
Link copied to clipboard
common
open val asLocalTrack: LocalTrack?
This Playable as a local track, or else null if it is an episode or track.
asPodcastEpisodeTrack
Link copied to clipboard
common
open val asPodcastEpisodeTrack: PodcastEpisodeTrack?
This Playable as an episode (podcast), or else null if it is a local track or track.
asTrack
Link copied to clipboard
common
open val asTrack: Track?
This Playable as a track, or else null if it is a local track or episode (podcast).
href
Link copied to clipboard
common
abstract val href: String?
A link to the Web API endpoint providing full details of the playable.
id
Link copied to clipboard
common
abstract val id: String?
The Spotify ID for the playable.
type
Link copied to clipboard
common
abstract val type: String
The type of the playable.
uri
Link copied to clipboard
common
abstract val uri: PlayableUri
The URI associated with the object.

Inheritors

PodcastEpisodeTrack
Link copied to clipboard
LocalTrack
Link copied to clipboard
Track
Link copied to clipboard

Sources

common source
Link copied to clipboard