Skip to content

Commit 075c8e6

Browse files
committed
[YouTube] add JDoc for membership functions
1 parent 2d88c34 commit 075c8e6

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

extractor/src/main/java/org/schabi/newpipe/extractor/stream/StreamInfoItem.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,10 +144,18 @@ public void setShortFormContent(final boolean shortFormContent) {
144144
this.shortFormContent = shortFormContent;
145145
}
146146

147+
/**
148+
* Whether the stream is only available to channel members.
149+
*
150+
* @return whether the stream is only available to channel members.
151+
*/
147152
public boolean requiresMembership() {
148153
return requiresMembership;
149154
}
150155

156+
/**
157+
* Sets whether the stream is only available to channel members.
158+
*/
151159
public void setRequiresMembership(final boolean requiresMembership) {
152160
this.requiresMembership = requiresMembership;
153161
}

0 commit comments

Comments
 (0)