Package io.sentry
Interface SentryOptions.OnDiscardCallback
- Enclosing class:
- SentryOptions
public static interface SentryOptions.OnDiscardCallback
The OnDiscard callback
-
Method Summary
Modifier and TypeMethodDescriptionvoid
execute
(@NotNull DiscardReason reason, @NotNull DataCategory category, @NotNull Long number) Best-effort record of data discarded before reaching Sentry
-
Method Details
-
execute
void execute(@NotNull @NotNull DiscardReason reason, @NotNull @NotNull DataCategory category, @NotNull @NotNull Long number) Best-effort record of data discarded before reaching Sentry- Parameters:
reason
- the reason data was droppedcategory
- the type of data discardednumber
- the number of discarded data items
-