public interface Status extends java.lang.Comparable<Status>, TwitterResponse, java.io.Serializable
NONE, READ, READ_WRITE, READ_WRITE_DIRECTMESSAGES
Modifier and Type | Method and Description |
---|---|
Annotations |
getAnnotations()
Deprecated.
Annotations is not available for now. Annotations - Twitter Development Talk | Google Groups
|
long[] |
getContributors()
Returns an array of contributors, or null if no contributor is associated with this status.
|
java.util.Date |
getCreatedAt()
Return the created_at
|
GeoLocation |
getGeoLocation()
Returns The location that this tweet refers to if available.
|
HashtagEntity[] |
getHashtagEntities()
Returns an array if hashtag mentioned in the tweet, or null if no hashtag were mentioned.
|
long |
getId()
Returns the id of the status
|
java.lang.String |
getInReplyToScreenName()
Returns the in_reply_to_screen_name
|
long |
getInReplyToStatusId()
Returns the in_reply_tostatus_id
|
long |
getInReplyToUserId()
Returns the in_reply_user_id
|
MediaEntity[] |
getMediaEntities()
Returns an array of MediaEntities if medias are available in the tweet, or null if no media is included in the tweet.
|
Place |
getPlace()
Returns the place attached to this status
|
long |
getRetweetCount()
Returns the number of times this tweet has been retweeted, or -1 when the tweet was
created before this feature was enabled.
|
Status |
getRetweetedStatus() |
java.lang.String |
getSource()
Returns the source
|
java.lang.String |
getText()
Returns the text of the status
|
URLEntity[] |
getURLEntities()
Returns an array if URLEntity mentioned in the tweet, or null if no URLs were mentioned.
|
User |
getUser()
Return the user associated with the status.
This can be null if the instance if from User.getStatus(). |
UserMentionEntity[] |
getUserMentionEntities()
Returns an array of user mentions in the tweet, or null if no users were mentioned.
|
boolean |
isFavorited()
Test if the status is favorited
|
boolean |
isRetweet() |
boolean |
isRetweetedByMe()
Returns true if the authenticating user has retweeted this tweet, or false when the tweet was
created before this feature was enabled.
|
boolean |
isTruncated()
Test if the status is truncated
|
getAccessLevel, getRateLimitStatus
java.util.Date getCreatedAt()
long getId()
java.lang.String getText()
java.lang.String getSource()
boolean isTruncated()
long getInReplyToStatusId()
long getInReplyToUserId()
java.lang.String getInReplyToScreenName()
GeoLocation getGeoLocation()
Place getPlace()
boolean isFavorited()
User getUser()
boolean isRetweet()
Status getRetweetedStatus()
long[] getContributors()
long getRetweetCount()
boolean isRetweetedByMe()
UserMentionEntity[] getUserMentionEntities()
URLEntity[] getURLEntities()
HashtagEntity[] getHashtagEntities()
Annotations getAnnotations()
MediaEntity[] getMediaEntities()