パッケージ twitter4j.v1

インタフェース Relationship

すべてのスーパーインタフェース:
Serializable, TwitterResponse

public interface Relationship extends TwitterResponse, Serializable
A data interface that has detailed information about a relationship between two users
導入されたバージョン:
Twitter4J 2.1.0
関連項目:
  • メソッドの詳細

    • 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