|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectyt4droid.YoutubeBaseImpl
yt4droid.YoutubeImpl
public class YoutubeImpl
| メソッドの概要 | |
|---|---|
UpdateResult |
addContact(ContactUserParameter contactParam)
To add a contact, send an API request that identifies the user who is adding the contact as well as the contact being added. |
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. |
ResponseList<Contact> |
createContactList(java.lang.String userName,
Paging paging)
To request another user's contact list, send a GET request to the following URL. |
ResponseList<Feeds> |
createFeedsWithQuery(QueryBuilder query,
Paging paging)
To request the video list with query. |
ResponseList<Contact> |
createMyContactList(Paging paging)
To request the currently logged-in user's contact list, send a GET request to the following URL. |
ResponseList<Feeds> |
createMyUploadList(Paging paging)
To request the currently logged-in user's video list. |
UserProfile |
createUserProfile(java.lang.String userId)
A user profile contains information about a user, such as the user's hobbies, occupation, or favorite books, music and movies. |
ResponseList<Feeds> |
createUserUploadList(java.lang.String userName,
Paging paging)
To request the user's video list. |
UpdateResult |
deleteVideo(java.lang.String videoId)
To delete a video, send a DELETE request to the edit URL. |
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 |
UpdateResult |
updateContact(ContactUserParameter contactParam)
To update a contact, send a PUT request to the edit url for that contact. |
UpdateResult |
updateRatings(java.lang.String videoId,
RatingsParameter rating)
The YouTube API allows users to rate videos, and it also returns rating information in any feed entry that contains information about a video. |
UpdateResult |
updateVideo(java.lang.String videoId,
VideoMetaData videoMetaData)
To update a video, retrieve the video entry from the video owner's uploaded videos feed and send a PUT request to the entry's edit URL |
void |
uploadCanceled()
|
UploadResult |
uploadVideo(java.io.File file,
VideoMetaData videoMetaData)
if not success retuns null |
| クラス yt4droid.YoutubeBaseImpl から継承されたメソッド |
|---|
getAuthAccessToken, getAuthorization, getConfiguration, getFile, setAuthAccessToken |
| クラス java.lang.Object から継承されたメソッド |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| インタフェース yt4droid.auth.Auth から継承されたメソッド |
|---|
getAuthAccessToken, setAuthAccessToken |
| メソッドの詳細 |
|---|
public UploadResult uploadVideo(java.io.File file,
VideoMetaData videoMetaData)
throws YoutubeException
EntryMethods 内の uploadVideofile - Video file.videoMetaData - To upload a video,
send a POST request containing the video and associated metadata
YoutubeException
public ResponseList<Feeds> createMyUploadList(Paging paging)
throws YoutubeException
FeedsMethods の記述:
FeedsMethods 内の createMyUploadListpaging - Optional.paging of the response from Youtube.
YoutubeExceptionhttp://code.google.com/intl/en/apis/youtube/2.0/developers_guide_protocol_understanding_video_feeds.html
public ResponseList<Feeds> createUserUploadList(java.lang.String userName,
Paging paging)
throws YoutubeException
FeedsMethods の記述:
FeedsMethods 内の createUserUploadListpaging - Optional.paging of the response from Youtube.
YoutubeExceptionhttp://code.google.com/intl/en/apis/youtube/2.0/developers_guide_protocol_understanding_video_feeds.html
public ResponseList<Comments> createCommentsList(java.lang.String videoId,
Paging paging)
throws YoutubeException
CommentMethods の記述:
CommentMethods 内の createCommentsListvideoId - Optional.ID of the target video to get commentpaging - Optional.paging of the response from Youtube.
YoutubeExceptionhttp://code.google.com/intl/en/apis/youtube/2.0/developers_guide_protocol_comments.html
public ResponseList<Feeds> createFeedsWithQuery(QueryBuilder query,
Paging paging)
throws YoutubeException
FeedsMethods の記述:
FeedsMethods 内の createFeedsWithQuerypaging - Optional.paging of the response from Youtube.
YoutubeExceptionhttp://code.google.com/intl/en/apis/youtube/2.0/developers_guide_protocol_understanding_video_feeds.html
public UpdateResult updateRatings(java.lang.String videoId,
RatingsParameter rating)
throws YoutubeException
RatingMethods の記述:
RatingMethods 内の updateRatingsrating - Adding a numeric (1-5) video rating
YoutubeExceptionhttp://code.google.com/intl/en/apis/youtube/2.0/developers_guide_protocol_ratings.html
public UpdateResult updateComments(java.lang.String videoId,
CommentParameter comment)
throws YoutubeException
CommentMethods の記述:
CommentMethods 内の updateCommentsvideoId - Optional.ID of the target video to get commentcomment - Optional.CommentParameter for the comment.
YoutubeExceptionhttp://code.google.com/intl/en/apis/youtube/2.0/developers_guide_protocol_comments.html
public UpdateResult deleteVideo(java.lang.String videoId)
throws YoutubeException
EntryMethods の記述:
EntryMethods 内の deleteVideoYoutubeException
public UpdateResult updateVideo(java.lang.String videoId,
VideoMetaData videoMetaData)
throws YoutubeException
EntryMethods の記述:
EntryMethods 内の updateVideoYoutubeException
public UserProfile createUserProfile(java.lang.String userId)
throws YoutubeException
UserProfileMethods の記述:
UserProfileMethods 内の createUserProfileYoutubeExceptionhttp://code.google.com/intl/en/apis/youtube/2.0/developers_guide_protocol_profiles.html
public ResponseList<Contact> createMyContactList(Paging paging)
throws YoutubeException
ContactMethods の記述:
ContactMethods 内の createMyContactListpaging - Optional.paging of the response from Youtube.
YoutubeException
public ResponseList<Contact> createContactList(java.lang.String userName,
Paging paging)
throws YoutubeException
ContactMethods の記述:
ContactMethods 内の createContactListpaging - Optional.paging of the response from Youtube.
YoutubeException
public UpdateResult addContact(ContactUserParameter contactParam)
throws YoutubeException
ContactMethods の記述:
ContactMethods 内の addContactYoutubeException
public UpdateResult updateContact(ContactUserParameter contactParam)
throws YoutubeException
ContactMethods の記述:
ContactMethods 内の updateContactYoutubeExceptionpublic void uploadCanceled()
Youtube 内の uploadCanceled
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||