glean / mozilla.telemetry.glean.private / UuidMetricType / <init>


UuidMetricType(disabled: Boolean, category: String, lifetime: Lifetime, name: String, sendInPings: List<String>)

The public constructor used by automatically generated metrics.

UuidMetricType(handle: Long, disabled: Boolean, sendInPings: List<String>)

This implements the developer facing API for recording UUID metrics.

Instances of this class type are automatically generated by the parsers at build time, allowing developers to record values that were previously registered in the metrics.yaml file.

The UUID API exposes the generateAndSet and set methods.

The internal constructor is only used by LabeledMetricType directly.