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

# LocaleMeasurement

`open class LocaleMeasurement : TelemetryMeasurement` (source)

### Constructors

<init> | `LocaleMeasurement()`

### Functions

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

getFieldName | `open fun getFieldName(): String`