Playable

interface Playable

A local track, episode, or track.

Functions

equals
Link copied to clipboard
common
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
common
open fun hashCode(): Int
toString
Link copied to clipboard
common
open fun toString(): String

Properties

asLocalTrack
Link copied to clipboard
common
open val asLocalTrack: LocalTrack?
This Playable as a local track.
asPodcastEpisodeTrack
Link copied to clipboard
common
open val asPodcastEpisodeTrack: PodcastEpisodeTrack?
This Playable as an episode.
asTrack
Link copied to clipboard
common
open val asTrack: Track?
This Playable as a track.
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

(source)
Link copied to clipboard