PlaylistDao

interface PlaylistDao

DAO for PlaylistEntity.

Functions

Link copied to clipboard
abstract fun delete(playlistIds: List<String>)
Link copied to clipboard
abstract fun getAllDownloaded(): Flow<List<PopulatedPlaylist>>
Link copied to clipboard
abstract fun getAllPopulated(): Flow<List<PopulatedPlaylist>>
Link copied to clipboard
abstract suspend fun getPopulated(playlistId: String): PopulatedPlaylist?
Link copied to clipboard
abstract fun getPopulatedStream(playlistId: String): Flow<PopulatedPlaylist?>
Link copied to clipboard
abstract suspend fun upsert(playlistEntity: PlaylistEntity, mediaEntityList: List<MediaEntity>, playlistMediaEntityList: List<PlaylistMediaEntity>)