Functional Load Result Handler
constructor(trackLoadedConsumer: Consumer<TrackLoaded>?, playlistLoadedConsumer: Consumer<PlaylistLoaded>? = null, searchResultConsumer: Consumer<SearchResult>? = null, noMatchesHandler: Runnable? = null, loadFailedConsumer: Consumer<LoadFailed>? = null)
Parameters
track Loaded Consumer
gets called when a track has loaded
playlist Loaded Consumer
gets called when a playlist has loaded
search Result Consumer
gets called when a search result has loaded
no Matches Handler
gets called when there are no matches for your input
load Failed Consumer
gets called in case of a load failure