PlaylistMetadataEntry: add interface method to get the thumbnail Url

This commit is contained in:
Haggai Eran 2024-08-02 13:42:49 +03:00 committed by Siddhesh Naik
parent a1a288541d
commit f6dd49b71d
2 changed files with 7 additions and 0 deletions

View File

@ -10,4 +10,6 @@ public interface PlaylistLocalItem extends LocalItem {
long getUid();
void setDisplayIndex(long displayIndex);
String getThumbnailUrl();
}

View File

@ -71,4 +71,9 @@ public class PlaylistMetadataEntry implements PlaylistLocalItem {
public void setDisplayIndex(final long displayIndex) {
this.displayIndex = displayIndex;
}
@Override
public String getThumbnailUrl() {
return thumbnailUrl;
}
}