パッケージ twitter4j.v1

インタフェース StatusListener

すべてのスーパーインタフェース:
StreamListener
既知の実装クラスのリスト:
StatusAdapter

public interface StatusListener extends StreamListener
導入されたバージョン:
Twitter4J 2.0.4
  • メソッドの概要

    修飾子とタイプ
    メソッド
    説明
    void
    onDeletionNotice(StatusDeletionNotice statusDeletionNotice)
    Called upon deletionNotice notices.
    void
    onScrubGeo(long userId, long upToStatusId)
    Called upon location deletion messages.
    void
    Called when receiving stall warnings.
    void
    onStatus(Status status)
     
    void
    onTrackLimitationNotice(int numberOfLimitedStatuses)
    This notice will be sent each time a limited stream becomes unlimited.
    If this number is high and or rapidly increasing, it is an indication that your predicate is too broad, and you should consider a predicate with higher selectivity.

    インタフェースから継承されたメソッド twitter4j.v1.StreamListener

    onException
  • メソッドの詳細

    • onStatus

      void onStatus(Status status)
      パラメータ:
      status - status
    • onDeletionNotice

      void onDeletionNotice(StatusDeletionNotice statusDeletionNotice)
      Called upon deletionNotice notices. Clients are urged to honor deletionNotice requests and discard deleted statuses immediately. At times, status deletionNotice messages may arrive before the status. Even in this case, the late arriving status should be deleted from your backing store.
      パラメータ:
      statusDeletionNotice - the deletionNotice notice
      導入されたバージョン:
      Twitter4J 2.1.0
      関連項目:
    • onTrackLimitationNotice

      void onTrackLimitationNotice(int numberOfLimitedStatuses)
      This notice will be sent each time a limited stream becomes unlimited.
      If this number is high and or rapidly increasing, it is an indication that your predicate is too broad, and you should consider a predicate with higher selectivity.
      パラメータ:
      numberOfLimitedStatuses - an enumeration of statuses that matched the track predicate but were administratively limited.
      導入されたバージョン:
      Twitter4J 2.1.0
      関連項目:
    • onScrubGeo

      void onScrubGeo(long userId, long upToStatusId)
      Called upon location deletion messages. Clients are urged to honor deletion requests and remove appropriate geolocation information from both the display and your backing store immediately. Note that in some cases the location deletion message may arrive before a tweet that lies within the deletion range arrives. You should still strip the location data.
      パラメータ:
      userId - user id
      upToStatusId - up to status id
      導入されたバージョン:
      Twitter4J 2.1.9
    • onStallWarning

      void onStallWarning(StallWarning warning)
      Called when receiving stall warnings.
      パラメータ:
      warning - StallWaning
      導入されたバージョン:
      Twitter4J 3.0.0
      関連項目: