-
public final class ViewEvent.ViewEventViewView properties View properties
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classViewEvent.ViewEventView.Companion
-
Field Summary
-
Constructor Summary
Constructors Constructor Description ViewEvent.ViewEventView(String id, String referrer, String url, String name, Long loadingTime, Long networkSettledTime, Long interactionToNextViewTime, ViewEvent.LoadingType loadingType, Long timeSpent, Long firstContentfulPaint, Long largestContentfulPaint, String largestContentfulPaintTargetSelector, Long firstInputDelay, Long firstInputTime, String firstInputTargetSelector, Long interactionToNextPaint, Long interactionToNextPaintTime, String interactionToNextPaintTargetSelector, Number cumulativeLayoutShift, Long cumulativeLayoutShiftTime, String cumulativeLayoutShiftTargetSelector, Long domComplete, Long domContentLoaded, Long domInteractive, Long loadEvent, Long firstByte, ViewEvent.CustomTimings customTimings, Boolean isActive, Boolean isSlowRendered, ViewEvent.Action action, ViewEvent.Error error, ViewEvent.Crash crash, ViewEvent.LongTask longTask, ViewEvent.FrozenFrame frozenFrame, List<ViewEvent.SlowFrame> slowFrames, ViewEvent.Resource resource, ViewEvent.Frustration frustration, List<ViewEvent.InForegroundPeriod> inForegroundPeriods, Number memoryAverage, Number memoryMax, Number cpuTicksCount, Number cpuTicksPerSecond, Number refreshRateAverage, Number refreshRateMin, Number slowFramesRate, Number freezeRate, ViewEvent.FlutterBuildTime flutterBuildTime, ViewEvent.FlutterBuildTime flutterRasterTime, ViewEvent.FlutterBuildTime jsRefreshRate, ViewEvent.Performance performance, ViewEvent.Accessibility accessibility)
-
Method Summary
-
-
Constructor Detail
-
ViewEvent.ViewEventView
ViewEvent.ViewEventView(String id, String referrer, String url, String name, Long loadingTime, Long networkSettledTime, Long interactionToNextViewTime, ViewEvent.LoadingType loadingType, Long timeSpent, Long firstContentfulPaint, Long largestContentfulPaint, String largestContentfulPaintTargetSelector, Long firstInputDelay, Long firstInputTime, String firstInputTargetSelector, Long interactionToNextPaint, Long interactionToNextPaintTime, String interactionToNextPaintTargetSelector, Number cumulativeLayoutShift, Long cumulativeLayoutShiftTime, String cumulativeLayoutShiftTargetSelector, Long domComplete, Long domContentLoaded, Long domInteractive, Long loadEvent, Long firstByte, ViewEvent.CustomTimings customTimings, Boolean isActive, Boolean isSlowRendered, ViewEvent.Action action, ViewEvent.Error error, ViewEvent.Crash crash, ViewEvent.LongTask longTask, ViewEvent.FrozenFrame frozenFrame, List<ViewEvent.SlowFrame> slowFrames, ViewEvent.Resource resource, ViewEvent.Frustration frustration, List<ViewEvent.InForegroundPeriod> inForegroundPeriods, Number memoryAverage, Number memoryMax, Number cpuTicksCount, Number cpuTicksPerSecond, Number refreshRateAverage, Number refreshRateMin, Number slowFramesRate, Number freezeRate, ViewEvent.FlutterBuildTime flutterBuildTime, ViewEvent.FlutterBuildTime flutterRasterTime, ViewEvent.FlutterBuildTime jsRefreshRate, ViewEvent.Performance performance, ViewEvent.Accessibility accessibility)
- Parameters:
id- UUID of the viewreferrer- URL that linked to the initial view of the pageurl- URL of the viewname- User defined name of the viewloadingTime- Duration in ns to the view is considered loadednetworkSettledTime- Duration in ns from the moment the view was started until all the initial network requests settledinteractionToNextViewTime- Duration in ns to from the last interaction on previous view to the moment the current view was displayedloadingType- Type of the loading of the viewtimeSpent- Time spent on the view in nsfirstContentfulPaint- Duration in ns to the first rendering (deprecated in favor ofview.performance.fcp.timestamp)largestContentfulPaint- Duration in ns to the largest contentful paint (deprecated in favor ofview.performance.lcp.timestamp)largestContentfulPaintTargetSelector- CSS selector path of the largest contentful paint element (deprecated in favor ofview.performance.lcp.target_selector)firstInputDelay- Duration in ns of the first input event delay (deprecated in favor ofview.performance.fid.duration)firstInputTime- Duration in ns to the first input (deprecated in favor ofview.performance.fid.timestamp)firstInputTargetSelector- CSS selector path of the first input target element (deprecated in favor ofview.performance.fid.target_selector)interactionToNextPaint- Longest duration in ns between an interaction and the next paint (deprecated in favor ofview.performance.inp.duration)interactionToNextPaintTime- Duration in ns between start of the view and start of the INP (deprecated in favor ofview.performance.inp.timestamp)interactionToNextPaintTargetSelector- CSS selector path of the interacted element corresponding to INP (deprecated in favor ofview.performance.inp.target_selector)cumulativeLayoutShift- Total layout shift score that occurred on the view (deprecated in favor ofview.performance.cls.score)cumulativeLayoutShiftTime- Duration in ns between start of the view and start of the largest layout shift contributing to CLS (deprecated in favor ofview.performance.cls.timestamp)cumulativeLayoutShiftTargetSelector- CSS selector path of the first element (in document order) of the largest layout shift contributing to CLS (deprecated in favor ofview.performance.cls.target_selector)domComplete- Duration in ns to the complete parsing and loading of the document and its sub resourcesdomContentLoaded- Duration in ns to the complete parsing and loading of the document without its sub resourcesdomInteractive- Duration in ns to the end of the parsing of the documentloadEvent- Duration in ns to the end of the load event handler executionfirstByte- Duration in ns to the response start of the document requestcustomTimings- User custom timings of the view.isActive- Whether the View corresponding to this event is considered activeisSlowRendered- Whether the View had a low average refresh rateaction- Properties of the actions of the viewerror- Properties of the errors of the viewcrash- Properties of the crashes of the viewlongTask- Properties of the long tasks of the viewfrozenFrame- Properties of the frozen frames of the viewslowFrames- List of slow frames during the view’s lifetimeresource- Properties of the resources of the viewfrustration- Properties of the frustrations of the viewinForegroundPeriods- List of the periods of time the user had the view in foreground (focused in the browser)memoryAverage- Average memory used during the view lifetime (in bytes)memoryMax- Peak memory used during the view lifetime (in bytes)cpuTicksCount- Total number of cpu ticks during the view’s lifetimecpuTicksPerSecond- Average number of cpu ticks per second during the view’s lifetimerefreshRateAverage- Average refresh rate during the view’s lifetime (in frames per second)refreshRateMin- Minimum refresh rate during the view’s lifetime (in frames per second)slowFramesRate- Rate of slow frames during the view’s lifetime (in milliseconds per second)freezeRate- Rate of freezes during the view’s lifetime (in seconds per hour)flutterBuildTime- Schema of properties for a technical performance metricflutterRasterTime- Schema of properties for a technical performance metricjsRefreshRate- Schema of properties for a technical performance metricperformance- Schema for view-level RUM performance data (Web Vitals, etc.accessibility- Compact representation of accessibility features for a view
-
-
Method Detail
-
getReferrer
final String getReferrer()
-
setReferrer
final Unit setReferrer(String referrer)
- Parameters:
referrer- URL that linked to the initial view of the page
-
getLoadingTime
final Long getLoadingTime()
-
getNetworkSettledTime
final Long getNetworkSettledTime()
-
getInteractionToNextViewTime
final Long getInteractionToNextViewTime()
-
getLoadingType
final ViewEvent.LoadingType getLoadingType()
-
getTimeSpent
final Long getTimeSpent()
-
getFirstContentfulPaint
final Long getFirstContentfulPaint()
-
getLargestContentfulPaint
final Long getLargestContentfulPaint()
-
getLargestContentfulPaintTargetSelector
final String getLargestContentfulPaintTargetSelector()
-
getFirstInputDelay
final Long getFirstInputDelay()
-
getFirstInputTime
final Long getFirstInputTime()
-
getFirstInputTargetSelector
final String getFirstInputTargetSelector()
-
getInteractionToNextPaint
final Long getInteractionToNextPaint()
-
getInteractionToNextPaintTime
final Long getInteractionToNextPaintTime()
-
getInteractionToNextPaintTargetSelector
final String getInteractionToNextPaintTargetSelector()
-
getCumulativeLayoutShift
final Number getCumulativeLayoutShift()
-
getCumulativeLayoutShiftTime
final Long getCumulativeLayoutShiftTime()
-
getCumulativeLayoutShiftTargetSelector
final String getCumulativeLayoutShiftTargetSelector()
-
getDomComplete
final Long getDomComplete()
-
getDomContentLoaded
final Long getDomContentLoaded()
-
getDomInteractive
final Long getDomInteractive()
-
getLoadEvent
final Long getLoadEvent()
-
getFirstByte
final Long getFirstByte()
-
getCustomTimings
final ViewEvent.CustomTimings getCustomTimings()
-
getIsActive
final Boolean getIsActive()
-
getIsSlowRendered
final Boolean getIsSlowRendered()
-
getAction
final ViewEvent.Action getAction()
-
getError
final ViewEvent.Error getError()
-
getCrash
final ViewEvent.Crash getCrash()
-
getLongTask
final ViewEvent.LongTask getLongTask()
-
getFrozenFrame
final ViewEvent.FrozenFrame getFrozenFrame()
-
getSlowFrames
final List<ViewEvent.SlowFrame> getSlowFrames()
-
getResource
final ViewEvent.Resource getResource()
-
getFrustration
final ViewEvent.Frustration getFrustration()
-
getInForegroundPeriods
final List<ViewEvent.InForegroundPeriod> getInForegroundPeriods()
-
getMemoryAverage
final Number getMemoryAverage()
-
getMemoryMax
final Number getMemoryMax()
-
getCpuTicksCount
final Number getCpuTicksCount()
-
getCpuTicksPerSecond
final Number getCpuTicksPerSecond()
-
getRefreshRateAverage
final Number getRefreshRateAverage()
-
getRefreshRateMin
final Number getRefreshRateMin()
-
getSlowFramesRate
final Number getSlowFramesRate()
-
getFreezeRate
final Number getFreezeRate()
-
getFlutterBuildTime
final ViewEvent.FlutterBuildTime getFlutterBuildTime()
-
getFlutterRasterTime
final ViewEvent.FlutterBuildTime getFlutterRasterTime()
-
getJsRefreshRate
final ViewEvent.FlutterBuildTime getJsRefreshRate()
-
getPerformance
final ViewEvent.Performance getPerformance()
-
getAccessibility
final ViewEvent.Accessibility getAccessibility()
-
toJson
final JsonElement toJson()
-
-
-
-