Package io.sentry

Interface SentryOptions.OnDiscardCallback

Enclosing class:
SentryOptions

public static interface SentryOptions.OnDiscardCallback
The OnDiscard callback
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    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 dropped
      category - the type of data discarded
      number - the number of discarded data items