Package twitter4j.v1

Interface Trends

All Superinterfaces:
Comparable<Trends>, Serializable, TwitterResponse

public interface Trends extends TwitterResponse, Comparable<Trends>, Serializable
A data class representing Trends.
Since:
Twitter4J 2.0.2
  • Method Details

    • getTrends

      Trend[] getTrends()
      Returns:
      trends
    • getLocation

      Location getLocation()
      Returns the location associated with the trends.
      This method is effective only with getLocalTrends() method.
      i.e. The return value of this method will be null with Search API Methods (getTrends(), getCurrentTrends(), getDailyTrends(), and getWeeklyTrends()).
      Returns:
      location
      Since:
      Twitter4J 2.1.1
    • getAsOf

      LocalDateTime getAsOf()
      Returns:
      as of date
    • getTrendAt

      LocalDateTime getTrendAt()
      Returns:
      date trending at