-
public final class ViewEvent.ProfilingRUM Profiler Internal Context schema
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classViewEvent.Profiling.Companion
-
Field Summary
Fields Modifier and Type Field Description private final ViewEvent.ProfilingStatusstatusprivate final ViewEvent.ErrorReasonerrorReasonprivate final StringquotaReasonprivate final NumberclockDrift
-
Constructor Summary
Constructors Constructor Description ViewEvent.Profiling(ViewEvent.ProfilingStatus status, ViewEvent.ErrorReason errorReason, String quotaReason, Number clockDrift)
-
Method Summary
Modifier and Type Method Description final ViewEvent.ProfilingStatusgetStatus()final ViewEvent.ErrorReasongetErrorReason()final StringgetQuotaReason()final NumbergetClockDrift()final JsonElementtoJson()-
-
Constructor Detail
-
ViewEvent.Profiling
ViewEvent.Profiling(ViewEvent.ProfilingStatus status, ViewEvent.ErrorReason errorReason, String quotaReason, Number clockDrift)
- Parameters:
status- Used to track the status of the RUM Profiler.errorReason- The reason the Profiler encountered an error.quotaReason- The reason profiling was denied by the quota API for this session.clockDrift- The device clock offset relative to the NTP server time in milliseconds at the time the RUM event was recorded (serverTime - deviceTime).
-
-
Method Detail
-
getStatus
final ViewEvent.ProfilingStatus getStatus()
-
getErrorReason
final ViewEvent.ErrorReason getErrorReason()
-
getQuotaReason
final String getQuotaReason()
-
getClockDrift
final Number getClockDrift()
-
toJson
final JsonElement toJson()
-
-
-
-