com.google.maps.internal.ApiResponse<GeolocationResult>
public static class GeolocationApi.Response extends java.lang.Object implements com.google.maps.internal.ApiResponse<GeolocationResult>
Modifier and Type | Field | Description |
---|---|---|
double |
accuracy |
|
int |
code |
|
java.lang.String |
debugInfo |
|
java.lang.String |
domain |
|
LatLng |
location |
|
java.lang.String |
message |
|
java.lang.String |
reason |
Constructor | Description |
---|---|
Response() |
Modifier and Type | Method | Description |
---|---|---|
ApiException |
getError() |
|
GeolocationResult |
getResult() |
|
boolean |
successful() |
public int code
public java.lang.String message
public double accuracy
public LatLng location
public java.lang.String domain
public java.lang.String reason
public java.lang.String debugInfo
public boolean successful()
successful
in interface com.google.maps.internal.ApiResponse<GeolocationResult>
public GeolocationResult getResult()
getResult
in interface com.google.maps.internal.ApiResponse<GeolocationResult>
public ApiException getError()
getError
in interface com.google.maps.internal.ApiResponse<GeolocationResult>