mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2025-02-02 12:19:16 +00:00
PlaylistMetadataEntry: add interface method to get the thumbnail Url
This commit is contained in:
parent
a1a288541d
commit
f6dd49b71d
@ -10,4 +10,6 @@ public interface PlaylistLocalItem extends LocalItem {
|
|||||||
long getUid();
|
long getUid();
|
||||||
|
|
||||||
void setDisplayIndex(long displayIndex);
|
void setDisplayIndex(long displayIndex);
|
||||||
|
|
||||||
|
String getThumbnailUrl();
|
||||||
}
|
}
|
||||||
|
@ -71,4 +71,9 @@ public class PlaylistMetadataEntry implements PlaylistLocalItem {
|
|||||||
public void setDisplayIndex(final long displayIndex) {
|
public void setDisplayIndex(final long displayIndex) {
|
||||||
this.displayIndex = displayIndex;
|
this.displayIndex = displayIndex;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String getThumbnailUrl() {
|
||||||
|
return thumbnailUrl;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user