getMetric method

int getMetric(
  1. String name
)

Gets the value of the metric with the given name.

If a metric with the given name doesn't exist, it is NOT created and a 0 is returned.

Implementation

int getMetric(String name) {
  return _delegate.getMetric(name);
}