public interface SiteStreamsListener extends StreamListener
Modifier and Type | Method and Description |
---|---|
void |
onBlock(int forUser,
User source,
User blockedUser) |
void |
onDeletionNotice(int forUser,
int directMessageId,
int userId) |
void |
onDeletionNotice(int forUser,
StatusDeletionNotice statusDeletionNotice) |
void |
onDirectMessage(int forUser,
DirectMessage directMessage) |
void |
onException(java.lang.Exception ex) |
void |
onFavorite(int forUser,
User source,
User target,
Status favoritedStatus) |
void |
onFollow(int forUser,
User source,
User followedUser) |
void |
onFriendList(int forUser,
int[] friendIds) |
void |
onStatus(int forUser,
Status status) |
void |
onUnblock(int forUser,
User source,
User unblockedUser) |
void |
onUnfavorite(int forUser,
User source,
User target,
Status unfavoritedStatus) |
void |
onUserListCreation(int forUser,
User listOwner,
UserList list) |
void |
onUserListDeletion(int forUser,
User listOwner,
UserList list) |
void |
onUserListSubscription(int forUser,
User subscriber,
User listOwner,
UserList list) |
void |
onUserListUpdate(int forUser,
User listOwner,
UserList list) |
void |
onUserProfileUpdate(int forUser,
User updatedUser) |
void onStatus(int forUser, Status status)
void onDeletionNotice(int forUser, StatusDeletionNotice statusDeletionNotice)
void onFriendList(int forUser, int[] friendIds)
friendIds
- void onFavorite(int forUser, User source, User target, Status favoritedStatus)
source
- target
- favoritedStatus
- void onUnfavorite(int forUser, User source, User target, Status unfavoritedStatus)
source
- target
- unfavoritedStatus
- void onFollow(int forUser, User source, User followedUser)
source
- followedUser
- void onDirectMessage(int forUser, DirectMessage directMessage)
directMessage
- void onDeletionNotice(int forUser, int directMessageId, int userId)
void onUserListSubscription(int forUser, User subscriber, User listOwner, UserList list)
subscriber
- listOwner
- list
- void onUserListCreation(int forUser, User listOwner, UserList list)
listOwner
- list
- void onUserListUpdate(int forUser, User listOwner, UserList list)
listOwner
- list
- void onUserListDeletion(int forUser, User listOwner, UserList list)
listOwner
- list
- void onUserProfileUpdate(int forUser, User updatedUser)
updatedUser
- updated uservoid onUnblock(int forUser, User source, User unblockedUser)
source
- unblockedUser
- void onException(java.lang.Exception ex)
onException
in interface StreamListener