Package com.google.maps
Class GeolocationApi.Response
- java.lang.Object
-
- com.google.maps.GeolocationApi.Response
-
- All Implemented Interfaces:
com.google.maps.internal.ApiResponse<GeolocationResult>
- Enclosing class:
- GeolocationApi
public static class GeolocationApi.Response extends java.lang.Object implements com.google.maps.internal.ApiResponse<GeolocationResult>
-
-
Constructor Summary
Constructors Constructor Description Response()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApiException
getError()
GeolocationResult
getResult()
boolean
successful()
-
-
-
Field Detail
-
code
public int code
-
message
public java.lang.String message
-
accuracy
public double accuracy
-
location
public LatLng location
-
domain
public java.lang.String domain
-
reason
public java.lang.String reason
-
debugInfo
public java.lang.String debugInfo
-
-
Method Detail
-
successful
public boolean successful()
- Specified by:
successful
in interfacecom.google.maps.internal.ApiResponse<GeolocationResult>
-
getResult
public GeolocationResult getResult()
- Specified by:
getResult
in interfacecom.google.maps.internal.ApiResponse<GeolocationResult>
-
getError
public ApiException getError()
- Specified by:
getError
in interfacecom.google.maps.internal.ApiResponse<GeolocationResult>
-
-