Package io.sentry

Interface SentryOptions.BeforeBreadcrumbCallback

  • Enclosing class:
    SentryOptions

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

      • execute

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