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.lang.String |
getBiggerProfileImageURL() |
java.lang.String |
getBiggerProfileImageURLHttps() |
java.util.Date |
getCreatedAt() |
java.lang.String |
getDescription()
Returns the description of the user
|
URLEntity[] |
getDescriptionURLEntities()
Returns URL entities for user description.
|
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 |
getMiniProfileImageURL() |
java.lang.String |
getMiniProfileImageURLHttps() |
java.lang.String |
getName()
Returns the name of the user
|
java.lang.String |
getOriginalProfileImageURL() |
java.lang.String |
getOriginalProfileImageURLHttps() |
java.lang.String |
getProfileBackgroundColor() |
java.lang.String |
getProfileBackgroundImageUrl()
Deprecated.
use
getProfileImageURL() instead |
java.lang.String |
getProfileBackgroundImageURL() |
java.lang.String |
getProfileBackgroundImageUrlHttps() |
java.lang.String |
getProfileBannerIPadRetinaURL() |
java.lang.String |
getProfileBannerIPadURL() |
java.lang.String |
getProfileBannerMobileRetinaURL() |
java.lang.String |
getProfileBannerMobileURL() |
java.lang.String |
getProfileBannerRetinaURL() |
java.lang.String |
getProfileBannerURL() |
java.lang.String |
getProfileImageURL()
Returns the profile image url of the user
|
java.net.URL |
getProfileImageUrlHttps()
Deprecated.
use
getProfileImageURL() instead |
java.lang.String |
getProfileImageURLHttps() |
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.lang.String |
getURL()
Returns the url of the user
|
URLEntity |
getURLEntity()
Returns URL entity for user's URL.
|
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.lang.String getProfileImageURL()
java.lang.String getBiggerProfileImageURL()
java.lang.String getMiniProfileImageURL()
java.lang.String getOriginalProfileImageURL()
java.net.URL getProfileImageUrlHttps()
getProfileImageURL()
insteadjava.lang.String getProfileImageURLHttps()
java.lang.String getBiggerProfileImageURLHttps()
java.lang.String getMiniProfileImageURLHttps()
java.lang.String getOriginalProfileImageURLHttps()
java.lang.String 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()
getProfileImageURL()
insteadjava.lang.String getProfileBackgroundImageURL()
java.lang.String getProfileBackgroundImageUrlHttps()
java.lang.String getProfileBannerURL()
java.lang.String getProfileBannerRetinaURL()
java.lang.String getProfileBannerIPadURL()
java.lang.String getProfileBannerIPadRetinaURL()
java.lang.String getProfileBannerMobileURL()
java.lang.String getProfileBannerMobileRetinaURL()
boolean isProfileBackgroundTiled()
java.lang.String getLang()
int getStatusesCount()
boolean isGeoEnabled()
boolean isVerified()
boolean isTranslator()
int getListedCount()
boolean isFollowRequestSent()
URLEntity[] getDescriptionURLEntities()
URLEntity getURLEntity()