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.
Functions
component1
Link copied to clipboard
component2
Link copied to clipboard
component3
Link copied to clipboard
component4
Link copied to clipboard
component5
Link copied to clipboard
component6
Link copied to clipboard
copy
Link copied to clipboard
fun copy(playableUri: PlayableUri, artistName: String, albumName: String, trackName: String, trackLengthInSec: Int, timeSentInMs: Long): SpotifyMetadataChangedData
Content copied to clipboard
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
(source)
Link copied to clipboard