twitter4j

## Interface AsyncTwitter

All Superinterfaces:
  AsyncOAuth2Support, AsyncOAuthSupport, DirectMessagesResourcesAsync, FavoritesResourcesAsync, FriendsFollowersResourcesAsync, HelpResourcesAsync, ListsResourcesAsync, OAuth2Support, OAuthSupport, PlacesGeoResourcesAsync, SavedSearchesResourcesAsync, SearchResourceAsync, Serializable, SpamReportingResourceAsync, SuggestedUsersResourcesAsync, TimelinesResourcesAsync, TrendsResourcesAsync, TweetsResourcesAsync, TwitterBase, UsersResourcesAsync

    public interface AsyncTwitter
    extends Serializable, OAuthSupport, OAuth2Support, AsyncOAuthSupport, AsyncOAuth2Support, TwitterBase, TimelinesResourcesAsync, TweetsResourcesAsync, SearchResourceAsync, DirectMessagesResourcesAsync, FriendsFollowersResourcesAsync, UsersResourcesAsync, SuggestedUsersResourcesAsync, FavoritesResourcesAsync, ListsResourcesAsync, SavedSearchesResourcesAsync, PlacesGeoResourcesAsync, TrendsResourcesAsync, SpamReportingResourceAsync, HelpResourcesAsync

Since:
  Twitter4J 2.2.0
Author:
  Yusuke Yamamoto - yusuke at mac.com

### Method Summary

All Methods Instance Methods Abstract Methods
`void` `addListener(TwitterListener listener)` Adds twitter listener
`void` `shutdown()` Shuts down internal dispatcher thread shared across all AsyncTwitter instances.

### Methods inherited from interface twitter4j.auth.OAuthSupport

`getOAuthAccessToken, getOAuthAccessToken, getOAuthAccessToken, getOAuthAccessToken, getOAuthAccessToken, getOAuthRequestToken, getOAuthRequestToken, getOAuthRequestToken, getOAuthRequestToken, setOAuthAccessToken, setOAuthConsumer`

### Methods inherited from interface twitter4j.auth.OAuth2Support

`getOAuth2Token, invalidateOAuth2Token, setOAuth2Token, setOAuthConsumer`

### Methods inherited from interface twitter4j.auth.AsyncOAuthSupport

`getOAuthAccessTokenAsync, getOAuthAccessTokenAsync, getOAuthAccessTokenAsync, getOAuthAccessTokenAsync, getOAuthAccessTokenAsync, getOAuthRequestTokenAsync, getOAuthRequestTokenAsync, getOAuthRequestTokenAsync, getOAuthRequestTokenAsync`

### Methods inherited from interface twitter4j.auth.AsyncOAuth2Support

`getOAuth2TokenAsync`

### Methods inherited from interface twitter4j.TwitterBase

`addRateLimitStatusListener, getAuthorization, getConfiguration, getId, getScreenName, onRateLimitReached, onRateLimitStatus`

### Methods inherited from interface twitter4j.api.TimelinesResourcesAsync

`getHomeTimeline, getHomeTimeline, getMentions, getMentions, getRetweetsOfMe, getRetweetsOfMe, getUserTimeline, getUserTimeline, getUserTimeline, getUserTimeline, getUserTimeline, getUserTimeline`

### Methods inherited from interface twitter4j.api.TweetsResourcesAsync

`destroyStatus, getOEmbed, getRetweets, lookup, retweetStatus, showStatus, updateStatus, updateStatus`

### Methods inherited from interface twitter4j.api.SearchResourceAsync

`search`

### Methods inherited from interface twitter4j.api.DirectMessagesResourcesAsync

`destroyDirectMessage, getDirectMessages, getDirectMessages, getSentDirectMessages, getSentDirectMessages, sendDirectMessage, sendDirectMessage, showDirectMessage`

### Methods inherited from interface twitter4j.api.FriendsFollowersResourcesAsync

`createFriendship, createFriendship, createFriendship, createFriendship, destroyFriendship, destroyFriendship, getFollowersIDs, getFollowersIDs, getFollowersIDs, getFollowersList, getFollowersList, getFriendsIDs, getFriendsIDs, getFriendsIDs, getFriendsList, getFriendsList, getIncomingFriendships, getOutgoingFriendships, lookupFriendships, lookupFriendships, showFriendship, showFriendship, updateFriendship, updateFriendship`

### Methods inherited from interface twitter4j.api.UsersResourcesAsync

`createBlock, createBlock, createMute, createMute, destroyBlock, destroyBlock, destroyMute, destroyMute, getAccountSettings, getBlocksIDs, getBlocksIDs, getBlocksList, getBlocksList, getContributees, getContributees, getContributors, getContributors, getMutesIDs, getMutesList, lookupUsers, lookupUsers, removeProfileBanner, searchUsers, showUser, showUser, updateAccountSettings, updateProfile, updateProfileBackgroundImage, updateProfileBackgroundImage, updateProfileBanner, updateProfileBanner, updateProfileColors, updateProfileImage, updateProfileImage, verifyCredentials`

### Methods inherited from interface twitter4j.api.SuggestedUsersResourcesAsync

`getMemberSuggestions, getSuggestedUserCategories, getUserSuggestions`

### Methods inherited from interface twitter4j.api.FavoritesResourcesAsync

`createFavorite, destroyFavorite, getFavorites, getFavorites, getFavorites, getFavorites, getFavorites, getFavorites`

### Methods inherited from interface twitter4j.api.ListsResourcesAsync

`createUserList, createUserListMember, createUserListMember, createUserListMembers, createUserListMembers, createUserListMembers, createUserListMembers, createUserListSubscription, createUserListSubscription, destroyUserList, destroyUserList, destroyUserListMember, destroyUserListMember, destroyUserListSubscription, destroyUserListSubscription, getUserListMembers, getUserListMembers, getUserListMemberships, getUserListMemberships, getUserListMemberships, getUserListMemberships, getUserListMemberships, getUserLists, getUserLists, getUserListStatuses, getUserListStatuses, getUserListSubscribers, getUserListSubscribers, getUserListSubscriptions, showUserList, showUserList, showUserListMembership, showUserListMembership, showUserListSubscription, showUserListSubscription, updateUserList, updateUserList`

### Methods inherited from interface twitter4j.api.SavedSearchesResourcesAsync

`createSavedSearch, destroySavedSearch, getSavedSearches, showSavedSearch`

### Methods inherited from interface twitter4j.api.PlacesGeoResourcesAsync

`getGeoDetails, getSimilarPlaces, reverseGeoCode, searchPlaces`

### Methods inherited from interface twitter4j.api.TrendsResourcesAsync

`getAvailableTrends, getClosestTrends, getPlaceTrends`

### Methods inherited from interface twitter4j.api.SpamReportingResourceAsync

`reportSpam, reportSpam`

### Methods inherited from interface twitter4j.api.HelpResourcesAsync

`getAPIConfiguration, getLanguages, getPrivacyPolicy, getRateLimitStatus, getRateLimitStatus, getTermsOfService`

### Method Detail

#### addListener

    void addListener(TwitterListener listener)

Adds twitter listener

Parameters:
  `listener` - TwitterListener

#### shutdown

    void shutdown()

Shuts down internal dispatcher thread shared across all AsyncTwitter instances.

Since:
  Twitter4J 2.1.9