public class UserStreamAdapter extends StatusAdapter implements UserStreamListener
| Constructor and Description |
|---|
UserStreamAdapter() |
| Modifier and Type | Method and Description |
|---|---|
void |
onBlock(User source,
User blockedUser) |
void |
onDeletionNotice(long directMessageId,
long userId) |
void |
onDirectMessage(DirectMessage directMessage) |
void |
onException(java.lang.Exception ex) |
void |
onFavorite(User source,
User target,
Status favoritedStatus) |
void |
onFavoritedRetweet(User source,
User target,
Status favoritedStatus) |
void |
onFollow(User source,
User followedUser) |
void |
onFriendList(long[] friendIds) |
void |
onQuotedTweet(User source,
User target,
Status quotingTweet) |
void |
onRetweetedRetweet(User source,
User target,
Status retweetedStatus) |
void |
onUnblock(User source,
User unblockedUser) |
void |
onUnfavorite(User source,
User target,
Status unfavoritedStatus) |
void |
onUnfollow(User source,
User unfollowedUser) |
void |
onUserDeletion(long deletedUser) |
void |
onUserListCreation(User listOwner,
UserList list) |
void |
onUserListDeletion(User listOwner,
UserList list) |
void |
onUserListMemberAddition(User addedMember,
User listOwner,
UserList list) |
void |
onUserListMemberDeletion(User deletedMember,
User listOwner,
UserList list) |
void |
onUserListSubscription(User subscriber,
User listOwner,
UserList list) |
void |
onUserListUnsubscription(User subscriber,
User listOwner,
UserList list) |
void |
onUserListUpdate(User listOwner,
UserList list) |
void |
onUserProfileUpdate(User updatedUser) |
void |
onUserSuspension(long suspendedUser) |
onDeletionNotice, onScrubGeo, onStallWarning, onStatus, onTrackLimitationNoticeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitonDeletionNotice, onScrubGeo, onStallWarning, onStatus, onTrackLimitationNoticepublic void onDeletionNotice(long directMessageId,
long userId)
onDeletionNotice in interface UserStreamListenerpublic void onFriendList(long[] friendIds)
onFriendList in interface UserStreamListenerfriendIds - friend idspublic void onFavorite(User source, User target, Status favoritedStatus)
onFavorite in interface UserStreamListenersource - source user of the eventtarget - target user of the eventfavoritedStatus - status favoritedpublic void onFollow(User source, User followedUser)
onFollow in interface UserStreamListenersource - source user of the eventfollowedUser - user followedpublic void onUnfollow(User source, User unfollowedUser)
onUnfollow in interface UserStreamListenersource - source user of the eventunfollowedUser - user unfollowedpublic void onUnfavorite(User source, User target, Status unfavoritedStatus)
onUnfavorite in interface UserStreamListenersource - source user of the eventtarget - target user of the eventunfavoritedStatus - status unfavoritedpublic void onDirectMessage(DirectMessage directMessage)
onDirectMessage in interface UserStreamListenerdirectMessage - direct messagepublic void onUserListMemberAddition(User addedMember, User listOwner, UserList list)
onUserListMemberAddition in interface UserStreamListeneraddedMember - member addedlistOwner - owner of the listlist - the listpublic void onUserListMemberDeletion(User deletedMember, User listOwner, UserList list)
onUserListMemberDeletion in interface UserStreamListenerdeletedMember - user deletedlistOwner - owner of the listlist - the listpublic void onUserListSubscription(User subscriber, User listOwner, UserList list)
onUserListSubscription in interface UserStreamListenersubscriber - the user subscribedlistOwner - owner of the listlist - the listpublic void onUserListUnsubscription(User subscriber, User listOwner, UserList list)
onUserListUnsubscription in interface UserStreamListenersubscriber - the user subscribedlistOwner - owner of the listlist - the listpublic void onUserListCreation(User listOwner, UserList list)
onUserListCreation in interface UserStreamListenerlistOwner - owner of the listlist - the listpublic void onUserListUpdate(User listOwner, UserList list)
onUserListUpdate in interface UserStreamListenerlistOwner - owner of the listlist - the listpublic void onUserListDeletion(User listOwner, UserList list)
onUserListDeletion in interface UserStreamListenerlistOwner - owner of the listlist - the listpublic void onUserProfileUpdate(User updatedUser)
onUserProfileUpdate in interface UserStreamListenerupdatedUser - updated userpublic void onUserSuspension(long suspendedUser)
onUserSuspension in interface UserStreamListenersuspendedUser - suspended user idpublic void onUserDeletion(long deletedUser)
onUserDeletion in interface UserStreamListenerdeletedUser - deleted user idpublic void onBlock(User source, User blockedUser)
onBlock in interface UserStreamListenersource - source user of the eventblockedUser - the user blockedpublic void onUnblock(User source, User unblockedUser)
onUnblock in interface UserStreamListenersource - source user of the eventunblockedUser - the user unblockedpublic void onRetweetedRetweet(User source, User target, Status retweetedStatus)
onRetweetedRetweet in interface UserStreamListenersource - source user of the eventtarget - target user of the eventretweetedStatus - status retweeted retweetpublic void onFavoritedRetweet(User source, User target, Status favoritedStatus)
onFavoritedRetweet in interface UserStreamListenersource - source user of the eventtarget - target user of the eventfavoritedStatus - status favorited retweetpublic void onQuotedTweet(User source, User target, Status quotingTweet)
onQuotedTweet in interface UserStreamListenersource - source user of the eventtarget - target user of the eventquotingTweet - status quoting the tweetpublic void onException(java.lang.Exception ex)
onException in interface StreamListeneronException in class StatusAdapter