Package io.sentry
Interface SentryOptions.BeforeSendCallback
- Enclosing class:
- SentryOptions
public static interface SentryOptions.BeforeSendCallback
The BeforeSend callback
-
Method Summary
Modifier and TypeMethodDescription@Nullable SentryEvent
execute
(@NotNull SentryEvent event, @NotNull Hint hint) Mutates or drop an event before being sent
-
Method Details
-
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
-