Options
All
  • Public
  • Public/Protected
  • All
Menu

The result from a search.

Hierarchy

  • SearchResult

Index

Properties

Optional exception

exception: { message: string; severity: string }

An exception, if applicable.

Type declaration

  • message: string
  • severity: string

loadType

loadType: "TRACK_LOADED" | "PLAYLIST_LOADED" | "SEARCH_RESULT" | "NO_MATCHES" | "LOAD_FAILED"

The result's load type.

Optional playlistInfo

playlistInfo: { name: string; selectedTrack: null | Track }

Playlist info, if applicable.

Type declaration

  • name: string
  • selectedTrack: null | Track

tracks

tracks: (Track | TrackPartial)[]

The found tracks.

Legend

  • Constructor
  • Property
  • Method
  • Property
  • Method

Generated using TypeDoc