|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface BlockMethods
| Method Summary | |
|---|---|
User |
createBlock(long userId)
Blocks the user specified in the ID parameter as the authenticating user. |
User |
createBlock(String screenName)
Blocks the user specified in the ID parameter as the authenticating user. |
User |
destroyBlock(long userId)
Un-blocks the user specified in the ID parameter as the authenticating user. |
User |
destroyBlock(String screen_name)
Un-blocks the user specified in the ID parameter as the authenticating user. |
boolean |
existsBlock(long userId)
Returns if the authenticating user is blocking a target user. |
boolean |
existsBlock(String screenName)
Returns if the authenticating user is blocking a target user. |
ResponseList<User> |
getBlockingUsers()
Returns a list of user objects that the authenticating user is blocking. |
ResponseList<User> |
getBlockingUsers(int page)
Returns a list of user objects that the authenticating user is blocking. |
IDs |
getBlockingUsersIDs()
Returns an array of numeric user ids the authenticating user is blocking. |
| Method Detail |
|---|
User createBlock(String screenName)
throws TwitterException
screenName - the screen_name of the user to block
TwitterException - when Twitter service or network is unavailable
User createBlock(long userId)
throws TwitterException
userId - the ID of the user to block
TwitterException - when Twitter service or network is unavailable
User destroyBlock(String screen_name)
throws TwitterException
screen_name - the screen_name of the user to block
TwitterException - when Twitter service or network is unavailable
User destroyBlock(long userId)
throws TwitterException
userId - the ID of the user to block
TwitterException - when Twitter service or network is unavailable
boolean existsBlock(String screenName)
throws TwitterException
screenName - The screen_name of the potentially blocked user.
TwitterException - when Twitter service or network is unavailable
boolean existsBlock(long userId)
throws TwitterException
userId - The ID of the potentially blocked user.
TwitterException - when Twitter service or network is unavailable
ResponseList<User> getBlockingUsers()
throws TwitterException
TwitterException - when Twitter service or network is unavailable
ResponseList<User> getBlockingUsers(int page)
throws TwitterException
page - the number of page
TwitterException - when Twitter service or network is unavailable
IDs getBlockingUsersIDs()
throws TwitterException
TwitterException - when Twitter service or network is unavailable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||