-
- All Implemented Interfaces:
-
android.os.Parcelable,java.lang.Comparable
@RestrictTo(value = RestrictTo.Scope.LIBRARY_GROUP) public final class CountryInfo implements Comparable<CountryInfo>, Parcelable
-
-
Field Summary
Fields Modifier and Type Field Description public final static Parcelable.Creator<CountryInfo>CREATOR
-
Constructor Summary
Constructors Constructor Description CountryInfo(Locale locale, int countryCode)
-
Method Summary
Modifier and Type Method Description static StringlocaleToEmoji(Locale locale)LocalegetLocale()intgetCountryCode()booleanequals(Object o)inthashCode()StringtoString()StringtoShortString()intcompareTo(CountryInfo info)intdescribeContents()voidwriteToParcel(Parcel dest, int flags)-
-
Constructor Detail
-
CountryInfo
CountryInfo(Locale locale, int countryCode)
-
-
Method Detail
-
localeToEmoji
static String localeToEmoji(Locale locale)
-
getCountryCode
int getCountryCode()
-
hashCode
int hashCode()
-
toShortString
String toShortString()
-
compareTo
int compareTo(CountryInfo info)
-
describeContents
int describeContents()
-
writeToParcel
void writeToParcel(Parcel dest, int flags)
-
-
-
-