Class ThermalInstrumentation

  • All Implemented Interfaces:
    io.opentelemetry.android.instrumentation.AndroidInstrumentation

    @AutoService(value = {AndroidInstrumentation.class}) 
    public final class ThermalInstrumentation
     implements AndroidInstrumentation
                        

    An Android instrumentation module that installs and manages ThermalDetector.

    The underlying thermal status APIs (PowerManager.addThermalStatusListener) are only available on API level 29 (Android Q) and higher, so this instrumentation no-ops on older devices even though the library supports a lower minSdk.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private final String name
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      String getName()
      Unit install(Context context, OpenTelemetryRum openTelemetryRum)
      Unit uninstall(Context context, OpenTelemetryRum openTelemetryRum)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait