Class TimelineEvent

java.lang.Object
io.webfolder.cdp.type.performancetimeline.TimelineEvent

public class TimelineEvent extends Object
  • Constructor Details

    • TimelineEvent

      public TimelineEvent()
  • Method Details

    • getFrameId

      public String getFrameId()
      Identifies the frame that this event is related to. Empty for non-frame targets.
    • setFrameId

      public void setFrameId(String frameId)
      Identifies the frame that this event is related to. Empty for non-frame targets.
    • getType

      public 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.
    • setType

      public 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.
    • getName

      public String getName()
      Name may be empty depending on the type.
    • setName

      public void setName(String name)
      Name may be empty depending on the type.
    • getTime

      public Double getTime()
      Time in seconds since Epoch, monotonically increasing within document lifetime.
    • setTime

      public void setTime(Double time)
      Time in seconds since Epoch, monotonically increasing within document lifetime.
    • getDuration

      public Double getDuration()
      Event duration, if applicable.
    • setDuration

      public void setDuration(Double duration)
      Event duration, if applicable.
    • getLcpDetails

      public LargestContentfulPaint getLcpDetails()
    • setLcpDetails

      public void setLcpDetails(LargestContentfulPaint lcpDetails)
    • getLayoutShiftDetails

      public LayoutShift getLayoutShiftDetails()
    • setLayoutShiftDetails

      public void setLayoutShiftDetails(LayoutShift layoutShiftDetails)
    • toString

      public String toString()
      Overrides:
      toString in class Object