Class CommentsInfoItem

java.lang.Object
org.schabi.newpipe.extractor.InfoItem
org.schabi.newpipe.extractor.comments.CommentsInfoItem
All Implemented Interfaces:
Serializable

public class CommentsInfoItem extends InfoItem
See Also:
  • Field Details

  • Constructor Details

    • CommentsInfoItem

      public CommentsInfoItem(int serviceId, String url, String name)
  • Method Details

    • getCommentId

      public String getCommentId()
    • setCommentId

      public void setCommentId(String commentId)
    • getCommentText

      @Nonnull public Description getCommentText()
    • setCommentText

      public void setCommentText(@Nonnull Description commentText)
    • getUploaderName

      public String getUploaderName()
    • setUploaderName

      public void setUploaderName(String uploaderName)
    • getUploaderAvatars

      @Nonnull public List<Image> getUploaderAvatars()
    • setUploaderAvatars

      public void setUploaderAvatars(@Nonnull List<Image> uploaderAvatars)
    • getUploaderUrl

      public String getUploaderUrl()
    • setUploaderUrl

      public void setUploaderUrl(String uploaderUrl)
    • getTextualUploadDate

      public String getTextualUploadDate()
    • setTextualUploadDate

      public void setTextualUploadDate(String textualUploadDate)
    • getUploadDate

      @Nullable public DateWrapper getUploadDate()
    • setUploadDate

      public void setUploadDate(@Nullable DateWrapper uploadDate)
    • getLikeCount

      public int getLikeCount()
      Returns:
      the comment's like count or NO_LIKE_COUNT if it is unavailable
    • setLikeCount

      public void setLikeCount(int likeCount)
    • getTextualLikeCount

      public String getTextualLikeCount()
    • setTextualLikeCount

      public void setTextualLikeCount(String textualLikeCount)
    • setHeartedByUploader

      public void setHeartedByUploader(boolean isHeartedByUploader)
    • isHeartedByUploader

      public boolean isHeartedByUploader()
    • isPinned

      public boolean isPinned()
    • setPinned

      public void setPinned(boolean pinned)
    • setUploaderVerified

      public void setUploaderVerified(boolean uploaderVerified)
    • isUploaderVerified

      public boolean isUploaderVerified()
    • setStreamPosition

      public void setStreamPosition(int streamPosition)
    • getStreamPosition

      public int getStreamPosition()
      Get the playback position of the stream to which this comment belongs. This is not supported by all services.
      Returns:
      the playback position in seconds or NO_STREAM_POSITION if not available
    • setReplyCount

      public void setReplyCount(int replyCount)
    • getReplyCount

      public int getReplyCount()
    • setReplies

      public void setReplies(@Nullable Page replies)
    • getReplies

      @Nullable public Page getReplies()
    • setChannelOwner

      public void setChannelOwner(boolean channelOwner)
    • isChannelOwner

      public boolean isChannelOwner()
    • setCreatorReply

      public void setCreatorReply(boolean creatorReply)
    • hasCreatorReply

      public boolean hasCreatorReply()
    • setEdited

      public void setEdited(boolean edited)
    • isEdited

      public boolean isEdited()