Class of android.os · LocaleList.java · Android's reference
public final class LocaleList implements Parcelable
An ordered list of locales, the user's preference first.
public static final Parcelable.Creator<LocaleList> CREATOR sourcepublic LocaleList(Locale... list) sourcepublic static LocaleList getEmptyLocaleList() sourcepublic static LocaleList getDefault() sourcepublic static LocaleList getAdjustedDefault() sourcepublic static void setDefault(LocaleList locales) sourcepublic static LocaleList forLanguageTags(String tags) sourcepublic Locale get(int index) sourcepublic boolean isEmpty() sourcepublic int size() sourcepublic int indexOf(Locale locale) sourcepublic static boolean matchesLanguageAndScript(Locale supported, Locale desired) sourceTrue when the two locales have the same language and the same script, explicit or inferred.
public Locale getFirstMatch(String[] supported) sourcepublic String toLanguageTags() sourcepublic boolean equals(Object o) sourcepublic int hashCode() sourcepublic String toString() sourcepublic int describeContents() sourcepublic void writeToParcel(Parcel dest, int flags) sourceMade from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.