Spotify Playback State Changed Data
data class SpotifyPlaybackStateChangedData(val playing: Boolean, val positionInMs: Int, val timeSentInMs: Long) : SpotifyBroadcastEventData(source)
A playback state change is sent whenever the user presses play/pause, or when seeking the track position. It uses the intent action com.spotify.music.playbackstatechanged.
Parameters
playing
True if playing, false if paused.
position In Ms
The current playback position in milliseconds.
time Sent In Ms
When the notification was sent.