public interface User extends java.lang.Comparable<User>, TwitterResponse, java.io.Serializable
NONE, READ, READ_WRITE, READ_WRITE_DIRECTMESSAGES
Modifier and Type | Method and Description |
---|---|
java.util.Date |
getCreatedAt() |
java.lang.String |
getDescription()
Returns the description of the user
|
int |
getFavouritesCount() |
int |
getFollowersCount()
Returns the number of followers
|
int |
getFriendsCount() |
long |
getId()
Returns the id of the user
|
java.lang.String |
getLang()
Returns the preferred language of the user
|
int |
getListedCount()
Returns the number of public lists the user is listed on, or -1
if the count is unavailable.
|
java.lang.String |
getLocation()
Returns the location of the user
|
java.lang.String |
getName()
Returns the name of the user
|
java.lang.String |
getProfileBackgroundColor() |
java.lang.String |
getProfileBackgroundImageUrl() |
java.lang.String |
getProfileBackgroundImageUrlHttps() |
java.net.URL |
getProfileImageURL()
Returns the profile image url of the user
|
java.net.URL |
getProfileImageUrlHttps()
Returns the profile image url of the user, served over SSL
|
java.lang.String |
getProfileLinkColor() |
java.lang.String |
getProfileSidebarBorderColor() |
java.lang.String |
getProfileSidebarFillColor() |
java.lang.String |
getProfileTextColor() |
java.lang.String |
getScreenName()
Returns the screen name of the user
|
Status |
getStatus()
Returns the current status of the user
This can be null if the instance if from Status.getUser(). |
int |
getStatusesCount() |
java.lang.String |
getTimeZone() |
java.net.URL |
getURL()
Returns the url of the user
|
int |
getUtcOffset() |
boolean |
isContributorsEnabled()
Tests if the user is enabling contributors
|
boolean |
isFollowRequestSent()
Returns true if the authenticating user has requested to follow this user,
otherwise false.
|
boolean |
isGeoEnabled() |
boolean |
isProfileBackgroundTiled() |
boolean |
isProfileUseBackgroundImage() |
boolean |
isProtected()
Test if the user status is protected
|
boolean |
isShowAllInlineMedia() |
boolean |
isTranslator() |
boolean |
isVerified() |
getAccessLevel, getRateLimitStatus
long getId()
java.lang.String getName()
java.lang.String getScreenName()
java.lang.String getLocation()
java.lang.String getDescription()
boolean isContributorsEnabled()
java.net.URL getProfileImageURL()
java.net.URL getProfileImageUrlHttps()
java.net.URL getURL()
boolean isProtected()
int getFollowersCount()
Status getStatus()
java.lang.String getProfileBackgroundColor()
java.lang.String getProfileTextColor()
java.lang.String getProfileLinkColor()
java.lang.String getProfileSidebarFillColor()
java.lang.String getProfileSidebarBorderColor()
boolean isProfileUseBackgroundImage()
boolean isShowAllInlineMedia()
int getFriendsCount()
java.util.Date getCreatedAt()
int getFavouritesCount()
int getUtcOffset()
java.lang.String getTimeZone()
java.lang.String getProfileBackgroundImageUrl()
java.lang.String getProfileBackgroundImageUrlHttps()
boolean isProfileBackgroundTiled()
java.lang.String getLang()
int getStatusesCount()
boolean isGeoEnabled()
boolean isVerified()
boolean isTranslator()
int getListedCount()
boolean isFollowRequestSent()