Package com.firebase.ui.auth.data.model
Class CountryInfo
- java.lang.Object
-
- com.firebase.ui.auth.data.model.CountryInfo
-
- All Implemented Interfaces:
Parcelable,Comparable<CountryInfo>
public final class CountryInfo extends Object implements Comparable<CountryInfo>, Parcelable
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface android.os.Parcelable
Parcelable.ClassLoaderCreator<T extends Object>, Parcelable.Creator<T extends Object>
-
-
Field Summary
Fields Modifier and Type Field Description static Parcelable.Creator<CountryInfo>CREATOR-
Fields inherited from interface android.os.Parcelable
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedCountryInfo(Parcel in)CountryInfo(Locale locale, int countryCode)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(CountryInfo info)intdescribeContents()booleanequals(Object o)intgetCountryCode()LocalegetLocale()inthashCode()static StringlocaleToEmoji(Locale locale)StringtoShortString()StringtoString()voidwriteToParcel(Parcel dest, int flags)
-
-
-
Field Detail
-
CREATOR
public static final Parcelable.Creator<CountryInfo> CREATOR
-
-
Method Detail
-
getLocale
public Locale getLocale()
-
getCountryCode
public int getCountryCode()
-
toShortString
public String toShortString()
-
compareTo
public int compareTo(CountryInfo info)
- Specified by:
compareToin interfaceComparable<CountryInfo>
-
describeContents
public int describeContents()
- Specified by:
describeContentsin interfaceParcelable
-
writeToParcel
public void writeToParcel(Parcel dest, int flags)
- Specified by:
writeToParcelin interfaceParcelable
-
-