Package io.sentry

Interface SentryOptions.BeforeSendCallback

  • Enclosing class:
    SentryOptions

    public static interface SentryOptions.BeforeSendCallback
    The BeforeSend callback
    • Method Detail

      • execute

        @Nullable
        @Nullable SentryEvent execute​(@NotNull
                                      @NotNull SentryEvent event,
                                      @NotNull
                                      @NotNull Hint hint)
        Mutates or drop an event before being sent
        Parameters:
        event - the event
        hint - the hints
        Returns:
        the original event or the mutated event or null if event was dropped