data class TimelineEvent
<init> |
TimelineEvent(frameId: FrameId, type: String, name: String, time: TimeSinceEpoch, duration: Double? = null, lcpDetails: LargestContentfulPaint? = null, layoutShiftDetails: LayoutShift? = null) |
duration |
Event duration, if applicable. val duration: Double? |
frameId |
Identifies the frame that this event is related to. Empty for non-frame targets. val frameId: FrameId |
layoutShiftDetails |
val layoutShiftDetails: LayoutShift? |
lcpDetails |
val lcpDetails: LargestContentfulPaint? |
name |
Name may be empty depending on the type. val name: String |
time |
Time in seconds since Epoch, monotonically increasing within document lifetime. val time: TimeSinceEpoch |
type |
The event type, as specified in https://w3c.github.io/performance-timeline/#dom-performanceentry-entrytype This determines which of the optional "details" fiedls is present. val type: String |