|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BlockMethods
Method Summary | |
---|---|
User |
createBlock(int userId)
Blocks the user specified in the ID parameter as the authenticating user. |
User |
createBlock(java.lang.String screenName)
Blocks the user specified in the ID parameter as the authenticating user. |
User |
destroyBlock(int userId)
Un-blocks the user specified in the ID parameter as the authenticating user. |
User |
destroyBlock(java.lang.String screen_name)
Un-blocks the user specified in the ID parameter as the authenticating user. |
boolean |
existsBlock(int userId)
Tests if a friendship exists between two users. |
boolean |
existsBlock(java.lang.String screenName)
Tests if a friendship exists between two users. |
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(java.lang.String screenName) throws TwitterException
screenName
- the screen_name of the user to block
TwitterException
- when Twitter service or network is unavailableUser createBlock(int userId) throws TwitterException
userId
- the ID of the user to block
TwitterException
- when Twitter service or network is unavailableUser destroyBlock(java.lang.String screen_name) throws TwitterException
screen_name
- the screen_name of the user to block
TwitterException
- when Twitter service or network is unavailableUser destroyBlock(int userId) throws TwitterException
userId
- the ID of the user to block
TwitterException
- when Twitter service or network is unavailableboolean existsBlock(java.lang.String screenName) throws TwitterException
screenName
- The screen_name of the potentially blocked user.
TwitterException
- when Twitter service or network is unavailableboolean existsBlock(int userId) throws TwitterException
userId
- The ID of the potentially blocked user.
TwitterException
- when Twitter service or network is unavailableResponseList<User> getBlockingUsers() throws TwitterException
TwitterException
- when Twitter service or network is unavailableResponseList<User> getBlockingUsers(int page) throws TwitterException
page
- the number of page
TwitterException
- when Twitter service or network is unavailableIDs 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 |