TrackClient

interface TrackClient

Used to load track and their media to allow streaming.

See also

Functions

Link copied to clipboard
abstract suspend fun loadFeed(track: Track): Feed<Shelf>?

Gets the shelves of a track.

Link copied to clipboard
abstract suspend fun loadStreamableMedia(streamable: Streamable, isDownload: Boolean): Streamable.Media

Loads the media of a streamable.

Link copied to clipboard
abstract suspend fun loadTrack(track: Track, isDownload: Boolean): Track

Loads an unloaded track. Make sure the track contains at least one Track.servers in Track.streamables