yt4droid.api
インタフェース CommentMethods

既知のサブインタフェースの一覧:
Youtube
既知の実装クラスの一覧:
YoutubeImpl

public interface CommentMethods

A comment is a text response to a video. Logged-in users can add comments to a video but cannot modify or delete those comments. In addition, please note that YouTube will convert any HTML markup that appears in a comment into plain text. Typically, a user would add a comment to a video after watching that video.

作成者:
Harioroid

メソッドの概要
 ResponseList<Comments> createCommentsList(java.lang.String videoId, Paging paging)
          You will send API requests to retrieve or append to the list of comments for the video.
 UpdateResult updateComments(java.lang.String videoId, CommentParameter comment)
          To add a comment to a video, send a POST request to the URL identified in the tag that appears inside the tag.
 

メソッドの詳細

createCommentsList

ResponseList<Comments> createCommentsList(java.lang.String videoId,
                                          Paging paging)
                                          throws YoutubeException
You will send API requests to retrieve or append to the list of comments for the video.

パラメータ:
videoId - Optional.ID of the target video to get comment
paging - Optional.paging of the response from Youtube.
戻り値:
ResuponseList
例外:
YoutubeException
関連項目:
http://code.google.com/intl/en/apis/youtube/2.0/developers_guide_protocol_comments.html

updateComments

UpdateResult updateComments(java.lang.String videoId,
                            CommentParameter comment)
                            throws YoutubeException
To add a comment to a video, send a POST request to the URL identified in the tag that appears inside the tag. The actual comment that you are submitting appears as the value of the tag in the XML that constitutes the body of the POST request.

パラメータ:
videoId - Optional.ID of the target video to get comment
comment - Optional.CommentParameter for the comment.
戻り値:
UpdateResult
例外:
YoutubeException
関連項目:
http://code.google.com/intl/en/apis/youtube/2.0/developers_guide_protocol_comments.html