Added media type to class and replaced "song" with a generic "media"
This commit is contained in:
1 parent
eecbed2f61
commit
51cd88dd3f
9 files changed
+52
-38
No files matched your search
@@ -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