public interface UserStreamListener extends StreamListener
Modifier and Type | Method and Description |
---|---|
void |
onBlock(User source,
User blockedUser) |
void |
onDirectMessage(DirectMessage directMessage) |
void |
onFavorite(User source,
User target,
Status favoritedStatus) |
void |
onFollow(User source,
User followedUser) |
void |
onFriendList(int[] friendIds) |
void |
onRetweet(User source,
User target,
Status retweetedStatus) |
void |
onStatus(Status status) |
void |
onUnblock(User source,
User unblockedUser) |
void |
onUnfavorite(User source,
User target,
Status unfavoritedStatus) |
void |
onUnfollow(User source,
User unfollowedUser) |
void |
onUserListCreated(User listOwner,
UserList list) |
void |
onUserListDestroyed(User listOwner,
UserList list) |
void |
onUserListSubscribed(User subscriber,
User listOwner,
UserList list) |
void |
onUserListUpdated(User listOwner,
UserList list) |
onException
void onStatus(Status status)
void onFriendList(int[] friendIds)
friendIds
- void onFavorite(User source, User target, Status favoritedStatus)
source
- target
- favoritedStatus
- void onUnfavorite(User source, User target, Status unfavoritedStatus)
source
- target
- unfavoritedStatus
- void onFollow(User source, User followedUser)
source
- followedUser
- void onUnfollow(User source, User unfollowedUser)
source
- unfollowedUser
- void onRetweet(User source, User target, Status retweetedStatus)
source
- target
- retweetedStatus
- void onDirectMessage(DirectMessage directMessage)
directMessage
- void onUserListSubscribed(User subscriber, User listOwner, UserList list)
subscriber
- listOwner
- list
- void onUserListCreated(User listOwner, UserList list)
listOwner
- list
- void onUserListUpdated(User listOwner, UserList list)
listOwner
- list
- void onUserListDestroyed(User listOwner, UserList list)
listOwner
- list
- void onBlock(User source, User blockedUser)
source
- blockedUser
-