パッケージ twitter4j.v1
インタフェース Relationship
- すべてのスーパーインタフェース:
Serializable
,TwitterResponse
A data interface that has detailed information about a relationship between two users
- 導入されたバージョン:
- Twitter4J 2.1.0
- 関連項目:
-
ネストされたクラスの概要
インタフェースから継承されたネストされたクラス/インタフェース twitter4j.TwitterResponse
TwitterResponse.AccessLevel
-
メソッドの概要
修飾子とタイプメソッド説明boolean
Checks if source user can send dm to target userlong
Returns the source user idReturns the source user screen namelong
Returns the target user idReturns the target user screen nameboolean
Returns if the source user is blocking the target userboolean
Checks if source user is being followed by target userboolean
Checks if source user is following target userboolean
Returns id the source user is muting the target userboolean
Checks if the source user has enabled notifications for updates of the target userboolean
Checks if the retweets from the target user enabledboolean
Checks if target user is being followed by source user.
This method is equivalent to isSourceFollowingTarget().boolean
Checks if target user is following source user.
This method is equivalent to isSourceFollowedByTarget().インタフェースから継承されたメソッド twitter4j.TwitterResponse
getAccessLevel, getRateLimitStatus
-
メソッドの詳細
-
getSourceUserId
long getSourceUserId()Returns the source user id- 戻り値:
- the source user id
-
getTargetUserId
long getTargetUserId()Returns the target user id- 戻り値:
- target user id
-
isSourceBlockingTarget
boolean isSourceBlockingTarget()Returns if the source user is blocking the target user- 戻り値:
- if the source is blocking the target
-
isSourceMutingTarget
boolean isSourceMutingTarget()Returns id the source user is muting the target user- 戻り値:
- if the source is muting the target
-
getSourceUserScreenName
String getSourceUserScreenName()Returns the source user screen name- 戻り値:
- returns the source user screen name
-
getTargetUserScreenName
String getTargetUserScreenName()Returns the target user screen name- 戻り値:
- the target user screen name
-
isSourceFollowingTarget
boolean isSourceFollowingTarget()Checks if source user is following target user- 戻り値:
- true if source user is following target user
-
isTargetFollowingSource
boolean isTargetFollowingSource()Checks if target user is following source user.
This method is equivalent to isSourceFollowedByTarget().- 戻り値:
- true if target user is following source user
-
isSourceFollowedByTarget
boolean isSourceFollowedByTarget()Checks if source user is being followed by target user- 戻り値:
- true if source user is being followed by target user
-
isTargetFollowedBySource
boolean isTargetFollowedBySource()Checks if target user is being followed by source user.
This method is equivalent to isSourceFollowingTarget().- 戻り値:
- true if target user is being followed by source user
-
canSourceDm
boolean canSourceDm()Checks if source user can send dm to target user- 戻り値:
- true if source user can send dm to target user
- 導入されたバージョン:
- Twitter4J 3.0.5
-
isSourceNotificationsEnabled
boolean isSourceNotificationsEnabled()Checks if the source user has enabled notifications for updates of the target user- 戻り値:
- true if source user enabled notifications for target user
-
isSourceWantRetweets
boolean isSourceWantRetweets()Checks if the retweets from the target user enabled- 戻り値:
- true if the retweets from the target user enabled
- 導入されたバージョン:
- Twitter4J 3.0.3
-