searchMusic

fun searchMusic(query: String, listener: ResultsListener, pageNo: Int = 0, resultsPerPage: Int = 10, station: Station? = null)

Search the current placement for music related to a search term, results will be delivered to the listener. If the results will be playable using (play)

Parameters

query

The search term

listener

Instance of (ResultsListener) where results will be delivered.

pageNo

page no to request, page no starts from 0

resultsPerPage

Defaults to 20

station

Limit search to this station