setMetricsObserver

abstract fun setMetricsObserver(metricsObserver: MetricsObserver)

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

Parameters

metricsObserver

the MetricsObserver that is called when a new metric event is triggered