Package 

Interface IOtelCrashReporter

    • Method Summary

      Modifier and Type Method Description
      abstract Unit saveCrash(Thread thread, Throwable throwable) Records a fatal, crash-class event on the retained, disk-buffered crash telemetry (Severity.FATAL).
      abstract Unit saveNonFatal(Thread thread, Throwable throwable) Records a non-fatal event on the same retained, disk-buffered crash telemetry, but at Severity.WARN and tagged as non-fatal, so it stays out of any severity-based crash/ANR metric while remaining queryable.
      • Methods inherited from class java.lang.Object

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

      • saveCrash

         abstract Unit saveCrash(Thread thread, Throwable throwable)

        Records a fatal, crash-class event on the retained, disk-buffered crash telemetry (Severity.FATAL). Use for real crashes and foreground ANRs.

      • saveNonFatal

         abstract Unit saveNonFatal(Thread thread, Throwable throwable)

        Records a non-fatal event on the same retained, disk-buffered crash telemetry, but at Severity.WARN and tagged as non-fatal, so it stays out of any severity-based crash/ANR metric while remaining queryable. Use for backgrounded main-thread blocks and other retained warnings that are not user-visible crashes.