@Generated(value="org.realityforge.webtack")
@JsType(isNative=true,
namespace="<global>",
name="PerformanceObserver")
public class PerformanceObserver
extends JsObject
| Constructor and Description |
|---|
PerformanceObserver(PerformanceObserverCallback callback)
The PerformanceObserver() constructor creates a new PerformanceObserver object with the given observer callback.
|
| Modifier and Type | Method and Description |
|---|---|
void |
disconnect()
The disconnect() method of the PerformanceObserver interface is used to stop the performance observer from receiving any performance entry events.
|
void |
observe()
The observe() method of the PerformanceObserver interface is used to specify the set of performance entry types to observe.
|
void |
observe(PerformanceObserverInit options)
The observe() method of the PerformanceObserver interface is used to specify the set of performance entry types to observe.
|
static JsArray<java.lang.String> |
supportedEntryTypes() |
@JsNonNull JsArray<PerformanceEntry> |
takeRecords()
The takeRecords() method of the PerformanceObserver interface returns the current list of performance entries stored in the performance observer, emptying it out.
|
assign, create, create, defineProperties, defineProperty, defineProperty, entries, freeze, fromEntries, getOwnPropertyDescriptor, getOwnPropertyDescriptor, getOwnPropertyDescriptors, getOwnPropertyNames, getOwnPropertySymbols, getPrototypeOf, hasOwnProperty, hasOwnProperty, is, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, preventExtensions, propertyIsEnumerable, seal, setPrototypeOf, toString_, valueOf_, valuespublic PerformanceObserver(@Nonnull
PerformanceObserverCallback callback)
@JsProperty(name="supportedEntryTypes") @Nonnull public static JsArray<java.lang.String> supportedEntryTypes()
public void disconnect()
public void observe(@Nonnull
PerformanceObserverInit options)
public void observe()
public @JsNonNull JsArray<PerformanceEntry> takeRecords()