[YouTube] add JDoc for membership functions

pull/1280/head
FineFindus 2025-03-15 12:39:30 +01:00
rodzic 2d88c34e00
commit 075c8e6387
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 64873EE210FF8E6B
1 zmienionych plików z 8 dodań i 0 usunięć

Wyświetl plik

@ -144,10 +144,18 @@ public class StreamInfoItem extends InfoItem {
this.shortFormContent = shortFormContent;
}
/**
* Whether the stream is only available to channel members.
*
* @return whether the stream is only available to channel members.
*/
public boolean requiresMembership() {
return requiresMembership;
}
/**
* Sets whether the stream is only available to channel members.
*/
public void setRequiresMembership(final boolean requiresMembership) {
this.requiresMembership = requiresMembership;
}