Spotify Metadata Changed Data
data class SpotifyMetadataChangedData(playableUri: PlayableUri, artistName: String, albumName: String, trackName: String, trackLengthInSec: Int, timeSentInMs: Long) : SpotifyBroadcastEventData
Content copied to clipboard
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.
Constructors
SpotifyMetadataChangedData
Link copied to clipboard
fun SpotifyMetadataChangedData(playableUri: PlayableUri, artistName: String, albumName: String, trackName: String, trackLengthInSec: Int, timeSentInMs: Long)
Content copied to clipboard
A Spotify URI for the track or playable.
Properties
artistName
Link copied to clipboard
playableUri
Link copied to clipboard
timeSentInMs
Link copied to clipboard
trackLengthInSec
Link copied to clipboard
type
Link copied to clipboard
Sources
android source
Link copied to clipboard