public class YotiLocaleListCompat
extends java.lang.Object
| Constructor and Description |
|---|
YotiLocaleListCompat(androidx.core.os.LocaleListCompat localeListCompat) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Locale |
getFirstMatch(java.lang.String[] supportedLocales)
This is just a proxy to
LocaleListCompat.getFirstMatch(String[]) |
public YotiLocaleListCompat(@NonNull
androidx.core.os.LocaleListCompat localeListCompat)
@Nullable
public java.util.Locale getFirstMatch(@NonNull
java.lang.String[] supportedLocales)
LocaleListCompat.getFirstMatch(String[])supportedLocales - - the list of string representation of Locale as
returned by Locale.toString()Locale if a match is found null otherwise.