public class TimelineEvent extends Object
| Constructor and Description |
|---|
TimelineEvent() |
| Modifier and Type | Method and Description |
|---|---|
Double |
getDuration()
Event duration, if applicable.
|
String |
getFrameId()
Identifies the frame that this event is related to.
|
LayoutShift |
getLayoutShiftDetails() |
LargestContentfulPaint |
getLcpDetails() |
String |
getName()
Name may be empty depending on the type.
|
Double |
getTime()
Time in seconds since Epoch, monotonically increasing within document lifetime.
|
String |
getType()
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.
|
void |
setDuration(Double duration)
Event duration, if applicable.
|
void |
setFrameId(String frameId)
Identifies the frame that this event is related to.
|
void |
setLayoutShiftDetails(LayoutShift layoutShiftDetails) |
void |
setLcpDetails(LargestContentfulPaint lcpDetails) |
void |
setName(String name)
Name may be empty depending on the type.
|
void |
setTime(Double time)
Time in seconds since Epoch, monotonically increasing within document lifetime.
|
void |
setType(String 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.
|
public String getFrameId()
public void setFrameId(String frameId)
public String getType()
public void setType(String type)
public String getName()
public void setName(String name)
public Double getTime()
public void setTime(Double time)
public Double getDuration()
public void setDuration(Double duration)
public LargestContentfulPaint getLcpDetails()
public void setLcpDetails(LargestContentfulPaint lcpDetails)
public LayoutShift getLayoutShiftDetails()
public void setLayoutShiftDetails(LayoutShift layoutShiftDetails)
Copyright © 2021 Kenan Klisura. All rights reserved.