getDefaultUnitSystem

fun getDefaultUnitSystem(locale: Locale? = null): UnitSystem

Returns preferred system of measurement based on provided locale. If locale is not provided then default locale is used Locale.getDefault()