Package io.sentry
Interface SentryOptions.BeforeSendTransactionCallback
- Enclosing class:
- SentryOptions
public static interface SentryOptions.BeforeSendTransactionCallback
The BeforeSendTransaction callback
-
Method Summary
Modifier and TypeMethodDescription@Nullable SentryTransaction
execute
(@NotNull SentryTransaction transaction, @NotNull Hint hint) Mutates or drop a transaction before being sent
-
Method Details
-
execute
@Nullable @Nullable SentryTransaction execute(@NotNull @NotNull SentryTransaction transaction, @NotNull @NotNull Hint hint) Mutates or drop a transaction before being sent- Parameters:
transaction
- the transactionhint
- the hints- Returns:
- the original transaction or the mutated transaction or null if transaction was dropped
-