Class CountryRegion
java.lang.Object
com.azure.maps.geolocation.models.CountryRegion
The object containing the country/region information.
-
Method Summary
Modifier and TypeMethodDescriptionGet the isoCode property: The IP Address's 2-character code [(ISO 3166-1)](https://www.iso.org/iso-3166-country-codes.html) of the country or region.
-
Method Details
-
getIsoCode
Get the isoCode property: The IP Address's 2-character code [(ISO 3166-1)](https://www.iso.org/iso-3166-country-codes.html) of the country or region. Please note, IP address in ranges reserved for special purpose will return Null for country/region.- Returns:
- the isoCode value.
-