-
public final class _RumInternalProxyThis class exposes internal methods that are used by other Datadog modules and cross platform frameworks. It is not meant for public use.
DO NOT USE this class or its methods if you are not working on the internals of the Datadog SDK or one of the cross platform frameworks.
Methods, members, and functionality of this class are subject to change without notice, as they are not considered part of the public interface of the Datadog SDK.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class_RumInternalProxy.Companion
-
Method Summary
Modifier and Type Method Description final UnitaddLongTask(Long durationNs, String target)final UnitupdatePerformanceMetric(RumPerformanceMetric metric, Double value)final UnitupdateExternalRefreshRate(Double frameTimeSeconds)final UnitsetInternalViewAttribute(String key, Object value)final UnitsetSyntheticsAttribute(String testId, String resultId)final UnitenableJankStatsTracking(Activity activity)Enables the tracking of JankStats for the given activity. -
-
Method Detail
-
addLongTask
final Unit addLongTask(Long durationNs, String target)
-
updatePerformanceMetric
final Unit updatePerformanceMetric(RumPerformanceMetric metric, Double value)
-
updateExternalRefreshRate
final Unit updateExternalRefreshRate(Double frameTimeSeconds)
-
setInternalViewAttribute
final Unit setInternalViewAttribute(String key, Object value)
-
setSyntheticsAttribute
final Unit setSyntheticsAttribute(String testId, String resultId)
-
enableJankStatsTracking
final Unit enableJankStatsTracking(Activity activity)
Enables the tracking of JankStats for the given activity. This should only be necessary for the initial activity of an application if Datadog is initialized after that activity is created.
- Parameters:
activity- the activity to track
-
-
-
-