public interface Relationship extends TwitterResponse, Serializable
NONE, READ, READ_WRITE, READ_WRITE_DIRECTMESSAGES
Modifier and Type | Method and Description |
---|---|
boolean |
canSourceDm()
Checks if source user can send dm to target user
|
long |
getSourceUserId()
Returns the source user id
|
String |
getSourceUserScreenName()
Returns the source user screen name
|
long |
getTargetUserId()
Returns the target user id
|
String |
getTargetUserScreenName()
Returns the target user screen name
|
boolean |
isSourceBlockingTarget()
Returns if the source user is blocking the target user
|
boolean |
isSourceFollowedByTarget()
Checks if source user is being followed by target user
|
boolean |
isSourceFollowingTarget()
Checks if source user is following target user
|
boolean |
isSourceMutingTarget()
Returns id the source user is muting the target user
|
boolean |
isSourceNotificationsEnabled()
Checks if the source user has enabled notifications for updates of the target user
|
boolean |
isSourceWantRetweets()
Checks if the retweets from the target user enabled
|
boolean |
isTargetFollowedBySource()
Checks if target user is being followed by source user.
This method is equivalent to isSourceFollowingTarget(). |
boolean |
isTargetFollowingSource()
Checks if target user is following source user.
This method is equivalent to isSourceFollowedByTarget(). |
getAccessLevel, getRateLimitStatus
long getSourceUserId()
long getTargetUserId()
boolean isSourceBlockingTarget()
boolean isSourceMutingTarget()
String getSourceUserScreenName()
String getTargetUserScreenName()
boolean isSourceFollowingTarget()
boolean isTargetFollowingSource()
boolean isSourceFollowedByTarget()
boolean isTargetFollowedBySource()
boolean canSourceDm()
boolean isSourceNotificationsEnabled()
boolean isSourceWantRetweets()
Copyright © 2018. All rights reserved.