android-components / org.mozilla.telemetry.measurement / LocaleMeasurement

LocaleMeasurement

open class LocaleMeasurement : TelemetryMeasurement (source)

Constructors

Name Summary
<init> LocaleMeasurement()

Functions

Name Summary
flush open fun flush(): Any
getLanguageTag open fun getLanguageTag(locale: Locale): String
Gecko uses locale codes like “es-ES”, whereas a Java Locale stringifies as “es_ES”. This method approximates the Java 7 method Locale#toLanguageTag().

Inherited Functions

Name Summary
getFieldName open fun getFieldName(): String