Package 

Class SentryAndroid

    • Method Summary

      Modifier and Type Method Description
      static void init(@NotNull() Context context) Sentry initialization method if auto-init is disabled
      static void init(@NotNull() Context context, @NotNull() ILogger logger) Sentry initialization with a custom logger
      static void init(@NotNull() Context context, @NotNull() Sentry.OptionsConfiguration<SentryAndroidOptions> configuration) Sentry initialization with a configuration handler that may override the default options
      static void init(@NotNull() Context context, @NotNull() ILogger logger, @NotNull() Sentry.OptionsConfiguration<SentryAndroidOptions> configuration) Sentry initialization with a configuration handler and custom logger
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • init

         static void init(@NotNull() Context context)

        Sentry initialization method if auto-init is disabled

        Parameters:
        context - Application.
      • init

         static void init(@NotNull() Context context, @NotNull() ILogger logger)

        Sentry initialization with a custom logger

        Parameters:
        context - Application.
        logger - your custom logger that implements ILogger
      • init

         static void init(@NotNull() Context context, @NotNull() Sentry.OptionsConfiguration<SentryAndroidOptions> configuration)

        Sentry initialization with a configuration handler that may override the default options

        Parameters:
        context - Application.
        configuration - Sentry.
      • init

         static void init(@NotNull() Context context, @NotNull() ILogger logger, @NotNull() Sentry.OptionsConfiguration<SentryAndroidOptions> configuration)

        Sentry initialization with a configuration handler and custom logger

        Parameters:
        context - Application.
        logger - your custom logger that implements ILogger
        configuration - Sentry.