Package it.tdlight.jni
Class TdApi.CountryInfo
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.CountryInfo
- Enclosing class:
- TdApi
public static class TdApi.CountryInfo extends TdApi.Object
Contains information about a country.
-
Field Summary
Fields Modifier and Type Field Description String[]
callingCodes
List of country calling codes.static int
CONSTRUCTOR
String
countryCode
A two-letter ISO 3166-1 alpha-2 country code.String
englishName
English name of the country.boolean
isHidden
True, if the country should be hidden from the list of all countries.String
name
Native name of the country. -
Constructor Summary
Constructors Constructor Description CountryInfo()
Contains information about a country.CountryInfo(DataInput input)
CountryInfo(String countryCode, String name, String englishName, boolean isHidden, String[] callingCodes)
Contains information about a country. -
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutputStream output)
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
countryCode
A two-letter ISO 3166-1 alpha-2 country code. -
name
Native name of the country. -
englishName
English name of the country. -
isHidden
public boolean isHiddenTrue, if the country should be hidden from the list of all countries. -
callingCodes
List of country calling codes. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
CountryInfo
public CountryInfo()Contains information about a country. -
CountryInfo
public CountryInfo(String countryCode, String name, String englishName, boolean isHidden, String[] callingCodes)Contains information about a country.- Parameters:
countryCode
- String A two-letter ISO 3166-1 alpha-2 country code.name
- String Native name of the country.englishName
- String English name of the country.isHidden
- boolean True, if the country should be hidden from the list of all countries.callingCodes
- String[] List of country calling codes.
-
CountryInfo
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-