パッケージ twitter4j.v1
インタフェース AccountSettings
- すべてのスーパーインタフェース:
Serializable
,TwitterResponse
- 導入されたバージョン:
- Twitter4J 2.1.9
-
ネストされたクラスの概要
インタフェースから継承されたネストされたクラス/インタフェース twitter4j.TwitterResponse
TwitterResponse.AccessLevel
-
メソッドの概要
修飾子とタイプメソッド説明Returns if the user can accept DMs from anyoneReturns the language used to render Twitter's UII for this user.Returns the user's screen nameReturns sleep end time.Returns sleep start time.Returns the timezone configured for this user.Location[]
Return the user's trend locationsboolean
Returns true if the wants to always access twitter using HTTPS.boolean
Returns true if the user is discoverable by email.boolean
Return true if the user is enabling geo locationboolean
Returns true if the user enabled sleep time.インタフェースから継承されたメソッド twitter4j.TwitterResponse
getAccessLevel, getRateLimitStatus
-
メソッドの詳細
-
isSleepTimeEnabled
boolean isSleepTimeEnabled()Returns true if the user enabled sleep time.- 戻り値:
- true if the user enabled sleep time
-
getSleepStartTime
String getSleepStartTime()Returns sleep start time.- 戻り値:
- sleep start time
-
getSleepEndTime
String getSleepEndTime()Returns sleep end time.- 戻り値:
- sleep end time
-
getTrendLocations
Location[] getTrendLocations()Return the user's trend locations- 戻り値:
- the user's trend locations
-
isGeoEnabled
boolean isGeoEnabled()Return true if the user is enabling geo location- 戻り値:
- true if the user is enabling geo location
-
getTimeZone
TimeZone getTimeZone()Returns the timezone configured for this user.- 戻り値:
- the timezone (formatted as a Rails TimeZone name)
-
getLanguage
String getLanguage()Returns the language used to render Twitter's UII for this user.- 戻り値:
- the language ISO 639-1 representation
-
isDiscoverableByEmail
boolean isDiscoverableByEmail()Returns true if the user is discoverable by email.- 戻り値:
- true if the user is discoverable by email
-
isAlwaysUseHttps
boolean isAlwaysUseHttps()Returns true if the wants to always access twitter using HTTPS.- 戻り値:
- true if the wants to always access twitter using HTTPS
-
getScreenName
String getScreenName()Returns the user's screen name- 戻り値:
- the user's screen name
- 導入されたバージョン:
- Twitter4J 3.0.5
-
getAllowDmsFrom
String getAllowDmsFrom()Returns if the user can accept DMs from anyone- 戻り値:
- all if allowed by anyone, followers if friends only
- 導入されたバージョン:
- Twitter4J 4.0.7
-