MetricsReporter

interface MetricsReporter

Defines API for handling metric events.

Functions

addEvent
Link copied to clipboard
abstract fun addEvent(metricEvent: MetricEvent)
Adds an event to the metrics reporter when this event occurs.
equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open fun hashCode(): Int
removeObserver
Link copied to clipboard
abstract fun removeObserver()
Remove metrics observer
setMetricsObserver
Link copied to clipboard
abstract fun setMetricsObserver(metricsObserver: MetricsObserver)
Adds an observer that will be triggered when a metric event is handled
toString
Link copied to clipboard
open fun toString(): String