setMetric abstract method

void setMetric(
  1. String name,
  2. int value
)

Sets a metric with a specific name and value.

Implementation

void setMetric(String name, int value);