AlbumClient

interface AlbumClient

Used to load an Album, load its tracks and get its shelves.

See also

Functions

Link copied to clipboard
abstract suspend fun loadAlbum(album: Album): Album

Loads an album, the unloaded album may only have the id and title.

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

Gets the feed of an album.

Link copied to clipboard
abstract suspend fun loadTracks(album: Album): Feed<Track>?

Loads the tracks of an album.