Package twitter4j.v1

Interface AccountSettings

All Superinterfaces:
Serializable, TwitterResponse

public interface AccountSettings extends TwitterResponse, Serializable
Since:
Twitter4J 2.1.9
  • Method Details

    • isSleepTimeEnabled

      boolean isSleepTimeEnabled()
      Returns true if the user enabled sleep time.
      Returns:
      true if the user enabled sleep time
    • getSleepStartTime

      String getSleepStartTime()
      Returns sleep start time.
      Returns:
      sleep start time
    • getSleepEndTime

      String getSleepEndTime()
      Returns sleep end time.
      Returns:
      sleep end time
    • getTrendLocations

      Location[] getTrendLocations()
      Return the user's trend locations
      Returns:
      the user's trend locations
    • isGeoEnabled

      boolean isGeoEnabled()
      Return true if the user is enabling geo location
      Returns:
      true if the user is enabling geo location
    • getTimeZone

      TimeZone getTimeZone()
      Returns the timezone configured for this user.
      Returns:
      the timezone (formatted as a Rails TimeZone name)
    • getLanguage

      String getLanguage()
      Returns the language used to render Twitter's UII for this user.
      Returns:
      the language ISO 639-1 representation
    • isDiscoverableByEmail

      boolean isDiscoverableByEmail()
      Returns true if the user is discoverable by email.
      Returns:
      true if the user is discoverable by email
    • isAlwaysUseHttps

      boolean isAlwaysUseHttps()
      Returns true if the wants to always access twitter using HTTPS.
      Returns:
      true if the wants to always access twitter using HTTPS
    • getScreenName

      String getScreenName()
      Returns the user's screen name
      Returns:
      the user's screen name
      Since:
      Twitter4J 3.0.5
    • getAllowDmsFrom

      String getAllowDmsFrom()
      Returns if the user can accept DMs from anyone
      Returns:
      all if allowed by anyone, followers if friends only
      Since:
      Twitter4J 4.0.7