org.springframework.social.twitter.api
Class AccountSettings
java.lang.Object
org.springframework.social.twitter.api.TwitterObject
org.springframework.social.twitter.api.AccountSettings
public class AccountSettings
- extends TwitterObject
Model class representing Twitter account settings.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AccountSettings
public AccountSettings()
isAlwaysUseHttps
public boolean isAlwaysUseHttps()
- Returns:
- true if the account is set to always use HTTPS; false otherwise.
isDiscoverableByEmail
public boolean isDiscoverableByEmail()
- Returns:
- true if the account is discoverable by email; false otherwise.
isDiscoverableByMobilePhone
public boolean isDiscoverableByMobilePhone()
- Returns:
- true if the account is discoverable by mobile phone; false otherwise.
isDisplaySensitiveMedia
public boolean isDisplaySensitiveMedia()
- Returns:
- true if the account's tweets may only be visible to approved users; false if the tweets are public.
isGeoEnabled
public boolean isGeoEnabled()
- Returns:
- true if the account is geo-enabled; false otherwise.
getLanguage
public String getLanguage()
- Returns:
- The account's language.
isProtected
public boolean isProtected()
- Returns:
- true if the account is set for tweet visibility to be only for authorized u; false otherwise.
getScreenName
public String getScreenName()
- Returns:
- The account's screen name.
isUseCookiePersonalization
public boolean isUseCookiePersonalization()
- Returns:
- true if the account is set to tailor content based on recent website visits; false otherwise.
getTimeZone
public AccountSettings.TimeZone getTimeZone()
- Returns:
- The account's time zone.
getSleepTime
public AccountSettings.SleepTime getSleepTime()
- Returns:
- The account's mobile update sleep time settings.
getTrendLocation
public List<AccountSettings.TrendLocation> getTrendLocation()
- Returns:
- The account's trend location settings.