SpotifyApiSpotify LogoJS

CurrentlyPlaying player.d.ts#L120

The currently playing object of the player api.

https://developer.spotify.com/documentation/web-api/reference/#object-currentlyplayingobject

Properties:

NameTypeDescription
context"null" | PlayerContextThe context.
currently_playing_type"episode" | "track" | "ad" | "unknown"The object type of the currently playing item.
is_playingbooleanIf something is currently playing, return true.
item"null" | Track | EpisodeThe item of the context.
progress_ms"null" | numberProgress into the currently playing track or episode.
timestampnumberUnix Millisecond Timestamp when data was fetched.