TinyBase logoTinyBase

Listener methods

addMetricIdsListener

The addMetricIdsListener method registers a listener function with the Metrics object that will be called whenever a Metric definition is added or removed. Read more.

addMetricListener

The addMetricListener method registers a listener function with the Metrics object that will be called whenever the value of a specified Metric changes. Read more.

delListener

The delListener method removes a listener that was previously added to the Metrics object. Read more.