mirror of
https://github.com/CappielloAntonio/tempo.git
synced 2026-01-31 22:53:37 +00:00
Added media type to class and replaced "song" with a generic "media"
This commit is contained in:
@@ -45,8 +45,8 @@ public interface DownloadDao {
|
||||
@Insert(onConflict = OnConflictStrategy.REPLACE)
|
||||
void insertAll(List<Download> downloads);
|
||||
|
||||
@Query("DELETE FROM download WHERE songId = :songId")
|
||||
void delete(String songId);
|
||||
@Query("DELETE FROM download WHERE mediaId = :mediaId")
|
||||
void delete(String mediaId);
|
||||
|
||||
@Query("DELETE FROM download WHERE server=:server")
|
||||
void deleteAll(String server);
|
||||
|
||||
Reference in New Issue
Block a user