Currently Playing Object
fun CurrentlyPlayingObject(context: PlayHistoryContext? = null, timestamp: Long, progressMs: Int? = null, isPlaying: Boolean, track: Track, currentlyPlayingTypeString: String, actions: PlaybackActions)
Content copied to clipboard
Parameters
context
A Context Object. Can be null.
timestamp
Unix Millisecond Timestamp when data was fetched
progressMs
Progress into the currently playing track. Can be null.
isPlaying
If something is currently playing.
track
The currently playing track. Can be null.
actions
Allows to update the user interface based on which playback actions are available within the current context
Sources
(source)
Link copied to clipboard