Class Country
- java.lang.Object
-
- com.facebook.openwifi.cloudsdk.ies.Country
-
public class Country extends Object
This information element (IE) appears in wifiscan entries. Refer to the 802.11 specification (section 9.4.2.8) for more details. Language in javadocs is taken from the specification.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Country.CountryInfo
Constraints for a subset of channels in the AP's country
-
Field Summary
Fields Modifier and Type Field Description List<Country.CountryInfo>
constraints
Each constraint is a CountryInfo describing tx power constraints on one or more channels, for the current country.String
country
Countrystatic int
TYPE
Defined in 802.11 table 9-92
-
Constructor Summary
Constructors Constructor Description Country(String country, List<Country.CountryInfo> countryInfos)
Constructor
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
int
hashCode()
static Country
parse(com.google.gson.JsonObject contents)
Parse Country IE from the appropriate Json object.
-
-
-
Field Detail
-
TYPE
public static final int TYPE
Defined in 802.11 table 9-92- See Also:
- Constant Field Values
-
country
public final String country
Country
-
constraints
public final List<Country.CountryInfo> constraints
Each constraint is a CountryInfo describing tx power constraints on one or more channels, for the current country.
-
-
Constructor Detail
-
Country
public Country(String country, List<Country.CountryInfo> countryInfos)
Constructor
-
-