Package io.sentry

Interface Integration

All Superinterfaces:
IntegrationName
All Known Implementing Classes:
SendCachedEnvelopeFireAndForgetIntegration, ShutdownHookIntegration, UncaughtExceptionHandlerIntegration

public interface Integration extends IntegrationName
Code that provides middlewares, bindings or hooks into certain frameworks or environments, along with code that inserts those bindings and activates them.
  • Method Details

    • register

      void register(@NotNull @NotNull IHub hub, @NotNull @NotNull SentryOptions options)
      Registers an integration
      Parameters:
      hub - the Hub
      options - the options