Package io.sentry.transport
Interface RateLimiter.IRateLimitObserver
- Enclosing class:
- RateLimiter
public static interface RateLimiter.IRateLimitObserver
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onRateLimitChanged
(@NotNull RateLimiter rateLimiter) Invoked whenever the rate limit changed.
-
Method Details
-
onRateLimitChanged
Invoked whenever the rate limit changed. You should useRateLimiter.isActiveForCategory(DataCategory)
to check whether the category you're interested in has changed.- Parameters:
rateLimiter
- thisRateLimiter
instance which you can use to check if the rate limit is active for a specific category
-