android-components / mozilla.components.service.glean / UuidMetricType / generateAndSet

generateAndSet

fun generateAndSet(): UUID? (source)

Generate a new UUID value and set it in the metric store.

Return
a UUID or null if we're not allowed to record.