Package twitter4j.v1

Interface RateLimitStatusListener


public interface RateLimitStatusListener
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Called when the account or IP address is hitting the rate limit.
    onRateLimitStatus will be also called before this event.
    void
    Called when the response contains rate limit status.
  • Method Details

    • onRateLimitStatus

      void onRateLimitStatus(RateLimitStatusEvent event)
      Called when the response contains rate limit status.
      Parameters:
      event - rate limit status event.
    • onRateLimitReached

      void onRateLimitReached(RateLimitStatusEvent event)
      Called when the account or IP address is hitting the rate limit.
      onRateLimitStatus will be also called before this event.
      Parameters:
      event - rate limit status event.