enable
suspend fun enable(args: PerformanceTimeline.EnableParameter, mode: CommandMode = CommandMode.DEFAULT)
Previously buffered events would be reported before method returns. See also: timelineEventAdded
Previously buffered events would be reported before method returns. See also: timelineEventAdded
Parameters
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.