PlaylistDownloadRepository

interface PlaylistDownloadRepository

A repository of PlaylistDownload.

Functions

download
Link copied to clipboard
abstract fun download(playlist: Playlist)
Request the download of the supplied playlist.
get
Link copied to clipboard
abstract fun get(playlistId: String): Flow<PlaylistDownload?>
Returns a PlaylistDownload with the supplied id, if there is any.
remove
Link copied to clipboard
abstract fun remove(playlist: Playlist)
Request the download removal of the supplied playlist.