glean / mozilla.telemetry.glean.private / EventMetricType / record

record

@JvmOverloads fun record(extra: Map<ExtraKeysEnum, String>? = null): Unit

Record an event by using the information provided by the instance of this class.

Parameters

extra - optional. This is a map, both keys and values need to be strings, keys are identifiers. This is used for events where additional richer context is needed. The maximum length for values is 100 bytes.