android-components / mozilla.components.service.glean.storages / GenericScalarStorageEngine / recordScalar

recordScalar

protected fun recordScalar(metricData: CommonMetricData, value: ScalarType): Unit (source)

Helper function for the derived classes. It can be used to record simple scalars to the internal storage.