-
public final class ProfilerEvent.RumAnrEvent extends ProfilerEvent
Sent by the RUM feature to the profiling feature whenever an ANR is detected.
-
-
Field Summary
Fields Modifier and Type Field Description private final Stringidprivate final LongstartMsprivate final LongdurationNsprivate final ProfilingRumContextrumContext
-
Constructor Summary
Constructors Constructor Description ProfilerEvent.RumAnrEvent(String id, Long startMs, Long durationNs, ProfilingRumContext rumContext)
-
Method Summary
Modifier and Type Method Description final StringgetId()final LonggetStartMs()final LonggetDurationNs()final ProfilingRumContextgetRumContext()-
-
Constructor Detail
-
ProfilerEvent.RumAnrEvent
ProfilerEvent.RumAnrEvent(String id, Long startMs, Long durationNs, ProfilingRumContext rumContext)
- Parameters:
id- The ID of the corresponding RUM error event.startMs- Start timestamp in milliseconds since epoch (server time-adjusted).durationNs- Duration of the ANR in nanoseconds.rumContext- RUM context at the time of the ANR.
-
-
Method Detail
-
getStartMs
final Long getStartMs()
-
getDurationNs
final Long getDurationNs()
-
getRumContext
final ProfilingRumContext getRumContext()
-
-
-
-