Spotify Metadata Changed Data
data class SpotifyMetadataChangedData(val playableUri: PlayableUri, val artistName: String, val albumName: String, val trackName: String, val trackLengthInSec: Int, val timeSentInMs: Long) : SpotifyBroadcastEventData(source)
A metadata change intent is sent when a new track starts playing. It uses the intent action com.spotify.music.metadatachanged.
Parameters
playable Uri
A Spotify URI for the track or playable.
artist Name
The track artist.
album Name
The album name.
track Name
The track name.
track Length In Sec
Length of the track, in seconds.
time Sent In Ms
When the notification was sent.