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,
                                      @Nullable
                                      @Nullable java.lang.Object hint)
        Mutates or drop an event before being sent
        Parameters:
        event - the event
        hint - the hint, usually the source of the event
        Returns:
        the original event or the mutated event or null if event was dropped