twitter4j
Interface TwitterResponse
- All Superinterfaces:
- java.io.Serializable
- All Known Subinterfaces:
- AccountSettings, AccountTotals, DirectMessage, IDs, PagableResponseList<T>, ProfileImage, RelatedResults, Relationship, ResponseList<T>, SavedSearch, SimilarPlaces, Status, Trend, TwitterAPIConfiguration, User, UserList
- All Known Implementing Classes:
- AccountSettingsJSONImpl, AccountTotalsJSONImpl, DirectMessageJSONImpl, IDsJSONImpl, PagableResponseListImpl, PlaceJSONImpl, ProfileImageImpl, RelatedResultsJSONImpl, RelationshipJSONImpl, ResponseListImpl, SavedSearchJSONImpl, SimilarPlacesImpl, StatusJSONImpl, TrendJSONImpl, TwitterAPIConfigurationJSONImpl, TwitterException, TwitterResponseImpl, UserJSONImpl, UserListJSONImpl
public interface TwitterResponse
- extends java.io.Serializable
Super interface of Twitter Response data interfaces which indicates that rate limit status is avaialble.
- Author:
- Yusuke Yamamoto - yusuke at mac.com
- See Also:
DirectMessage,
Status,
User
NONE
static final int NONE
- See Also:
- Constant Field Values
READ
static final int READ
- See Also:
- Constant Field Values
READ_WRITE
static final int READ_WRITE
- See Also:
- Constant Field Values
READ_WRITE_DIRECTMESSAGES
static final int READ_WRITE_DIRECTMESSAGES
- See Also:
- Constant Field Values
getRateLimitStatus
RateLimitStatus getRateLimitStatus()
- Returns the current rate limit status if available.
- Returns:
- current rate limit status
- Since:
- Twitter4J 2.1.0
getAccessLevel
int getAccessLevel()
- Returns:
- application permission model
- Since:
- Twitter4J 2.2.3
- See Also:
- Application Permission Model FAQ - How do we know what the access level of a user token is?