RadioClient

interface RadioClient

Used to load the radio for track that is currently playing and to show radio buttons for albums, artists, users and playlists.

See also

Functions

Link copied to clipboard
abstract suspend fun loadRadio(radio: Radio): Radio

Loads a radio.

Link copied to clipboard
abstract suspend fun loadTracks(radio: Radio): Feed<Track>

Loads the tracks for a radio.

Link copied to clipboard
abstract suspend fun radio(item: EchoMediaItem, context: EchoMediaItem?): Radio

Creates a radio for a media item with EchoMediaItem.isRadioSupported set to true.