Package 

Interface ViewScopeInstrumentationType

  • All Implemented Interfaces:
    com.datadog.android.internal.attributes.LocalAttribute.Constant

    
    public interface ViewScopeInstrumentationType
     implements LocalAttribute.Constant
                        

    Describes the instrumentation used to define a RUM view scope.

    Supports both native Android instrumentation types (Activity, Fragment, Compose, Manual) and custom types from cross-platform SDKs (Flutter, React Native, Unity, etc.).

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      public enum ViewScopeInstrumentationType.Native

      Native Android instrumentation types tracked by the SDK.

      public final class ViewScopeInstrumentationType.Custom

      Custom instrumentation type for cross-platform SDKs.

      Used when cross-platform frameworks (Flutter, React Native, Unity, etc.) need to report their specific navigation/instrumentation patterns.

    • Method Summary

      Modifier and Type Method Description
      abstract String getValue() The string value sent in telemetry for this instrumentation type.
      abstract LocalAttribute.Key getKey() Constant attribute key.
      • Methods inherited from class java.lang.Object

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

      • getValue

         abstract String getValue()

        The string value sent in telemetry for this instrumentation type.