PlayHistory

data class PlayHistory(track: SimpleTrack, playedAt: String, context: SpotifyContext?)

Information about a previously-played track

Parameters

track

The track the user listened to.

playedAt

The date and time the track was played.

context

The context the track was played from.

Constructors

PlayHistory
Link copied to clipboard
common
fun PlayHistory(track: SimpleTrack, playedAt: String, context: SpotifyContext? = null)
The track the user listened to.

Properties

context
Link copied to clipboard
common
val context: SpotifyContext? = null
The context the track was played from.
playedAt
Link copied to clipboard
common
val playedAt: String
The date and time the track was played.
track
Link copied to clipboard
common
val track: SimpleTrack
The track the user listened to.

Sources

common source
Link copied to clipboard