yt4droid.api
インタフェース ContactMethods

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

public interface ContactMethods

作成者:
Harioroid

メソッドの概要
 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<Contact> createContactList(java.lang.String userName, Paging paging)
          To request another user's contact list, send a GET request to the following URL.
 ResponseList<Contact> createMyContactList(Paging paging)
          To request the currently logged-in user's contact list, send a GET request to the following URL.
 UpdateResult updateContact(ContactUserParameter contactParam)
          To update a contact, send a PUT request to the edit url for that contact.
 

メソッドの詳細

createMyContactList

ResponseList<Contact> createMyContactList(Paging paging)
                                          throws YoutubeException
To request the currently logged-in user's contact list, send a GET request to the following URL.

パラメータ:
paging - Optional.paging of the response from Youtube.
戻り値:
ResponseList
例外:
YoutubeException

createContactList

ResponseList<Contact> createContactList(java.lang.String userName,
                                        Paging paging)
                                        throws YoutubeException
To request another user's contact list, send a GET request to the following URL. In the URL, you must replace the text username with the user's YouTube username.

パラメータ:
userName -
paging - Optional.paging of the response from Youtube.
戻り値:
ResponseList
例外:
YoutubeException

addContact

UpdateResult addContact(ContactUserParameter contactParam)
                        throws YoutubeException
To add a contact, send an API request that identifies the user who is adding the contact as well as the contact being added.

パラメータ:
contactParam -
戻り値:
UpdateResult
例外:
YoutubeException

updateContact

UpdateResult updateContact(ContactUserParameter contactParam)
                           throws YoutubeException
To update a contact, send a PUT request to the edit url for that contact. The XML excerpt below shows how the edit URL appears in a contact entry:

パラメータ:
contactParam -
戻り値:
UpdateResult
例外:
YoutubeException