setter getter method for bookmarked subscription

This commit is contained in:
vipul 2018-12-23 19:43:04 +05:30
parent 91b1efc97e
commit 9395cf3a68
1 changed files with 21 additions and 1 deletions

View File

@ -27,12 +27,24 @@ public class ChannelInfoItem extends InfoItem {
private String description;
private long subscriberCount = -1;
private long streamCount = -1;
private long bookmark;
public ChannelInfoItem(int serviceId, String url, String name) {
super(InfoType.CHANNEL, serviceId, url, name);
}
public ChannelInfoItem(InfoType infoType, int serviceId, String url, String name, String description, long subscriberCount, long streamCount, long bookmark) {
super(infoType, serviceId, url, name);
this.description = description;
this.subscriberCount = subscriberCount;
this.streamCount = streamCount;
this.bookmark = bookmark;
}
public String getDescription() {
return description;
}
@ -56,4 +68,12 @@ public class ChannelInfoItem extends InfoItem {
public void setStreamCount(long stream_count) {
this.streamCount = stream_count;
}
public long getBookmark() {
return bookmark;
}
public void setBookmark(long bookmark) {
this.bookmark = bookmark;
}
}