public interface MetricUpdateListener extends CollectUpdateListener
Tealium.Config.getEventListeners()
Modifier and Type | Method and Description |
---|---|
void |
onMetricUpdate(MetricAttribute oldMetric,
MetricAttribute newMetric)
Indicate that a Metric has changed for this visitor.
|
void onMetricUpdate(MetricAttribute oldMetric, MetricAttribute newMetric)
oldMetric
- former metric this visitor held with the old value. If null, the
newMetric was added.newMetric
- current metric this visitor holds with the latest value.