MetricsReporter

interface MetricsReporter

Defines API for handling metric events.

Functions

Link copied to clipboard
abstract fun addEvent(metricEvent: MetricEvent)

Adds an event to the metrics reporter when this event occurs.

Link copied to clipboard
abstract fun removeObserver()

Remove metrics observer

Link copied to clipboard
abstract fun setMetricsObserver(metricsObserver: MetricsObserver)

Adds an observer that will be triggered when a metric event is handled