public interface User extends Comparable<User>, TwitterResponse, Serializable
NONE, READ, READ_WRITE, READ_WRITE_DIRECTMESSAGES
Modifier and Type | Method and Description |
---|---|
String |
get400x400ProfileImageURL() |
String |
get400x400ProfileImageURLHttps() |
String |
getBiggerProfileImageURL() |
String |
getBiggerProfileImageURLHttps() |
Date |
getCreatedAt() |
String |
getDescription()
Returns the description of the user
|
URLEntity[] |
getDescriptionURLEntities()
Returns URL entities for user description.
|
String |
getEmail()
Returns the email of the user, if the app is whitelisted by Twitter
|
int |
getFavouritesCount() |
int |
getFollowersCount()
Returns the number of followers
|
int |
getFriendsCount()
Returns the number of users the user follows (AKA "followings")
|
long |
getId()
Returns the id of the user
|
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.
|
String |
getLocation()
Returns the location of the user
|
String |
getMiniProfileImageURL() |
String |
getMiniProfileImageURLHttps() |
String |
getName()
Returns the name of the user
|
String |
getOriginalProfileImageURL() |
String |
getOriginalProfileImageURLHttps() |
String |
getProfileBackgroundColor() |
String |
getProfileBackgroundImageURL() |
String |
getProfileBackgroundImageUrlHttps() |
String |
getProfileBanner1500x500URL() |
String |
getProfileBanner300x100URL() |
String |
getProfileBanner600x200URL() |
String |
getProfileBannerIPadRetinaURL() |
String |
getProfileBannerIPadURL() |
String |
getProfileBannerMobileRetinaURL() |
String |
getProfileBannerMobileURL() |
String |
getProfileBannerRetinaURL() |
String |
getProfileBannerURL() |
String |
getProfileImageURL()
Returns the profile image url of the user
|
String |
getProfileImageURLHttps() |
String |
getProfileLinkColor() |
String |
getProfileSidebarBorderColor() |
String |
getProfileSidebarFillColor() |
String |
getProfileTextColor() |
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() |
String |
getTimeZone() |
String |
getURL()
Returns the url of the user
|
URLEntity |
getURLEntity()
Returns URL entity for user's URL.
|
int |
getUtcOffset() |
String[] |
getWithheldInCountries()
Returns the list of country codes where the user is withheld
|
boolean |
isContributorsEnabled()
Tests if the user is enabling contributors
|
boolean |
isDefaultProfile()
Tests if the user has not altered the theme or background
|
boolean |
isDefaultProfileImage()
Tests if the user has not uploaded their own avatar
|
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() |
compareTo
getAccessLevel, getRateLimitStatus
long getId()
String getName()
String getEmail()
String getScreenName()
String getLocation()
String getDescription()
boolean isContributorsEnabled()
String getProfileImageURL()
String getBiggerProfileImageURL()
String getMiniProfileImageURL()
String getOriginalProfileImageURL()
String get400x400ProfileImageURL()
String getProfileImageURLHttps()
String getBiggerProfileImageURLHttps()
String getMiniProfileImageURLHttps()
String getOriginalProfileImageURLHttps()
String get400x400ProfileImageURLHttps()
boolean isDefaultProfileImage()
String getURL()
boolean isProtected()
int getFollowersCount()
Status getStatus()
String getProfileBackgroundColor()
String getProfileTextColor()
String getProfileLinkColor()
String getProfileSidebarFillColor()
String getProfileSidebarBorderColor()
boolean isProfileUseBackgroundImage()
boolean isDefaultProfile()
boolean isShowAllInlineMedia()
int getFriendsCount()
Date getCreatedAt()
int getFavouritesCount()
int getUtcOffset()
String getTimeZone()
String getProfileBackgroundImageURL()
String getProfileBackgroundImageUrlHttps()
String getProfileBannerURL()
String getProfileBannerRetinaURL()
String getProfileBannerIPadURL()
String getProfileBannerIPadRetinaURL()
String getProfileBannerMobileURL()
String getProfileBannerMobileRetinaURL()
String getProfileBanner300x100URL()
String getProfileBanner600x200URL()
String getProfileBanner1500x500URL()
boolean isProfileBackgroundTiled()
String getLang()
int getStatusesCount()
boolean isGeoEnabled()
boolean isVerified()
boolean isTranslator()
int getListedCount()
boolean isFollowRequestSent()
URLEntity[] getDescriptionURLEntities()
URLEntity getURLEntity()
String[] getWithheldInCountries()
Copyright © 2018. All rights reserved.