public class IPResponse extends Object
| Constructor and Description |
|---|
IPResponse(String ip,
String hostname,
String city,
String region,
String country,
String loc,
String postal,
String org,
String phone,
ASN asn,
Company company,
Carrier carrier) |
| Modifier and Type | Method and Description |
|---|---|
ASN |
getAsn() |
Carrier |
getCarrier() |
String |
getCity() |
Company |
getCompany() |
String |
getCountryCode() |
String |
getCountryName() |
String |
getHostname() |
String |
getIp() |
String |
getLatitude() |
String |
getLocation() |
String |
getLongitude() |
String |
getOrg() |
String |
getPhone() |
String |
getPostal() |
String |
getRegion() |
void |
setContext(Context context)
Set by the library for extra utility functions
|
String |
toString() |
public void setContext(Context context)
context - for country informationpublic String getIp()
public String getHostname()
public String getCity()
public String getRegion()
public String getCountryCode()
public String getCountryName()
public String getLocation()
public String getLatitude()
public String getLongitude()
public String getPostal()
public String getOrg()
public String getPhone()
public ASN getAsn()
public Company getCompany()
public Carrier getCarrier()
Copyright © 2019. All rights reserved.