public interface BlockMethodsAsync
Modifier and Type | Method and Description |
---|---|
void |
createBlock(int userId)
Blocks the user specified in the ID parameter as the authenticating user.
|
void |
createBlock(java.lang.String screenName)
Blocks the user specified in the ID parameter as the authenticating user.
|
void |
destroyBlock(int userId)
Un-blocks the user specified in the ID parameter as the authenticating user.
|
void |
destroyBlock(java.lang.String screenName)
Un-blocks the user specified in the ID parameter as the authenticating user.
|
void |
existsBlock(int userId)
Returns if the authenticating user is blocking a target user.
|
void |
existsBlock(java.lang.String screenName)
Returns if the authenticating user is blocking a target user.
|
void |
getBlockingUsers()
Returns a list of user objects that the authenticating user is blocking.
|
void |
getBlockingUsers(int page)
Returns a list of user objects that the authenticating user is blocking.
|
void |
getBlockingUsersIDs()
Returns an array of numeric user ids the authenticating user is blocking.
|
void createBlock(java.lang.String screenName)
screenName
- the screen_name of the user to blockvoid createBlock(int userId)
userId
- the screen_name of the user to blockvoid destroyBlock(java.lang.String screenName)
screenName
- the screen_name of the user to blockvoid destroyBlock(int userId)
userId
- the ID of the user to blockvoid existsBlock(java.lang.String screenName)
screenName
- The screen_name of the potentially blocked user.void existsBlock(int userId)
userId
- The ID of the potentially blocked user.void getBlockingUsers()
void getBlockingUsers(int page)
page
- the number of pagevoid getBlockingUsersIDs()