ReportingObserver
open class ReportingObserver(callback: ReportingObserverCallback, options: ReportingObserverOptions = definedExternally)(source)
The ReportingObserver
interface of the Reporting API allows you to collect and access reports.
Constructors
Link copied to clipboard
constructor(callback: ReportingObserverCallback, options: ReportingObserverOptions = definedExternally)
Functions
Link copied to clipboard
The disconnect()
method of the ReportingObserver interface stops a reporting observer that had previously started observing from collecting reports.
Link copied to clipboard
The takeRecords()
method of the ReportingObserver interface returns the current list of reports contained in the observer's report queue, and empties the queue.