Package io.sentry

Interface SentryOptions.BeforeBreadcrumbCallback

Enclosing class:
SentryOptions

public static interface SentryOptions.BeforeBreadcrumbCallback
The BeforeBreadcrumb callback
  • Method Summary

    Modifier and Type
    Method
    Description
    @Nullable Breadcrumb
    execute(@NotNull Breadcrumb breadcrumb, @NotNull Hint hint)
    Mutates or drop a callback before being added
  • Method Details

    • execute

      @Nullable @Nullable Breadcrumb execute(@NotNull @NotNull Breadcrumb breadcrumb, @NotNull @NotNull Hint hint)
      Mutates or drop a callback before being added
      Parameters:
      breadcrumb - the breadcrumb
      hint - the hints, usually the source of the breadcrumb
      Returns:
      the original breadcrumb or the mutated breadcrumb of null if breadcrumb was dropped