Last updated 3 years ago
loadType
The load type
playlistInfo
The playlist info, if the load type is PLAYLIST_LOADED
Object
playlistInfo.selectedTrack
The selected track
Number
playlistInfo.name
The playlist name
String
playlistInfo.duration
The playlist duration, in milliseconds
exception
The exception, if the load type is LOAD_FAILED
Object (optional)
exception.message
The exception message
exception.severity
The exception severity
tracks
The track array, unresolved track in case of Deezer or Spotify
Array<Track | UnresolvedTrack>
'TRACK_LOADED' | 'PLAYLIST_LOADED' | 'SEARCH_RESULT' | 'NO_MATCHES' | 'LOAD_FAILED'