glean / mozilla.telemetry.glean.private / CounterMetricType / add

add

@JvmOverloads fun add(amount: Int = 1): Unit

Add to counter value.

Parameters

amount - This is the amount to increment the counter by, defaulting to 1 if called without parameters.