Package twitter4j.v1
Interface Trends
- All Superinterfaces:
Comparable<Trends>
,Serializable
,TwitterResponse
A data class representing Trends.
- Since:
- Twitter4J 2.0.2
-
Nested Class Summary
Nested classes/interfaces inherited from interface twitter4j.TwitterResponse
TwitterResponse.AccessLevel
-
Method Summary
Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface twitter4j.TwitterResponse
getAccessLevel, getRateLimitStatus
-
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
-