-
public final class ViewEvent.ViewView properties View properties
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classViewEvent.View.Companion
-
Field Summary
-
Constructor Summary
Constructors Constructor Description ViewEvent.View(String id, String referrer, String url, String name, Long loadingTime, ViewEvent.LoadingType loadingType, Long timeSpent, Long firstContentfulPaint, Long largestContentfulPaint, Long firstInputDelay, Long firstInputTime, Number cumulativeLayoutShift, 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, ViewEvent.Resource resource, ViewEvent.Frustration frustration, List<ViewEvent.InForegroundPeriod> inForegroundPeriods, Number memoryAverage, Number memoryMax, Number cpuTicksCount, Number cpuTicksPerSecond, Number refreshRateAverage, Number refreshRateMin, ViewEvent.FlutterBuildTime flutterBuildTime, ViewEvent.FlutterBuildTime flutterRasterTime, ViewEvent.FlutterBuildTime jsRefreshRate)
-
Method Summary
-
-
Constructor Detail
-
ViewEvent.View
ViewEvent.View(String id, String referrer, String url, String name, Long loadingTime, ViewEvent.LoadingType loadingType, Long timeSpent, Long firstContentfulPaint, Long largestContentfulPaint, Long firstInputDelay, Long firstInputTime, Number cumulativeLayoutShift, 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, ViewEvent.Resource resource, ViewEvent.Frustration frustration, List<ViewEvent.InForegroundPeriod> inForegroundPeriods, Number memoryAverage, Number memoryMax, Number cpuTicksCount, Number cpuTicksPerSecond, Number refreshRateAverage, Number refreshRateMin, ViewEvent.FlutterBuildTime flutterBuildTime, ViewEvent.FlutterBuildTime flutterRasterTime, ViewEvent.FlutterBuildTime jsRefreshRate)
- 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 loadedloadingType- Type of the loading of the viewtimeSpent- Time spent on the view in nsfirstContentfulPaint- Duration in ns to the first renderinglargestContentfulPaint- Duration in ns to the largest contentful paintfirstInputDelay- Duration in ns of the first input event delayfirstInputTime- Duration in ns to the first inputcumulativeLayoutShift- Total layout shift score that occurred on the viewdomComplete- 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 viewresource- 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)flutterBuildTime- Schema of properties for a technical performance metricflutterRasterTime- Schema of properties for a technical performance metricjsRefreshRate- Schema of properties for a technical performance metric
-
-
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()
-
getLoadingType
final ViewEvent.LoadingType getLoadingType()
-
getTimeSpent
final Long getTimeSpent()
-
getFirstContentfulPaint
final Long getFirstContentfulPaint()
-
getLargestContentfulPaint
final Long getLargestContentfulPaint()
-
getFirstInputDelay
final Long getFirstInputDelay()
-
getFirstInputTime
final Long getFirstInputTime()
-
getCumulativeLayoutShift
final Number getCumulativeLayoutShift()
-
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()
-
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()
-
getFlutterBuildTime
final ViewEvent.FlutterBuildTime getFlutterBuildTime()
-
getFlutterRasterTime
final ViewEvent.FlutterBuildTime getFlutterRasterTime()
-
getJsRefreshRate
final ViewEvent.FlutterBuildTime getJsRefreshRate()
-
toJson
final JsonElement toJson()
-
-
-
-