Currently Playing Object
constructor(context: SpotifyContext? = null, timestamp: Long, progressMs: Int? = null, isPlaying: Boolean, item: Playable? = null, currentlyPlayingTypeString: String, actions: PlaybackActions)(source)
Parameters
context
A Context Object. Can be null.
timestamp
Unix Millisecond Timestamp when data was fetched
progress Ms
Progress into the currently playing track. Can be null.
is Playing
If something is currently playing.
item
The currently playing track or episode. Can be null.
actions
Allows to update the user interface based on which playback actions are available within the current context