diff --git a/extractor/src/main/java/org/schabi/newpipe/extractor/comments/CommentsExtractor.java b/extractor/src/main/java/org/schabi/newpipe/extractor/comments/CommentsExtractor.java index 6a129bca6..4795e9897 100644 --- a/extractor/src/main/java/org/schabi/newpipe/extractor/comments/CommentsExtractor.java +++ b/extractor/src/main/java/org/schabi/newpipe/extractor/comments/CommentsExtractor.java @@ -13,6 +13,10 @@ public abstract class CommentsExtractor extends ListExtractor super(service, uiHandler); } + /** + * @apiNote Warning: This method is experimental and may get removed in a future release. + * @return true if the comments are disabled otherwise false (default) + */ public boolean isCommentsDisabled() { return false; } diff --git a/extractor/src/main/java/org/schabi/newpipe/extractor/comments/CommentsInfo.java b/extractor/src/main/java/org/schabi/newpipe/extractor/comments/CommentsInfo.java index 8803aa575..506bee536 100644 --- a/extractor/src/main/java/org/schabi/newpipe/extractor/comments/CommentsInfo.java +++ b/extractor/src/main/java/org/schabi/newpipe/extractor/comments/CommentsInfo.java @@ -81,10 +81,19 @@ public class CommentsInfo extends ListInfo { this.commentsExtractor = commentsExtractor; } + /** + * @apiNote Warning: This method is experimental and may get removed in a future release. + * @return true if the comments are disabled otherwise false (default) + * @see CommentsExtractor#isCommentsDisabled() + */ public boolean isCommentsDisabled() { return commentsDisabled; } + /** + * @apiNote Warning: This method is experimental and may get removed in a future release. + * @param commentsDisabled true if the comments are disabled otherwise false + */ public void setCommentsDisabled(final boolean commentsDisabled) { this.commentsDisabled = commentsDisabled; }