twitter4j
Class AccountSettingsJSONImpl
java.lang.Object
twitter4j.TwitterResponseImpl
twitter4j.AccountSettingsJSONImpl
- All Implemented Interfaces:
- java.io.Serializable, AccountSettings, TwitterResponse
class AccountSettingsJSONImpl
- extends TwitterResponseImpl
- implements AccountSettings, java.io.Serializable
- Since:
- Twitter4J 2.1.9
- Author:
- Yusuke Yamamoto - yusuke at mac.com
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
SLEEP_TIME_ENABLED
private final boolean SLEEP_TIME_ENABLED
SLEEP_START_TIME
private final java.lang.String SLEEP_START_TIME
SLEEP_END_TIME
private final java.lang.String SLEEP_END_TIME
TREND_LOCATION
private final Location[] TREND_LOCATION
GEO_ENABLED
private final boolean GEO_ENABLED
AccountSettingsJSONImpl
private AccountSettingsJSONImpl(twitter4j.internal.http.HttpResponse res,
twitter4j.internal.org.json.JSONObject json)
throws TwitterException
- Throws:
TwitterException
AccountSettingsJSONImpl
AccountSettingsJSONImpl(twitter4j.internal.http.HttpResponse res,
Configuration conf)
throws TwitterException
- Throws:
TwitterException
AccountSettingsJSONImpl
AccountSettingsJSONImpl(twitter4j.internal.org.json.JSONObject json)
throws TwitterException
- Throws:
TwitterException
isSleepTimeEnabled
public boolean isSleepTimeEnabled()
- Description copied from interface:
AccountSettings
- Returns true if the user enabled sleep time.
- Specified by:
isSleepTimeEnabled
in interface AccountSettings
- Returns:
- true if the user enabled sleep time
getSleepStartTime
public java.lang.String getSleepStartTime()
- Description copied from interface:
AccountSettings
- Returns sleep start time.
- Specified by:
getSleepStartTime
in interface AccountSettings
- Returns:
- sleep start time
getSleepEndTime
public java.lang.String getSleepEndTime()
- Description copied from interface:
AccountSettings
- Returns sleep end time.
- Specified by:
getSleepEndTime
in interface AccountSettings
- Returns:
- sleep end time
getTrendLocations
public Location[] getTrendLocations()
- Description copied from interface:
AccountSettings
- Return the user's trend locations
- Specified by:
getTrendLocations
in interface AccountSettings
- Returns:
- the user's trend locations
isGeoEnabled
public boolean isGeoEnabled()
- Description copied from interface:
AccountSettings
- Return true if the user is enabling geo location
- Specified by:
isGeoEnabled
in interface AccountSettings
- Returns:
- true if the user is enabling geo location