SpotifyMetadataChangedData
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
playableUri
A Spotify URI for the track or playable.
artistName
The track artist.
albumName
The album name.
trackName
The track name.
trackLengthInSec
Length of the track, in seconds.
timeSentInMs
When the notification was sent.