getBestLocale

fun <T> Map<String, T>?.getBestLocale(localeList: LocaleListCompat): T?

Gets the best localization for the given localeList from collections like LocalizedTextV2, LocalizedFileV2, or LocalizedFileListV2.