-
public final class ErrorEvent.ProfilingRUM Profiler Internal Context schema
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classErrorEvent.Profiling.Companion
-
Field Summary
Fields Modifier and Type Field Description private final ErrorEvent.ProfilingStatusstatusprivate final ErrorEvent.ErrorReasonerrorReasonprivate final StringquotaReasonprivate final NumberclockDrift
-
Constructor Summary
Constructors Constructor Description ErrorEvent.Profiling(ErrorEvent.ProfilingStatus status, ErrorEvent.ErrorReason errorReason, String quotaReason, Number clockDrift)
-
Method Summary
Modifier and Type Method Description final ErrorEvent.ProfilingStatusgetStatus()final ErrorEvent.ErrorReasongetErrorReason()final StringgetQuotaReason()final NumbergetClockDrift()final JsonElementtoJson()-
-
Constructor Detail
-
ErrorEvent.Profiling
ErrorEvent.Profiling(ErrorEvent.ProfilingStatus status, ErrorEvent.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 ErrorEvent.ProfilingStatus getStatus()
-
getErrorReason
final ErrorEvent.ErrorReason getErrorReason()
-
getQuotaReason
final String getQuotaReason()
-
getClockDrift
final Number getClockDrift()
-
toJson
final JsonElement toJson()
-
-
-
-