SearchResult
Overview
Properties | Type | Description |
---|---|---|
loadType | LoadType | The load type of the result. |
tracks | Track[] | If load type is track or search , return array of tracks. |
playlist | PlaylistData | If load type is playlist , the resulting playlist data. |
LoadType
Value:
track
playlist
search
empty
error
PlaylistData
Properties | Type | Description |
---|---|---|
name | string | The playlist name. |
duration | number | The length of the playlist. |
tracks | Track[] | An array of tracks from the playlist. |
Table of Contents