public class Location extends AbstractRecord
Contains data for the location record associated with an IP address.
| Constructor and Description |
|---|
Location() |
Location(Integer accuracyRadius,
Integer averageIncome,
Double latitude,
Double longitude,
Integer metroCode,
Integer populationDensity,
String timeZone) |
| Modifier and Type | Method and Description |
|---|---|
Integer |
getAccuracyRadius() |
Integer |
getAverageIncome() |
Double |
getLatitude() |
Double |
getLongitude() |
Integer |
getMetroCode() |
Integer |
getPopulationDensity() |
String |
getTimeZone() |
toJson, toStringpublic Integer getAverageIncome()
public Integer getPopulationDensity()
public String getTimeZone()
public Integer getAccuracyRadius()
public Integer getMetroCode()
public Double getLatitude()
public Double getLongitude()
Copyright © 2016 MaxMind, Inc.. All Rights Reserved.