Package io.sentry
Interface SentryOptions.BeforeSendCallback
-
- Enclosing class:
- SentryOptions
public static interface SentryOptions.BeforeSendCallback
The BeforeSend callback
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @Nullable SentryEvent
execute(@NotNull SentryEvent event, @NotNull Hint hint)
Mutates or drop an event before being sent
-
-
-
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 eventhint
- the hints- Returns:
- the original event or the mutated event or null if event was dropped
-
-