Package 

Class AnrIntegration

  • All Implemented Interfaces:
    io.sentry.Integration , java.io.Closeable , java.lang.AutoCloseable

    
    public final class AnrIntegration
     implements Integration, Closeable
                        

    When the UI thread of an Android app is blocked for too long, an "Application Not Responding" (ANR) error is triggered. Sends an event if an ANR happens

    • Method Summary

      Modifier and Type Method Description
      final void register(@NotNull() IScopes scopes, @NotNull() SentryOptions options)
      void close()
      • Methods inherited from class io.sentry.Integration

        register
      • Methods inherited from class java.io.Closeable

        close
      • Methods inherited from class java.lang.Object

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

      • AnrIntegration

        AnrIntegration(Context context)
    • Method Detail

      • register

         final void register(@NotNull() IScopes scopes, @NotNull() SentryOptions options)