twitter4j
Interface TwitterListener
- All Known Implementing Classes:
- TwitterAdapter
public interface TwitterListener
A listner for receiving asynchronous responses from Twitter Async APIs.
- Author:
- Yusuke Yamamoto - yusuke at mac.com
- See Also:
AsyncTwitter
,
TwitterAdapter
SEARCH
static final TwitterMethod SEARCH
TRENDS
static final TwitterMethod TRENDS
CURRENT_TRENDS
static final TwitterMethod CURRENT_TRENDS
DAILY_TRENDS
static final TwitterMethod DAILY_TRENDS
WEEKLY_TRENDS
static final TwitterMethod WEEKLY_TRENDS
PUBLIC_TIMELINE
static final TwitterMethod PUBLIC_TIMELINE
HOME_TIMELINE
static final TwitterMethod HOME_TIMELINE
FRIENDS_TIMELINE
static final TwitterMethod FRIENDS_TIMELINE
USER_TIMELINE
static final TwitterMethod USER_TIMELINE
MENTIONS
static final TwitterMethod MENTIONS
RETWEETED_BY_ME
static final TwitterMethod RETWEETED_BY_ME
RETWEETED_TO_ME
static final TwitterMethod RETWEETED_TO_ME
RETWEETS_OF_ME
static final TwitterMethod RETWEETS_OF_ME
RETWEETED_BY_USER
static final TwitterMethod RETWEETED_BY_USER
RETWEETED_TO_USER
static final TwitterMethod RETWEETED_TO_USER
SHOW_STATUS
static final TwitterMethod SHOW_STATUS
UPDATE_STATUS
static final TwitterMethod UPDATE_STATUS
DESTROY_STATUS
static final TwitterMethod DESTROY_STATUS
RETWEET_STATUS
static final TwitterMethod RETWEET_STATUS
RETWEETS
static final TwitterMethod RETWEETS
RETWEETED_BY
static final TwitterMethod RETWEETED_BY
RETWEETED_BY_IDS
static final TwitterMethod RETWEETED_BY_IDS
SHOW_USER
static final TwitterMethod SHOW_USER
LOOKUP_USERS
static final TwitterMethod LOOKUP_USERS
SEARCH_USERS
static final TwitterMethod SEARCH_USERS
SUGGESTED_USER_CATEGORIES
static final TwitterMethod SUGGESTED_USER_CATEGORIES
USER_SUGGESTIONS
static final TwitterMethod USER_SUGGESTIONS
MEMBER_SUGGESTIONS
static final TwitterMethod MEMBER_SUGGESTIONS
PROFILE_IMAGE
static final TwitterMethod PROFILE_IMAGE
FRIENDS_STATUSES
static final TwitterMethod FRIENDS_STATUSES
FOLLOWERS_STATUSES
static final TwitterMethod FOLLOWERS_STATUSES
CREATE_USER_LIST
static final TwitterMethod CREATE_USER_LIST
UPDATE_USER_LIST
static final TwitterMethod UPDATE_USER_LIST
USER_LISTS
static final TwitterMethod USER_LISTS
SHOW_USER_LIST
static final TwitterMethod SHOW_USER_LIST
DSTROY_USER_LIST
static final TwitterMethod DSTROY_USER_LIST
USER_LIST_STATUSES
static final TwitterMethod USER_LIST_STATUSES
USER_LIST_MEMBERSHIPS
static final TwitterMethod USER_LIST_MEMBERSHIPS
USER_LIST_SUBSCRIPTIONS
static final TwitterMethod USER_LIST_SUBSCRIPTIONS
ALL_USER_LISTS
static final TwitterMethod ALL_USER_LISTS
LIST_MEMBERS
static final TwitterMethod LIST_MEMBERS
ADD_LIST_MEMBER
static final TwitterMethod ADD_LIST_MEMBER
ADD_LIST_MEMBERS
static final TwitterMethod ADD_LIST_MEMBERS
DELETE_LIST_MEMBER
static final TwitterMethod DELETE_LIST_MEMBER
CHECK_LIST_MEMBERSHIP
static final TwitterMethod CHECK_LIST_MEMBERSHIP
LIST_SUBSCRIBERS
static final TwitterMethod LIST_SUBSCRIBERS
SUBSCRIBE_LIST
static final TwitterMethod SUBSCRIBE_LIST
UNSUBSCRIBE_LIST
static final TwitterMethod UNSUBSCRIBE_LIST
CHECK_LIST_SUBSCRIPTION
static final TwitterMethod CHECK_LIST_SUBSCRIPTION
DIRECT_MESSAGES
static final TwitterMethod DIRECT_MESSAGES
SENT_DIRECT_MESSAGES
static final TwitterMethod SENT_DIRECT_MESSAGES
SEND_DIRECT_MESSAGE
static final TwitterMethod SEND_DIRECT_MESSAGE
DESTROY_DIRECT_MESSAGE
static final TwitterMethod DESTROY_DIRECT_MESSAGE
CREATE_FRIENDSHIP
static final TwitterMethod CREATE_FRIENDSHIP
DESTROY_FRIENDSHIP
static final TwitterMethod DESTROY_FRIENDSHIP
EXISTS_FRIENDSHIP
static final TwitterMethod EXISTS_FRIENDSHIP
SHOW_FRIENDSHIP
static final TwitterMethod SHOW_FRIENDSHIP
INCOMING_FRIENDSHIP
static final TwitterMethod INCOMING_FRIENDSHIP
OUTGOING_FRIENDSHIPS
static final TwitterMethod OUTGOING_FRIENDSHIPS
LOOKUP_FRIENDSHIPS
static final TwitterMethod LOOKUP_FRIENDSHIPS
UPDATE_FRIENDSHIP
static final TwitterMethod UPDATE_FRIENDSHIP
FRIENDS_IDS
static final TwitterMethod FRIENDS_IDS
FOLLOWERS_IDS
static final TwitterMethod FOLLOWERS_IDS
VERIFY_CREDENTIALS
static final TwitterMethod VERIFY_CREDENTIALS
RATE_LIMIT_STATUS
static final TwitterMethod RATE_LIMIT_STATUS
UPDATE_PROFILE_COLORS
static final TwitterMethod UPDATE_PROFILE_COLORS
UPDATE_PROFILE_IMAGE
static final TwitterMethod UPDATE_PROFILE_IMAGE
UPDATE_PROFILE_BACKGROUND_IMAGE
static final TwitterMethod UPDATE_PROFILE_BACKGROUND_IMAGE
UPDATE_PROFILE
static final TwitterMethod UPDATE_PROFILE
ACCOUNT_TOTALS
static final TwitterMethod ACCOUNT_TOTALS
ACCOUNT_SETTINGS
static final TwitterMethod ACCOUNT_SETTINGS
FAVORITES
static final TwitterMethod FAVORITES
CREATE_FAVORITE
static final TwitterMethod CREATE_FAVORITE
DESTROY_FAVORITE
static final TwitterMethod DESTROY_FAVORITE
ENABLE_NOTIFICATION
static final TwitterMethod ENABLE_NOTIFICATION
DISABLE_NOTIFICATION
static final TwitterMethod DISABLE_NOTIFICATION
CREATE_BLOCK
static final TwitterMethod CREATE_BLOCK
DESTROY_BLOCK
static final TwitterMethod DESTROY_BLOCK
EXISTS_BLOCK
static final TwitterMethod EXISTS_BLOCK
BLOCKING_USERS
static final TwitterMethod BLOCKING_USERS
BLOCKING_USERS_IDS
static final TwitterMethod BLOCKING_USERS_IDS
REPORT_SPAM
static final TwitterMethod REPORT_SPAM
AVAILABLE_TRENDS
static final TwitterMethod AVAILABLE_TRENDS
LOCATION_TRENDS
static final TwitterMethod LOCATION_TRENDS
SEARCH_PLACES
static final TwitterMethod SEARCH_PLACES
SIMILAR_PLACES
static final TwitterMethod SIMILAR_PLACES
NEAR_BY_PLACES
static final TwitterMethod NEAR_BY_PLACES
REVERSE_GEO_CODE
static final TwitterMethod REVERSE_GEO_CODE
GEO_DETAILS
static final TwitterMethod GEO_DETAILS
CREATE_PLACE
static final TwitterMethod CREATE_PLACE
TERMS_OF_SERVICE
static final TwitterMethod TERMS_OF_SERVICE
PRIVACY_POLICY
static final TwitterMethod PRIVACY_POLICY
RELATED_RESULT
static final TwitterMethod RELATED_RESULT
TEST
static final TwitterMethod TEST
searched
void searched(QueryResult queryResult)
gotTrends
void gotTrends(Trends trends)
- Since:
- Twitter4J 2.0.2
gotCurrentTrends
void gotCurrentTrends(Trends trends)
- Since:
- Twitter4J 2.0.2
gotDailyTrends
void gotDailyTrends(java.util.List<Trends> trendsList)
- Since:
- Twitter4J 2.0.2
gotWeeklyTrends
void gotWeeklyTrends(java.util.List<Trends> trendsList)
- Since:
- Twitter4J 2.0.2
gotPublicTimeline
void gotPublicTimeline(ResponseList<Status> statuses)
gotHomeTimeline
void gotHomeTimeline(ResponseList<Status> statuses)
- Since:
- Twitter4J 2.0.10
gotFriendsTimeline
void gotFriendsTimeline(ResponseList<Status> statuses)
gotUserTimeline
void gotUserTimeline(ResponseList<Status> statuses)
gotMentions
void gotMentions(ResponseList<Status> statuses)
- Since:
- Twitter4J 2.0.1
gotRetweetedByMe
void gotRetweetedByMe(ResponseList<Status> statuses)
- Since:
- Twitter4J 2.0.10
gotRetweetedToMe
void gotRetweetedToMe(ResponseList<Status> statuses)
- Since:
- Twitter4J 2.0.10
gotRetweetsOfMe
void gotRetweetsOfMe(ResponseList<Status> statuses)
- Since:
- Twitter4J 2.0.10
gotRetweetedByUser
void gotRetweetedByUser(ResponseList<Status> statuses)
- Since:
- Twitter4J 2.1.9
gotRetweetedToUser
void gotRetweetedToUser(ResponseList<Status> statuses)
- Since:
- Twitter4J 2.1.9
gotShowStatus
void gotShowStatus(Status status)
- Since:
- Twitter4J 2.0.1
updatedStatus
void updatedStatus(Status status)
destroyedStatus
void destroyedStatus(Status destroyedStatus)
retweetedStatus
void retweetedStatus(Status retweetedStatus)
- Since:
- Twitter4J 2.0.10
gotRetweets
void gotRetweets(ResponseList<Status> retweets)
- Since:
- Twitter4J 2.1.0
gotRetweetedBy
void gotRetweetedBy(ResponseList<User> users)
- Since:
- Twitter4J 2.1.3
gotRetweetedByIDs
void gotRetweetedByIDs(IDs ids)
- Since:
- Twitter4J 2.1.3
gotUserDetail
void gotUserDetail(User user)
lookedupUsers
void lookedupUsers(ResponseList<User> users)
- Since:
- Twitter4J 2.1.1
searchedUser
void searchedUser(ResponseList<User> userList)
- Since:
- Twitter4J 2.1.0
gotSuggestedUserCategories
void gotSuggestedUserCategories(ResponseList<Category> category)
- Since:
- Twitter4J 2.1.1
gotUserSuggestions
void gotUserSuggestions(ResponseList<User> users)
- Since:
- Twitter4J 2.1.1
gotMemberSuggestions
void gotMemberSuggestions(ResponseList<User> users)
- Since:
- Twitter4J 2.1.9
gotProfileImage
void gotProfileImage(ProfileImage image)
- Since:
- Twitter4J 2.1.7
gotFriendsStatuses
void gotFriendsStatuses(PagableResponseList<User> users)
gotFollowersStatuses
void gotFollowersStatuses(PagableResponseList<User> users)
createdUserList
void createdUserList(UserList userList)
- Since:
- Twitter4J 2.1.0
updatedUserList
void updatedUserList(UserList userList)
- Since:
- Twitter4J 2.1.0
gotUserLists
void gotUserLists(PagableResponseList<UserList> userLists)
- Since:
- Twitter4J 2.1.0
gotShowUserList
void gotShowUserList(UserList userList)
- Since:
- Twitter4J 2.1.0
destroyedUserList
void destroyedUserList(UserList userList)
- Since:
- Twitter4J 2.1.0
gotUserListStatuses
void gotUserListStatuses(ResponseList<Status> statuses)
- Since:
- Twitter4J 2.1.0
gotUserListMemberships
void gotUserListMemberships(PagableResponseList<UserList> userLists)
- Since:
- Twitter4J 2.1.0
gotUserListSubscriptions
void gotUserListSubscriptions(PagableResponseList<UserList> userLists)
- Since:
- Twitter4J 2.1.0
gotAllUserLists
void gotAllUserLists(ResponseList<UserList> lists)
- Since:
- Twitter4J 2.1.9
gotUserListMembers
void gotUserListMembers(PagableResponseList<User> users)
- Since:
- Twitter4J 2.1.0
addedUserListMember
void addedUserListMember(UserList userList)
- Since:
- Twitter4J 2.1.0
addedUserListMembers
void addedUserListMembers(UserList userList)
- Since:
- Twitter4J 2.1.7
deletedUserListMember
void deletedUserListMember(UserList userList)
- Since:
- Twitter4J 2.1.0
checkedUserListMembership
void checkedUserListMembership(User users)
- Since:
- Twitter4J 2.1.0
gotUserListSubscribers
void gotUserListSubscribers(PagableResponseList<User> users)
- Since:
- Twitter4J 2.1.0
subscribedUserList
void subscribedUserList(UserList userList)
- Since:
- Twitter4J 2.1.0
unsubscribedUserList
void unsubscribedUserList(UserList userList)
- Since:
- Twitter4J 2.1.0
checkedUserListSubscription
void checkedUserListSubscription(User user)
- Since:
- Twitter4J 2.1.0
gotDirectMessages
void gotDirectMessages(ResponseList<DirectMessage> messages)
gotSentDirectMessages
void gotSentDirectMessages(ResponseList<DirectMessage> messages)
sentDirectMessage
void sentDirectMessage(DirectMessage message)
gotDirectMessage
void gotDirectMessage(DirectMessage message)
- Since:
- Twitter4J 2.1.9
destroyedDirectMessage
void destroyedDirectMessage(DirectMessage message)
- Since:
- Twitter4J 2.0.1
createdFriendship
void createdFriendship(User user)
- Since:
- Twitter4J 2.0.1
destroyedFriendship
void destroyedFriendship(User user)
- Since:
- Twitter4J 2.0.1
gotExistsFriendship
void gotExistsFriendship(boolean exists)
- Since:
- Twitter4J 2.0.1
gotShowFriendship
void gotShowFriendship(Relationship relationship)
- Since:
- Twitter4J 2.1.0
gotIncomingFriendships
void gotIncomingFriendships(IDs ids)
- Since:
- Twitter4J 2.1.2
gotOutgoingFriendships
void gotOutgoingFriendships(IDs ids)
- Since:
- Twitter4J 2.1.2
gotFriendsIDs
void gotFriendsIDs(IDs ids)
gotFollowersIDs
void gotFollowersIDs(IDs ids)
lookedUpFriendships
void lookedUpFriendships(ResponseList<Friendship> friendships)
- Since:
- Twitter4J 2.1.9
updatedFriendship
void updatedFriendship(Relationship relationship)
- Since:
- Twitter4J 2.1.9
verifiedCredentials
void verifiedCredentials(User user)
gotRateLimitStatus
void gotRateLimitStatus(RateLimitStatus rateLimitStatus)
updatedProfileColors
void updatedProfileColors(User user)
gotAccountTotals
void gotAccountTotals(AccountTotals totals)
- Parameters:
totals
- account totals- Since:
- Twitter4J 2.1.9
gotAccountSettings
void gotAccountSettings(AccountSettings settings)
- Parameters:
settings
- account settings- Since:
- Twitter4J 2.1.9
updatedProfileImage
void updatedProfileImage(User user)
- Since:
- Twitter4J 2.1.0
updatedProfileBackgroundImage
void updatedProfileBackgroundImage(User user)
- Since:
- Twitter4J 2.1.0
updatedProfile
void updatedProfile(User user)
- Since:
- Twitter4J 2.0.2
gotFavorites
void gotFavorites(ResponseList<Status> statuses)
createdFavorite
void createdFavorite(Status status)
destroyedFavorite
void destroyedFavorite(Status status)
enabledNotification
void enabledNotification(User user)
- Since:
- Twitter4J 2.0.1
disabledNotification
void disabledNotification(User user)
- Since:
- Twitter4J 2.0.1
createdBlock
void createdBlock(User user)
- Since:
- Twitter4J 2.0.1
destroyedBlock
void destroyedBlock(User user)
- Since:
- Twitter4J 2.0.1
gotExistsBlock
void gotExistsBlock(boolean blockExists)
- Since:
- Twitter4J 2.0.4
gotBlockingUsers
void gotBlockingUsers(ResponseList<User> blockingUsers)
- Since:
- Twitter4J 2.0.4
gotBlockingUsersIDs
void gotBlockingUsersIDs(IDs blockingUsersIDs)
- Since:
- Twitter4J 2.0.4
reportedSpam
void reportedSpam(User reportedSpammer)
gotAvailableTrends
void gotAvailableTrends(ResponseList<Location> locations)
- Parameters:
locations
- the locations- Since:
- Twitter4J 2.1.1
gotLocationTrends
void gotLocationTrends(Trends trends)
- Parameters:
trends
- trends- Since:
- Twitter4J 2.1.1
searchedPlaces
void searchedPlaces(ResponseList<Place> places)
gotSimilarPlaces
void gotSimilarPlaces(SimilarPlaces places)
gotNearByPlaces
void gotNearByPlaces(ResponseList<Place> places)
gotReverseGeoCode
void gotReverseGeoCode(ResponseList<Place> places)
gotGeoDetails
void gotGeoDetails(Place place)
createdPlace
void createdPlace(Place place)
gotTermsOfService
void gotTermsOfService(java.lang.String tof)
- Since:
- Twitter4J 2.1.7
gotPrivacyPolicy
void gotPrivacyPolicy(java.lang.String privacyPolicy)
- Since:
- Twitter4J 2.1.7
gotRelatedResults
void gotRelatedResults(RelatedResults relatedResults)
tested
void tested(boolean test)
onException
void onException(TwitterException te,
TwitterMethod method)
- Parameters:
te
- TwitterExceptionmethod
-