Class ActivityLifecycleConfiguration
-
- All Implemented Interfaces:
-
io.opentelemetry.android.agent.dsl.instrumentation.CanBeEnabledAndDisabled,io.opentelemetry.android.agent.dsl.instrumentation.ScreenLifecycleConfigurable
public final class ActivityLifecycleConfiguration implements ScreenLifecycleConfigurable, CanBeEnabledAndDisabledType-safe config DSL that controls how activity lifecycle instrumentation should behave.
-
-
Method Summary
Modifier and Type Method Description UnittracerCustomizer(Function1<Tracer, Tracer> value)Sets a function that can be used to customize the trace. UnitscreenNameExtractor(ScreenNameExtractor value)Defines how screen names should be extracted. Unitenabled(Boolean enabled)Controls whether this feature is enabled or not. -
-
Method Detail
-
tracerCustomizer
Unit tracerCustomizer(Function1<Tracer, Tracer> value)
Sets a function that can be used to customize the trace.
-
screenNameExtractor
Unit screenNameExtractor(ScreenNameExtractor value)
Defines how screen names should be extracted.
-
-
-
-