Package ai.nextbillion.maps.internal
Interface ApiResponse<T>
- All Known Implementing Classes:
DirectionsApi.Response,DistanceMatrixApi.Response,FindPlaceFromTextRequest.Response,GeocodingApi.Response,GeolocationApi.Response,ImageResult.Response,NearbySearchRequest.Response,PlaceAutocompleteRequest.Response,QueryAutocompleteRequest.Response,RoadsApi.RoadsResponse,TextSearchRequest.Response
public interface ApiResponse<T>
All Geo API responses implement this Interface.
-
Method Summary
Modifier and Type Method Description ApiExceptiongetError()TgetResult()booleansuccessful()
-
Method Details
-
successful
boolean successful() -
getResult
T getResult() -
getError
ApiException getError()
-