public interface PerformanceTimeline
| Modifier and Type | Method and Description |
|---|---|
void |
enable(List<String> eventTypes)
Previously buffered events would be reported before method returns.
|
EventListener |
onTimelineEventAdded(EventHandler<TimelineEventAdded> eventListener)
Sent when a performance timeline event is added.
|
void enable(List<String> eventTypes)
eventTypes - The types of event to report, as specified in
https://w3c.github.io/performance-timeline/#dom-performanceentry-entrytype The specified
filter overrides any previous filters, passing empty filter disables recording. Note that
not all types exposed to the web platform are currently supported.EventListener onTimelineEventAdded(EventHandler<TimelineEventAdded> eventListener)
Copyright © 2021 Kenan Klisura. All rights reserved.