Package io.sentry

Interface EventProcessor

    • Method Detail

      • process

        @Nullable
        default @Nullable SentryEvent process​(@NotNull
                                              @NotNull SentryEvent event,
                                              @Nullable
                                              @Nullable java.lang.Object hint)
        May mutate or drop a SentryEvent
        Parameters:
        event - the SentryEvent
        hint - the Hint
        Returns:
        the event itself, a mutated SentryEvent or null
      • process

        @Nullable
        default @Nullable SentryTransaction process​(@NotNull
                                                    @NotNull SentryTransaction transaction,
                                                    @Nullable
                                                    @Nullable java.lang.Object hint)
        May mutate or drop a SentryTransaction
        Parameters:
        transaction - the SentryTransaction
        hint - the Hint
        Returns:
        the event itself, a mutated SentryTransaction or null