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 |
onFollow(User source,
User followedUser) |
void |
onFriendList(long[] friendIds) |
void |
onUnblock(User source,
User unblockedUser) |
void |
onUnfavorite(User source,
User target,
Status unfavoritedStatus) |
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) |
onDeletionNotice, onScrubGeo, onStallWarning, onStatus, onTrackLimitationNotice
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
onDeletionNotice, onScrubGeo, onStallWarning, onStatus, onTrackLimitationNotice
public void onDeletionNotice(long directMessageId, long userId)
onDeletionNotice
in interface UserStreamListener
public void onFriendList(long[] friendIds)
onFriendList
in interface UserStreamListener
public void onFavorite(User source, User target, Status favoritedStatus)
onFavorite
in interface UserStreamListener
public void onFollow(User source, User followedUser)
onFollow
in interface UserStreamListener
public void onUnfavorite(User source, User target, Status unfavoritedStatus)
onUnfavorite
in interface UserStreamListener
public void onDirectMessage(DirectMessage directMessage)
onDirectMessage
in interface UserStreamListener
public void onUserListMemberAddition(User addedMember, User listOwner, UserList list)
onUserListMemberAddition
in interface UserStreamListener
public void onUserListMemberDeletion(User deletedMember, User listOwner, UserList list)
onUserListMemberDeletion
in interface UserStreamListener
public void onUserListSubscription(User subscriber, User listOwner, UserList list)
onUserListSubscription
in interface UserStreamListener
public void onUserListUnsubscription(User subscriber, User listOwner, UserList list)
onUserListUnsubscription
in interface UserStreamListener
public void onUserListCreation(User listOwner, UserList list)
onUserListCreation
in interface UserStreamListener
public void onUserListUpdate(User listOwner, UserList list)
onUserListUpdate
in interface UserStreamListener
public void onUserListDeletion(User listOwner, UserList list)
onUserListDeletion
in interface UserStreamListener
public void onUserProfileUpdate(User updatedUser)
onUserProfileUpdate
in interface UserStreamListener
updatedUser
- updated userpublic void onBlock(User source, User blockedUser)
onBlock
in interface UserStreamListener
public void onUnblock(User source, User unblockedUser)
onUnblock
in interface UserStreamListener
public void onException(java.lang.Exception ex)
onException
in interface StreamListener
onException
in class StatusAdapter