@Generated(value="org.realityforge.webtack")
@JsType(isNative=true,
namespace="<global>",
name="ReportingObserver")
public class ReportingObserver
extends java.lang.Object
| 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.
|
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.
|
public ReportingObserver(@Nonnull
ReportingObserverCallback callback,
@Nonnull
ReportingObserverOptions options)
public ReportingObserver(@Nonnull
ReportingObserverCallback callback)
public void disconnect()
public void observe()