@Generated(value="org.realityforge.webtack")
@JsType(isNative=true,
namespace="<global>",
name="ReportingObserver")
public class ReportingObserver
extends JsObject
| Constructor and Description |
|---|
ReportingObserver(ReportingObserverCallback callback)
The ReportingObserver() constructor of the Reporting API creates a new ReportingObserver object instance, which can be used to collect and access reports.
|
ReportingObserver(ReportingObserverCallback callback,
ReportingObserverOptions options)
The ReportingObserver() constructor of the Reporting API creates a new ReportingObserver object instance, which can be used to collect and access reports.
|
| Modifier and Type | Method and Description |
|---|---|
void |
disconnect()
The disconnect() method of the ReportingObserver interface stops a reporting observer that had previously started observing from collecting reports.
|
void |
observe()
The observe() method of the ReportingObserver interface instructs a reporting observer to start collecting reports in its report queue.
|
@JsNonNull JsArray<Report> |
takeRecords()
The takeRecords() method of the ReportingObserver interface returns the current list of reports contained in the observer's report queue, and empties the queue.
|
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 ReportingObserver(@Nonnull
ReportingObserverCallback callback,
@Nonnull
ReportingObserverOptions options)
public ReportingObserver(@Nonnull
ReportingObserverCallback callback)
public void disconnect()
public void observe()